Namespace problem? I have a script that generates a report from a bunch of data I've been collecting for the past year. I ran the script, successfully, for several weeks on test runs and creating more detailed reports. Today (back from vacation) and the script doesn't work. It's giving me a name error. I'm running python 2.5.4 (... 2 Jul 2010 19:03
Packaging question My question is, why do the modules bar and foo show up in mypack's dir()? I intend for Foo (the class foo.Foo) and Bar (the class bar.Bar) to be there, but was not sure about the modules foo and bar. My big picture intention is to create smaller modules, but more of them (like I am used to doing with C++), and th... 2 Jul 2010 04:45
python ctypes to int main(int argc, char *argv[]) hi, i need to convert an application (fontforge) to a python library. yes, libfontforge is already done as is libgdraw (fontforge-pygtk) but i need to make fontforge the _application_ a python application, using the same ctypes trick that's already done. my question is, therefore, how do i specify a ctypes wra... 1 Jul 2010 18:56
Anyone using GPG or PGP encryption/signatures in your Python apps? Curious if any of you are using GPG or PGP encryption and/or signatures in your Python apps? In particular are you: 1. clearsigning specific emails? 2. validating clearsigned emails from others? 3. encrypting/decrypting files? 4. generating signatures for files that you are exchanging/posting for download? ... 2 Jul 2010 06:54
Python 2.4.2 Installation error On 07/01/2010 06:21 PM, Dhilip S wrote: Hello Everyone.. I'm using Ubuntu 10.04, i try to install Python 2.4.2 & Python 2.4.3 got error message while doing make command. anybody can tell tell, How to overcome this error.... Which error? -- with regards, Dhilip.S ... 2 Jul 2010 13:31
escape character / csv module string "\x00" has a length of 1. When I use the csv module to write that to a file csv_f = csv.writer(file("test.csv","wb"),delimiter="|") csv_f.writerow(["\x00","zz"]) The output file looks like this: |zz Is it possible to force the writer to write that string? ... 2 Jul 2010 09:04
Solutions for hand injury from computer use Ben Finney wrote: geremy condra <debatem1(a)gmail.com> writes: Right. I'm much more concerned about the position of my Ctrl key, to avoid hand injury from all the key chording done as a programmer. Not saying its a cure-all, but I broke my hand pretty badly a few years ago and had a lot of luck w... 1 Jul 2010 20:04
tp_richcompare vs tp_compare Hi all, just another question. Can anyone explain me whats the real difference between tp_richcompare and tp_compare? I read some stuff, but sometimes I believe the author doesnt know either whats the real difference or they forget it to explain. The Function definition looks very similiar, except the one accept... 2 Jul 2010 22:19
Extract doc strings Hi all, when I have a PyCodeObject, is there any way to extract a doc string from the code? For instance the following script <---script----> """ Hello World! """ def main(): pass main() </---script---> I would like to get "Hello World!". Any chance? Thanks in advance!! Bye, moerchendiser2k3 ... 1 Jul 2010 14:27
stupid question about html page hello with webbrowser i open the html or php etc page, how i can save the opened page with python? Thanks Luca ... 1 Jul 2010 09:57 |