Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
Online Shopping
:
Computers
:
Programming
:
Languages
:
Python
: Common Problems
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
Arrays
(2)
C/C++ Code
(14)
COM
(7)
Code Execution
(2)
Data Structures
(6)
Database Access
(14)
Date / Time
(6)
Debugging
(6)
Email
(10)
FTP
(2)
Files
(16)
IDLE
(2)
Images
(10)
Iterators & Generators
(1)
Lists
(27)
Maths
(11)
PythonWin
(7)
Regular Expressions
(4)
Shell Scripts
(6)
Strings
(29)
Threads
(14)
Web Programming
(20)
X Windows
(2)
XML
(3)
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
Noob asking: How do I get a program execute a random function?
How do you show the differences between two lists? Ex: range(0,5) & range(2,4)=[0,1,4]
Searching a dict and placing into variables?
How do I loop through a list 4 sequential objects at a time?
Is it possible to convert a string to a list, using each character as a new list item?
Random Questions
How can I convert a hex number to a string?
How can I read and interpret email attachments using Python?
Is there a function that deletes n chars from the left/right of a string?
How can I convert a hex number to a string?
Why is s[a:a] always '' (empty)?
How do I find out the name of my script?
Is there a recursive glob?
Is there a simple cgi module for Python that can do redirect?
What are the keys for auto-completion? ie. selecting one item in the scrollbox with a keystroke?
How can I extract just the links in a web-page or html-document?
How do I copy one object into another without having them refer to each other?
Is there a pre-written script that will provide either a tar+gz or PkZip like functionality on top of ZLIB?
Is there an easy way of accessing the registry from within Python?
How can I import constants from one module to another without explicitly listing each constant?
Is there a function in Python for converting Latin-1 to UTF-8?
How can I use a proxy (I'm behind a firewall) to get HTML pages from the net?
Is it possible for a program to bind to a socket when that socket is already bound to another application to monitor i/o?
Is there a way to launch an OS specific command argument w/ Python?
How do I place a newline into the win32file.WriteFile (wHandle, string) method?
When a method has a boolean return, and two output-params, how do I call it?
What is the preferred way to modify an existing behaviour? Modifying inherited methods.
How can I link python code to a GUI interface generated by Glade or GTK or whatever please?
How can I find out the father class of a given class?
Is there any way to set a time-out interval when reading URLs?
Is there any way on NT that I can use a function such as "flock()"? On unix, it seems "fcntl" module is available.
How can I reload things imported with 'from HUGO import *'?
How do I set environment variables in a Python script that is to be run on an Apache server?
After setting environment variables in a script will they be changed after running the script?
How can I convert an integer to a string containing the bytes for that value?
How can I present output from md5.digest like md5sum from GNU textutils?
Can I create a rpm with only pyc files or do I need the py file also to make package distrubution?
Can I take pyc file to different computer and will it run?
I update a class with 'reload (module)'. How can I update the instances too?
How come the global declaration works when I define it from within the interpreter, but not from within a file that I import?
(win32api) how to enumerate processes?
How can I find the total size of a directory on my NT machine?
How can I free a port that has been used by a python server?
Is it possible for Python to call commands, e.g. "find, perl scripts, nmap, and others"?
Is there an easy way to do user input in python?
Is there a version of Python that runs well on Windows 2000 Server?
Is there a way to conditionally pause a loop until some event (button press) takes place?
Is there a site that lists what functions and or libraries are available?
Can I transform pyc files to py files?
How would I check to see if an object is an instance of a socket?
What simple (Linux) Python code can be used to set the baud rate of a serial port?
Where can I get good Tutorials about JPython?
VBScript is excellent for integrating with ADO (Active Data Objects) databases. Is python as facile?
What type of sort is used for the internal sort function in Python (quick, merge, insertion, etc.)?
Where should I put my HTMLgen directory?
How do I add a path to sys.path?
I have an ascii string like 0C44DH. Is there a Python function to convert it to decimal?
Is getstatusoutput() the prefered method to run os commands from within a python script or is there something more generic?
How can I find out how much memory a remote computer has installed? The computers are on the same NT network and have the same login.
How do I create a fully stand alone programme to put on systems where python is not installed?
I'm trying to get a user's username and password but by using raw_input() the password is echoed to the screen. How can I make it so that their password isn't shown?
How can I convert a hex number to an integer?
Is there a help or man function, like in unix-like OS, that we can use to describe any function of python?
Has anyone created typemaps for SWIG for Microsoft __int64 to bind them to Python long ints?
Is it possible to configure emacs so that it automatically starts in python mode when opening a file *.py?
Is is possible to dynamically add methods to classes in Python?
Is there any way, other than using the curses library, to check if a key has been pressed, and if so, which one?
Is there any way to prevent curses.initscr() from messing w/ normal prints?
Can I initiate script B at the end of script A?
What are the contents of .pyo file?
When is a .pyo file generated?
What is a .pyo file used for?
Is there a way to differentiate between WinNT and Win9x using Python?
Is there any way to control the function that is used during an 'in' search?
How to change class instances behavior via reload?
How can I access a method with variable amount of parameters?
What is bbox? In the context of the PhotoImage put(data, bbox).
How can I concatenate external files (all the little *.htm files in a directory) into one big file?
When executing a command with os.system how can I capture the output into a python variable?
Is there a way of making a MS-DOS box recognise the Python script as an executable file so I can just use the name "script.py"?
How do I return a user's login name who is logged on at a PC?
Is it possible (on Win) to send commands to a DDE server (in my case it is ACDSee.exe) from python?
How can I control input and output to the screen other than the print command?
Is there a utility to convert module docstrings to HTML for nice documentation?
How can I do this Perl paragraph mode in Python? $/ = ''; # paragraph mode
Is there anywhere I can get a list of the commands for python?
Is there a command/function in python to put a delay or wait step into a program?
How can I ring the PC's bell (ie internal speaker) to alert the operator that an operation has finished running?
How do I use Windows API in Python? With an example please.
Is a compiler available anywhere for python for win32?
How can I enumerate drives (local and network) in Python?
What Python code can I use to find all the network ports that are in use on a server?
Is there any way to find the mount point of a filesystem given the path to a file within the file system?
How do I import a file that isn't in the pythonpath?
How can I call an .exe file from inside a .py file?
How do I go about getting my dynamic IP address?
Is there a way how I can identify the operating system my Python script is running on (e.g., Linux, Windows, Mac, ...)?
Searching an example on how to use configparser in python?
How can I make it so the interpreter defaults to hexidecimal output?
Any pointers on using Python with CORBA?
Are there any current SSL libraries for 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++?
How can I change the Proxy Setting in MSIE from python?
Can I run python code with files that don't end with the python extensions(.py and others)?
Can someone please point me to link(s) to python modules dealing with cryptography e.g ssleay or open ssl wrappers?
How can I hold x,y,z coordinates in a multi-level grid?
How can I map the read() function of a file object?
Does anybody know of a compiler for python?
Does anyone know how to read the PCI configuration space with Python under Win 98 or Linux?
How can I connect to a Windows DDE Server via Python?
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)
Specifying a proxy server to be used for httplib?
Is there a way to create variables on the fly, like in a loop?
Does the httplib support Keep-Alive Connection?
How would one go about preventing output of a program called through spawnv from getting printed to the console?
How do I get those nicely formatted values that these programs show which indicate total and current bandwidth?
Embedding the Python interpreter in a Windows app
Can python be embedded in a fortran program?
How can I decompile a python PYC file to see the source?
What's the tip to highlight the syntax with python-mode in emacs?
Is it possible to implement timeout on read?
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?
Is it possible to get the reference count of a PyObject* object?
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.
Is it possible to determine the name of the currently executing function?
Can I implement access control in my classes (equivalent to C++'s private, public, protected, etc...)?
How do I do do simple interpolation using NumPy?
How do I pass on keyword arguments in a function?
What is the exact purpose of fileno()?
Is there an easy way given an internal webpage to cycle through all the links on the page and find which ones are broken?
How can I find all the names a given thing is known under?
How can I print to a windows printer from a Python application?
How do I make the core loop of my program run faster?
How do I envoke an external program from a python script
How would one implement (in Python) something similar to C's "enum" type?
how to pass arguments for a function in a command line
How can I do to list files in a dir sorting for date?
How do I delete one specific list item?
How do I empty a list?
Searching a dict and placing into variables?
Noob asking: How do I get a program execute a random function?
Unanswered Questions
Can I run a script in an already running interpreter to hook a gui to a server process?
is there a module that can access the MCI on pythonWIN (e.g. using the function mciSendString)
What is the quickest and easiest (and most basic) way to make a window? What about a confirm dialog?
How to print a jpg file with python
how can i find the shortest route from one city to onther using dictionary in python(give an example
Stuck in a loop, variablevalue not changing
Installing Python in Window NT Issues