First  |  Prev |  Next  |  Last
Pages: 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
Awful book warning: How to think like a (Python) programmer -non-working examples
On 2010-02-08 14:36 PM, Dave Peterson wrote: Page 7: Very first example doesn't compile: syntax error Pate 11: 2nd example: syntax error Page 12, printing digits: syntax error Page 13, printing a number: syntax error page 14, statements: syntax error This book was written for the 2.x versions of Pytho... 8 Feb 2010 16:48
Does anyone have a Python Logic Map/Flow Chart? (Example Provided)
Has anyone been able to come across a Python logic map or flow chart? An example can be seen here on the right: http://en.wikipedia.org/wiki/Usenet This would be very helpful for users. ... 8 Feb 2010 15:38
$$$$$ READ EMAILS & EARN CREDITS TOWARDS A LAPTOP !!!
READ EMAILS & EARN CREDITS TOWARDS A LAPTOP!!! EARN 5 FREE CREDITS FOR JOINING !!! http://ezlaptop.com/?r=715929 Simply read our e-mails, earn credits, and claim your laptop! All newsletters are sent to your EZLaptop inbox which is located in the member's area to ensure delivery each and every time ... 8 Feb 2010 15:38
setuptools/distutil and pywin32
Hi, I have a program which requires pywin32 as a dependancy and I'd like to make setuptools automatically retrieve it from internet and install it. My setup.py script looks like this: from setuptools import setup setup( ... ... install_requires = ['pywin32'] ... 8 Feb 2010 15:38
Create a backslash-escaped version of a string?
Hello, I'd like to have control characters in a string to be converted to their backslash-escaped counterparts. I looked in the encoders section of the string module but couldn't find anything appropriate. I could write it myself but I'm sure something of the sort exists. The hypothetical method "c_escaped()" wo... 13 Feb 2010 11:31
use strings to call functions
Hello, I am writing a program that analyzes files of different formats. I would like to use a function for each format. Obviously, functions can be mapped to file formats. E.g. like this: if file.endswith('xyz'): xyz(file) elif file.endswith('abc'): abc(file) .... Yet, I would prefer to do some... 10 Feb 2010 09:58
Modifying Class Object
Ok, just looking for a sanity check here, or maybe something I'm missing. I have a class Test, for example: class Test: def __init__(self, param1, param2, param3): self.param1 = param1 self.param2 = param2 self.param3 = param3 Next, I have a dictionary mytest that contains instan... 23 Feb 2010 13:32
Possible? Python 2.6.x and PythonWin on 64-bit Windows 7
I am having a heck of a time doing the simplest thing: installing Python and the pywin extensions, including the PythonWin editor I have always relied on, into my new Windows 7 Professional 64-bit OS. I tried the Python package from python.org and pywin32 from sourceforge. But the latter would not install, saying t... 9 Feb 2010 18:33
Available for use: Tabs management software
In case someone else finds it useful here is a program I wrote a year or so ago to help manage tab characters. It will convert tabs to runs of spaces, convert runs of spaces to tabs, or count or check for tab characters as required. It supports tab stops at regular and irregular positions. http://codewiki.wiki... 7 Feb 2010 18:41
ctypes Structure serialization
I'm not quite familiar with python serialization but the picle module, at least, doesn't seem to be able to serialize a ctypes Structure with array-fields. Even if it was, the ASCII file produced is not in a human-friendly format. Could someone please suggest a method of saving and loading the fields in ctypes' ... 9 Feb 2010 00:45
First  |  Prev |  Next  |  Last
Pages: 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212