| problems with decoding |
| Why do I get a "'ascii' codec can't encode character u'\\xe1'" when trying to do: term.decode('utf8')
Why is it encoding when I told it to decode?
And what is this about ascii? ... |
|
|
| is there something like phpinfo for python? |
| Hi. is there something like phpinfo() for python so one can easily see which components of turbogears are installed in which version?
My shared hosting provider now offers python and i'm considering ... |
| maximum recursion depth of Phyton |
| What's Python's maximum recursion depth? ... |
| trouble with using python dictionaries |
| Has anyone run into trouble using python dictionaries and having duplicate entries? ... |
| what is the better way to store? |
| I am writing a code that would take in a lot of command line arguments some of them are switches et. al. What is the better way to store all those command line options and pass them between different ... |
| how can i know that func named 'invokeapp' is exists |
| Hi, if I have a string, such as 'invokeapp', how can i know that func named 'invokeapp' is exists as well?
That is i wanna invoke any func by string.
But i need to chech whether that func was exist. ... |
| SafeConfigParser |
| Hi, did you know if SafeConfigParser is new in version 2.4 or 2.3 of python? because we found both information in documentation ... |
| Does zip always return a list |
| Does zip always return a list? ... |
| object outside of scope |
| Hey if an object goes out of scope, is it's __del__ function called? ... |
| how to execute code |
| How would I execute code? Such as System.exec() in Java? ... |
| setting the charset encoding |
| Hi all
How can i set the charset encoding of the output of my python applications? ... |
|
|
| IOError |
Anyone familar with this error: raw_input()
IOError: [Errno 9] Bad file descriptor
In console it works fine, but not in scite ... |
| how to take screenshots of the windows desktop from python |
| Any way to take screenshots of the windows desktop from python? ... |
| what langauge is the python interpreter written in |
| Hello, what langauge is the python interpreter written in? like it interprets python programs to binary? like i dont get it, wouldnt it have to have been programmed in another language? ... |
| setup python in the removable HDD |
| I have go a removable hardrive and it jumps between windows machines so i am wondering is there a python version i can install that dose not requier me to setup anything on each computer it jumps to? ... |
| compiler python 2.5 for windows |
| Anyone know which compiler python 2.5 for windows is compiled against?
I.e. will i be able to build extensions with vs2005 express? ... |
| module for python |
| Anyone knows a module does for python what Module::Find does for Perl ? ... |
| the preferred python/pgsql module |
| What's the preferred python/pgsql module?
Pgdb? pypgsql? psyco? ... |
| pySerial |
| Does anyone have experience with pySerial? ... |
| when a connection closes on a socket |
| How do i know when a connection closes on a socket?
How do i recv until it closes? ... |
| How can to find out if foo is an instance of class Bar |
| How can I find out if foo is an instance of class Bar? ... |
|
|
| counting the elements in a list |
| Hello
How do i count the elements in a list? ... |
| how to add a directory to python modules search path |
| Hello!
Is there a way to add a directory to python modules search path ? ... |
| how to check that window manager is running |
| How can one check that window manager is running? ... |
| how to disable the command prompt window |
| Is there a way to disable the command prompt window from showing up when running a wxpython script ? ... |
| reading line from a file |
| If i have an integer, and say for example that integer is 500, how do i tell python to read line 500 from a file? ... |
| how to retrieve the name of a file |
| Anyone knows if it is possible to retrieve the name of a file created with os.tmpfile()? ... |
| pythonic way of creating a curried function |
| What's a pythonic way of creating a curried function?
Say I have a function that expects a function of one paramter, and I have a function of two parameters.
I'd like to bind one of the parameters of ... |
| using standard comparison operators |
| Can times in struct_time format be compared (newer/older) by using standard comparison operators like <, >, etc? ... |
| changing of a string |
| Hello, I have a list of strings and need change each string the same way, there are four different changes I need to apply. Right now I append each changed item to a new list. Is there a better way? ... |
| whitespace from the outside of a string |
| How do i trim whitespace from the outside of a string, like any whitespace at the start or the end ... |
| how to write down all defined variables to a file |
| Can you have python write down all defined variables to a file? ... |
| troubles with unicode |
| Hi guys. I got some problems with parsing a xml file while running a script on both linux and windows. Should I save the file as utf-8 on both platforms? ... |
| how to check how many objects are in a tupel |
| Is there a way to check how many objects are in a tupel?
Is there an existing procedure, or shell i do it in a short for-loop? ... |
| how to print to a file |
| I have to print "hi world" to a file - how do I do it? ... |
| error |
| Unindent does not match any outer indentation level ? it means what ?
I'm getting error and i can't spot it lol ... |
| python and progress database |
| Anyone work with python and progress database ? ... |
| how to save something in the Python IDLE |
| So, is there a way to save whatever I have in the Python IDLE? ... |
| what is python used for |
| What is python normally used for, business modeling? ... |
| GUI IDLE saving data |
| In python GUI (IDLE) can I "save" all data?
Like all variables i've assigned and all?
(to load later after a reboot) ... |
| Anything simpler for GUI than tkinter? |
| Hi
This tkinter stuff is crazy complex for stupid stuff it seams.
Anything easier out there? ... |
| python panel |
| anybody know something more about a python panel? ... |
| the easiest way to make a very simple GUI for python script |
| Whats the easiest way to make a very simple GUI for a python script? ... |
| old style class |
| Hm, is there some way (hackish or otherwise) that i can build an old-style class from a new-style class that either inherits or somehow "gets" all of the functionality of the new-style clas ... |
| sort the tuples |
| I have a list of tuples where the first tuple item is always an integer and I would like to sort the tuples within the list according to the value of that integer, any pointers please? ... |
| one liner solution for changing a list |
| Is there any quick one-liner solution for changing a list of [1,2,3,4,1,2,3,4,...] into [[1,2,3,4], [1,2,3,4], ....] (ie. group the list into sublists with four values)? ... |
| exit function |
| What's the command to just exit the program? ... |
| cgi script |
| Hi
Is there a way to cause a cgi script to tell the client that the page is complete, and yet continue to effect some sort of processing?
I have a page that needs to run for like 30 seconds, but th ... |
| python database libraries installed on windows |
| Does anyone know of any python database libraries that can be installed on windows ... |
| How file reading on phyton works |
| Hello
I was thiking lately
I have a doubt about how file reading on python works... if i open up a file for reading and writing, i m accessing the file direct in the harddisk... is this how it work ... |