Knowledge Base Contributions
Below is a list of the knowledge base entries that unknown unknown has contributed to:
Page: 1 2 3
- Why don't I receive email alerts anymore? Haven't change or stopped them.... I wonder if I'll get this one...
- How do I check and retrieve the error conditions & message of script executed via the Python/C API (without using PyErr_Print)
- How can I get my _full_ program name (eg. "mylongpythonscript.py") under eg. NT? sys.argv[0] gives me the truncated MS-DOS style, "MYLONG~1.PY" etc.
- How do I change the name of a process (as viewed by 'ps') from Python?
- Python's big, is there a crisp overview? a quick reference card? a bare bones documentation?
- Is there an easy way given an internal webpage to cycle through all the links on the page and find which ones are broken?
- What is the exact purpose of fileno()?
- How do I pass on keyword arguments in a function?
- Setting Focus in Pmw.Dialog
- Is there any way to set the initial seed for the Gaussian random number generator function "gauss"?
- Python routine to remove blank lines from a text file
- How do I set the default font for a window and all its widgets?
- How do I get the full pathname of a module? Let's say I use 'import' to load a module. How can I find the location of its *.py or *.pyc file?
- How can I get the size of a file in python?
- Could anybody tell me the command to build a 2D array?
Could anybody tell me the command to build a 2D list?
- How do I get the actual error message from a com_error?
- How can I print <!--#include file="header.inc" --> exactly as it appears on a web page (no HTML coding) in DTML without Zope cribbing about tags are not good?
- How do I do do simple interpolation using NumPy?
- Is there a simple way of displaying an error message dialog box in Tkinter?
- How can I get a file's permissions?
- Is there a python script similar to shelve or pickle that will take an array and convert it to XML code?
- Can I implement access control in my classes (equivalent to C++'s private, public, protected, etc...)?
- What is File-like Object?
- Is it possible to determine the name of the currently executing function?
- Is it possible to get the declaration of the argument-list of any function in the python engine? just like it is possible to get the func_name or doc-string.
- How can I convert a gif image to a bitmap representation of it?
- How to "expire" a web page with Python ?
- Is there any online reference document which summarizes/discusses all Tkinter events?
- How do you insert a word-wrap of 80char into a string?
- If we have array(1,2,3,4,5) how can we add the values of the array eg this example =10
- Is there a way to set a Tkinter window (Tk or Toplevel) to be at a certain position on the screen?
- How can I make a tkinter window unsizeable?
- Is it possible to get the reference count of a PyObject* object?
- How can I create compressed tarfiles, ie. lots of files inside a compressed file, using either the tarlib.py or tar.py ( found in Zope and gzip and/or zlib?
- How can I make a frame no-resizeable in wxPython (wxWindows)?
- How do I process form variables?
- How can I get a message's flag (Unread, Seen, Reply...) using Imaplib?
- Converting a html table to a tree.
- Is there a way to obtain sub-second times in Python (at most to the milli-second)?
- How can I generate long (uniformly distributed) random integers?
- Is there anyway to bind a canvas to key events?
- Does anyone have any swell way to display a tree structure?
- Is it possible to implement timeout on read?
- In Tkinter, can you connect a scrollbar to 2 objects?
- How do I perform an os.popen() on NT?
- What's the tip to highlight the syntax with python-mode in emacs?
- "event.widget" and "event.type" return numerical values. How can I relate these numerical values to the name of the widget?
- What is the best (fastest) way to strip new line characters from a string in Python?
- How can I decompile a python PYC file to see the source?
- How should a sortable sequence be implemented?
Keyed Tree as sorted sequence: Slice & Key access?
- Can python be embedded in a fortran program?
- What is the name of the file that contains the color definitions for Tkinter (like 'rosy brown', etc.)?
- How can I replace the contents of a listbox with a new list of items?
- What's the difference between manage_changeProperties and manage_editProperties?
- Embedding the Python interpreter in a Windows app
- If I have written something that uses COM to hook up Python to VB, how packageable will it be?
- From within a function, is there a way to determine what the parent of a calling widget is?
- How do I get those nicely formatted values that these programs show which indicate total and current bandwidth?
- When I start Python 1.5.2, I get the error: Built-in exception class not found: EnvironmentError. Library mismatch?" Any ideas on solving this?
- How can I generate a string with 42 zeros, not the ASCII value but the REAL thing - (0x00)?
- Does anyone know of any wxpython tutorial / good medium sized program to learn from?
- How do I count the 'children' of any one onject?
- What's the best way to check if self.REQUEST.form.get('int_field') just contains numeric data in an external method?
- Are there any limitations for placing large (say 15 MB) files inside zope databases?
- How can I automatically update my ZCatalog when items have been added/modified/changed?
- How can I convert an ascii formatted date into integer time in seconds since 1970?
- How would one go about preventing output of a program called through spawnv from getting printed to the console?
- Does the httplib support Keep-Alive Connection?
- How can I determine the number of characters in a string?
- Are circular package references allowed in Python?
- In tkinter, how do you change a widget's parent?
- How do I create a popup window with text?
- How can I check for read only files?
- How do I get 2 copies of PythonWin to run at the same time?
- How can I create a button that remains 'pushed' when pressed and is released when pressed again?
- Aside from the stop option, is there a way to clear all email alerts simultaneously?
- How can I 'release' a previously unanswered question to an existing answer?
- Is it possible to integrate JPython and Pythonwin??
Is it possible to integrate JPython and Pythonwin?
- How can I query 2 MySQL databases on 2 different hosts (I have to join 2 tables on 2 different db)?
- Is there a way to create variables on the fly, like in a loop?
- Specifying a proxy server to be used for httplib?
- Does Python distinguish between double and single quotes in any way?
- Using SendMail, how can I include HTML in the body of the mail?
- Is there a way to log out of Zope without presenting a netscape dialog or killing the browser?
- How do I take an int, which represents an IP address, and convert it back to dotted quad format? (in C, it's inet_ntoa)
- How can I connect to a Windows DDE Server via Python?
- Is there an easy way to increment the month or year of the DateTime object?
- How is it possible to create "show DTML-Source"-link like on some sites on zope.org?
- What is the best method to enter more attributes about DTML Document?
- Does anyone know how to read the PCI configuration space with Python under Win 98 or Linux?
- What is the difference between 'import Tkinter' and 'from Tkinter import *'?
- Is there an easy way to simulate the functionality of a while loop in DTML?
- How can I get the Zope tutorial to work?
- Benchmarking between Zope and Tomcat
- Does anybody know of a compiler for python?
- How to build arbitrarily-sized lists in one fell swoop?
- Searching an example that has multiple threads write to the Queue object?
- How can I determine the number of threads that are running?
- Embedding Python code in a C++ program, I get dynamic linking errors if I try to import any non-built in module, what's wrong?
- What is the fastest way to search a binary file for a certain byte pattern (**** in my case)?
- How can I map the read() function of a file object?
- Manipulating PNG files using Win32 PIL
- How can I use a personal Python object in Zope?
How can I display (in html page) the results from a Python function?
- Where can I get performance statistics for Zope?
- Using Zope 2.2 and jcNTUserFolder 0.0.7. I installed a top level NTUserFolder and now I cannot login as superuser (or any user for that matter).
- How can I hold x,y,z coordinates in a multi-level grid?
- Can someone please point me to link(s) to python modules dealing with cryptography e.g ssleay or open ssl wrappers?
- Can I run python code with files that don't end with the python extensions(.py and others)?
- How can I change the Proxy Setting in MSIE from python?
- Is there a way to get input not echoed to the screen in Python, as in the non-standard functions kbhit() and getch() in C and C++?
- I'm running ZOPE with administrator privileges, when I try to create any objects I get an error message.
I log on as a superuser, when I try and make a new folder I get a Zope Error, why?
- Is there a way I can grab the time value on my current system that Zope is running on with a MILLISECOND precision?
- How does one call a stored procedure from ASP?
How do I pass a stored procedure parameters?
- How do I stop a script once it has been executed in a browser?
- How can I store an array in a session variable?
How can I store an array in a session variable?
- Does one need to do a certain setup on a IIS server for remote scripting?
- Will I gain performance by using the OBJECT tag?
Which method is preferred, using the <OBJECT> tag to "create" the objects rather than the usual Server.CreateObject?
- What is the proper syntax if I have a date stored in a variable called strDate and I want to add one day to that variable?
- What is the most efficient way to print the date in this format: June, 27, 2000?
- Does anybody knows have a routine to calculate the date-time difference?
- What ASP functions are available for doing date calculations?
- How can I set a cookie so that it never expires?
- Searching an example of concatenation.
- Where can I get a sample on how to make a simple com componet to use in an application?
- How do you check to see if a variable is a digit/integer, character etc.?
- Where can I find all these characters? (tab, space, carriage return)
- Where can I get CDO mail?
- In Netscape how do you manipulate spaces in querystrings?
- Is there a shortcut method for capitalizing the first letter of a word?
- How can I upload a File to a Web Server.... via ASP?
- How can I use Excel charts in a web page to display poll results etc?
- How to auto detect the screen resolution?
- Is it possible to send commands to the OS using ASP?
- How do I set a session variable from within Python? All the obvious ways seem to not work.
- How can I change the text on a label? When I use the variabletext=whatever thing, the label wont show up.
- Where can I find some example python/tkinter code? Some examples of how to use all those widgets would be useful.
- I want one thread to wait for one or more other threads to terminate.
- Why is my pipe i/o thread blocking the other threads? Any answers?
- Are there any current SSL libraries for Python?
- Anyone know how to use the font measure() thing in tkinter?
- Any pointers on using Python with CORBA?
- I'm looking for an ODBC client package to Informix and SQL*Server which API is identical in Windows and Linux.
- Is there a way to make a text box uneditable by the user, but insertable ( insert(END, 'schweet') ) by the application?
- Is there any way to shell out to a program and return whatever is printed to stdout rather than the exit status?
- I can't get my column with text as the datatype, to save more than 10 characters.
- Searching a stress test utility to do stress testing on my web site.
- How can I use a vb script variable in a javascript function?
- What does DIM stand for anyhow?
- How can I create Dynamic Tables in SQL SERVER 7.0?
- I want to create a table using sql statement, what is the correct syntax for a boolean field?
- How can I add NOW() plus 30 minutes?
- What is the procedure to deploy an SQL database on a remote web server?
- Has anyone done any tests into the speeds of DSNless connections vs. connections routed through ODBC?
- How can I identify what browser the client is using?
- Does Python support any sort of floating point "not a number" (e.g. IEEE infinity)?
- How can I make it so the interpreter defaults to hexidecimal output?
- grouping in regular expressions
- What does PHP stand for?
- Example: To create a new object you must supply an addForm and a method to add the product.
- installing Zope 2.2.0b4 via CVS
- When Saving changes from a version are the notes entered in the text box logged anywhere?
- How can I deactivate HTML tags?
- Using Zope, can I obtain the current exchange rates for the yen, mark, etc. at least once a day, preferrably every other 15 minutes?
- Installing PyOpenGL on Linux
- Is there a way to position child widgets on a TopLevel widget using absolute coordinates instead of using pack, place or grid?
- Tthe ^-key kills build 132 immediately, when using the German keyboard layout. How can we stop that?
- Working with the new Build 132 of Pythonwin the German Umlauts are not handled properly in the editor windows. How can we fix this?
PythonWin does something strange with the Norwegian character å. How can I fix this?
- Where can I get the source for all of the built-in methods, types, etc.?
- Searching an example on how to use configparser in python?
- Is it possible to disconnect the RecordSet and use the Rs.Update method later in the code? Or do I need to reconnect.
- How do I copy a file using FSO?
- Is there a vbscript function (or some other way) to get the count of an item in a string?
- How can I check if a file exists (on the server in the current directory)?
How can I append an existing text file?
How can I create a text file using ASP?
- Is it possible for me to store the result of a query in a variable?
- I'm searching an example of submitting a form to itself to do a DB update?
- How to access methods or queries in the parent's parent's parent's subfolder?
- I want to update from Zope 2.1.6 to 2.2.0. Is there a way to copy my contents to the new version or do I have to start from the beginning?
- Using Zope and PostgreSQL, Zope returns a variable with a space at the end. How can I prevent this space being returned?
- Is there documented anywhere, simple instructions for creating a full site search by keyword?
- Using dtml how can I cat the values of parameters, all strings, in a form to another parameter in the same form?
- How does python invoke external C function?
- Is there a way how I can identify the operating system my Python script is running on (e.g., Linux, Windows, Mac, ...)?
- Searching code for parsing mail headers encoded according to RFC 2047 (Message Header Extensions for Non-ASCII Text).
- I'm writing a script that will act as a GUI interface to another script, and I want to have file browsing ability. How do I call this in Tkinter?
- Can I run a script in an already running interpreter to hook a gui to a server process?
- How can I call an .exe file from inside a .py file?
- Where can I find a DB-API connection to Sybase?
- Can I create a directory on a web server and/or in another server using ASP?
Shopping Cart
- Is there any way I can prevent pythonwin(scintilla) from reading the method names of a specific class
- How can I count the occurrence of characters in a string?
- Is there a way to list session variables?
- What is the different between Do..While .. Loop and While ... Wend
- How can I justify text within a page? As opposed to left, right align.
How can I justify text within a page?
- How can I put server side variables into a client side script? An ASP generated array into the likes of JavaScript and DHTML.
- How can I get rid of the header (title, page number) and footer (URL) of an htmlpage when I print?
- What is UnboundLocalError for?
- Is there anybody who has worked on wbmp converter image from any other format in Python? If yes, where can I find it?
- Is there a Python module that would allow me to easily parse and format vCards?
- How do I import a file that isn't in the pythonpath?
- How can you check on the status of a file's "archive" bit, on DOS-type platforms
- How can I compare two strings in a case-insensitive way?
- How can I create a wxBitmap image from a Python Imaging Library (PIL) image?
- Is there any way to find the mount point of a filesystem given the path to a file within the file system?
- Can I use python to access web (eg.yahoo) email account?
- What Python code can I use to find all the network ports that are in use on a server?
- What is the difference between the calls PyObject_GetAttr and PyObject_GetAttrString?
- How can I enumerate drives (local and network) in Python?
- What's the Python equivalent for C's #include "myfile.h"?
- How do you read from / write to the system clipboard from Tkinter?
- Problem loading FileSystemObject files into an array
- Where can I find information about how to get IIS SMTP's mail running when Exchange is also installed on the same box?
- How do I populate a combo box with values from a table in a database?
How can I populate e.g.5 drop-down menu all refering to the same table in database? Use a function?
- How do I use Windows API in Python? With an example please.
- module for continued fractions, useful for finding optimal fractional approximation to real numbers
- Is there anyway to determine whether a browser can accept cookies?
- How do I pass asp variables to javascript?
- How can I generate a random number?
- Where can I find a program to handle GMT conversions?
- How can I connect to an Access database using ASP?
- How can I ring the PC's bell (ie internal speaker) to alert the operator that an operation has finished running?
- Is there anywhere I can get a list of the commands for python?
- How can I do this Perl paragraph mode in Python? $/ = ''; # paragraph mode
- How can I remove a number of items from a list using a loop?
How can I modify a list while traversing it in one pass?
- Is there a utility to convert module docstrings to HTML for nice documentation?
- Can I migrate an application using IIS4 and ASP with calls to ActiveX and OCX controls to PHP?
- How can I control input and output to the screen other than the print command?
- Is it possible (on Win) to send commands to a DDE server (in my case it is ACDSee.exe) from python?
- How can I convert a hex number to a string?
- How do I convert a string to hex?
- Why do some strange characters appear instead of norwegian characters in GUI of pythonwin build 132?
- Removing duplicate elements from list
- Uploading a binary file with ftplib
- Scanning folders for new files
- Resizing a canvas
- Log file window (was: tail -f with Python/Tkinter)
- Increasing dict values
- Indent triple-quoted strings
- Cutting off trailing zeroes
- Sorting tuples
- Converting two lists to dictionary
Converting two lists to dictionary
- Nested dictionaries
- Mixing HTML and Python
- Reading plain text database tables
- "Safe" dictionary
- Sorting dictionary keys
- HTMLizing text
- HTMLizing text
- Removing null items from a list
Why not just loop through the list, test for false, and if false remove from the list?
- Starting browser from Python (was: Need help with HTML files)
- Sorted dictionary (was: Alphabetized dictionary listings)
- Two lists -> dictionary
Two lists -> dictionary
- Joining strings
- Joining strings (was: string.join() vs % and operators)
- Pack, unpack format strings
- Refreshing windows in Tkinter
- Infinite lists
- Typed list
- Determining which object was clicked
- Disabling Tkinter window manager
- list.without()? (Removing element from list)
- Button with GIF image
- Pop up menu
- Bidirectional communication through pipes: read/write popen()
- Tkinter: Shrinking an empty frame
- win32api -- long vs short filenames
- IDList
- Choosing random numbers with weights/probability?
- Choosing random numbers with weights/probability
- Converting two lists into one dictionary
Converting+two+lists+into+one+dictionary
- Multi-node tree
- LongRan - Long random number generator
- Lambda calculus interpreter (was: Turing compliant?)
- Left, right string functions
- Making list with predefined value
- Intersection of multiple lists/lists of lists
- User class for connecting to MySQL database
- SQL class for connecting to MySQL database
- Connecting to Oracle database
- Connecting to gadfly database
- List changes algorithm [see snippet for explanation ;-]
- Opening URLs
- *Not* matching strings ;-) (was: re help)
- Drag & drop example
- Dictionary lookup over the web
- Detecting own computer's IP
How do I go about getting my dynamic IP address?
- Bi-directional dictionary
- Scripting MS-Access from PythonCom
- Opening more than one file
- Choosing random numbers with weights/probability?
- Sorting a dictionary by its values
- Hello world in Tkinter (was: GUI's)
- Can I get the output of the uuencode() function into a string, instead of a file or stdout?
- Resuming with ftplib/httplib?
- Writeable dictionary
- [Tk] ScrolledText example
- A sorted list
How can I create a list which is maintained in sorted order?
- Opening more than 1 file
- Identifying callback button?
- Handling backspace chars in a string...
- File handles and streams
- Expanding a filename
- Timed events in Tkinter (using after)
Where does 'after' come from???
- Weak dictionary
- Decimal precision (rounding)
- Query system date
- Getting tables from HTML
- Restricted list
- Grid (possibly scrollable) in Tkinter?
- Two-dimensional arrays
- Display time as English sentence
- Taking input from HTML form (CGI)
- Approximating elliptical arc
- Approximating x in function
- Reversing long integers
- Translating text file into preformatted HTML
- Process and replace file contents
- Process text in and around regular expressions
- Translate text into HTML
- Extracting data from HTML documents
- Perl-like variable substitutions in a string
- Handling backspace chars in a string...
- How fast can we multiply?
- Directory of current file
- How can I count the number bits in a number?
- TopSort in Python?
- Parsing FTP directory
- How do I hide my key typing while entering a password?
- string.join() vs % and operators
- Efficient list subtraction
- How do you keep track of elements of "ravel"ed Numeric arrays
- Opening more than one file
- Reversing long integers
- Tk: Binding to the pressing of modifier keys *by themselves*
- Looking for URLs in HTML text
- Matching informal URLs in plain text
- Directory of current file
- How can I define a 2-dimensional array of integer values?
- Cloning and destroying windows in Tkinter
- Finding nested expressions in regexs
Page: 1 2 3