Installing pysqlite on Win64
Dear All, I want to install pysqlite on my Windows 64 bit machine. I have python 2.4.3 on it. Would you please let me know how can I do it? That is, I need to use the source file (i.e pysqlite-2.5.6.tar.gz) or there is an executable file to install. Thank you in advance. Regards, Navid -- http://mail.python.org/mailman/listinfo/python-list
import a module in a destructor of a class
Dear All, I have a python module named "book.py" I want to import it in a destructor of a class. class Excel: def __init__( self, ... ): . . . def __del__( self ): import book but I got error. Would you please help me? Can I import a module in a destructor? Thank you in advance. Regards, Navid -- http://mail.python.org/mailman/listinfo/python-list
PIL
Dear All, I want to convert a .png file to .xpm using PIL. I used the following command: Image.open( "t1.png").save("a1.xpm"). But it doesn't work and I could not convert it. Would you please help me and let me know that how can I convert/save .xpm files in PIL. Thank you in advance. Thanks. Navid -- http://mail.python.org/mailman/listinfo/python-list
store .png file in a script
Dear All, Would you please let me know that how can I store a .png or .gif or .jpg file, in a python script? Thank you in advance. Navid -- http://mail.python.org/mailman/listinfo/python-list
scope
Dear All, I have the following two methods in a module. I cannot put them in a class, as the code is a complicated one. def a(num): found = num in Numlist print found def b(): scop = {} scop['Numlist'] = [1,2,3] scop['a'] = a exec("a(3)",scop) How can I access the "Numlist" inside the method a, without using classes or defining Numlist as GLOBAL? I prefer using scops in this problem. Is there a way? Thank you very much, Navid - Looking for last minute shopping deals? Find them fast with Yahoo! Search.-- http://mail.python.org/mailman/listinfo/python-list
File Info
Dear All, Would you please tell me if there is another function instead of stat that gives the same information ( such as the size of the file) but faster? Thank you in advance. Navid - Looking for last minute shopping deals? Find them fast with Yahoo! Search.-- http://mail.python.org/mailman/listinfo/python-list
Process Id
Dear All, Would you please help me to find a way to get the list of all processes id on the machine along with their parent processes. Thank you in advance. - Never miss a thing. Make Yahoo your homepage.-- http://mail.python.org/mailman/listinfo/python-list
existence of a program
Dear All, Would you please tell me that how can I check for existence of a program (for example Perl) on Windows and Linux by a Python code? Thank you in advance. Navid - Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.-- http://mail.python.org/mailman/listinfo/python-list
standalone module
Dear All, I want to create a standalone program ( an exe file ) from my python files which works on Windows and Linux. Could you please tell me how to do that? Thank you in advance, Navid - Got a little couch potato? Check out fun summer activities for kids.-- http://mail.python.org/mailman/listinfo/python-list
standalone executables
Dear All, I need a reference to get all the programs which used to package Python programs into standalone executables files. Would you help me? Thank you in advance. Navid - Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.-- http://mail.python.org/mailman/listinfo/python-list
CPU usage.
Dear All, I want to get the CPU usage in my code. Is there any module in Python to get it? Also I want to get in on Windows and Linux. Thank you in advance. Navid - Ahhh...imagining that irresistible "new car" smell? Check outnew cars at Yahoo! Autos.-- http://mail.python.org/mailman/listinfo/python-list
CPU usage
Dear All, I want to get the CPU usage in my code. Is there any module in Python to get it? Would you please help me? Thank you in advance. Navid - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.-- http://mail.python.org/mailman/listinfo/python-list
Exception
Dear All, When an exception occurs in a Python Qt application and it is not caught, an error message is printed to stderr and the control is given back to the event handler (similar to the interactive Python session). The resources allocated before the error occurred is not flushed, but rather kept with the traceback information. The only way to release these is to call sys.exc_clear(). Is there a way to force sys.exc_clear() to be called automatically upon writing the error message? Thank you in advance. Navid - Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.-- http://mail.python.org/mailman/listinfo/python-list
Exception
Dear All, When an exception occurs in a Python Qt application and it is not caught, an error message is printed to stderr and the control is given back to the event handler (similar to the interactive Python session). The resources allocated before the error occurred is not flushed, but rather kept with the traceback information. The only way to release these is to call sys.exc_clear(). Is there a way to force sys.exc_clear() to be called automatically upon writing the error message? Thank you in advance. Navid - The fish are biting. Get more visitors on your site using Yahoo! Search Marketing.-- http://mail.python.org/mailman/listinfo/python-list
Exception
Dear All, Would you please tell me if there is a pysignal or method that called when an exception is occurred? (I don't want to use "try" method) Thank you in advance. Navid - Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A.-- http://mail.python.org/mailman/listinfo/python-list