First  |  Prev |  Next  |  Last
Pages: 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231
Spawning an interactive interpreter in a running python process?
> I'm curious, in an academic sense, if it's possible to spawn the interactive interpreter (>>>) in a running python application. Ideally, I would like to be able to access the modules, functions and variables the application can. Is something like this possible? While not exactly "the interactiv... 12 Dec 2009 11:18
datetime 'NoneType' sporadic error
When using the datetime module, I sporadically get " 'NoneType' object has no attribute 'datetime' " on line 40: Sorry, I don't have the traceback, this is an error that was sent to me by one of the users. It only happens occasionally. Any ideas? ... 11 Dec 2009 19:09
__mul__ vs __rmul__ (and others) priority for different classes
hi all, I have created a class MyClass and defined methods like __add__, __mul__, __pow__, __radd__, __rmul__ etc. Also, they are defined to work with numbers, Python lists and numpy.arrays. Both Python lists and numpy arrays have their own methods __add__, __mul__, __pow__, __radd__, __rmul__ etc. If I involv... 11 Dec 2009 15:49
eiger replacement?
The current hardware CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) Device Model: Hitachi HDT725025VLAT80 Serial Number: VF1100R107LS4K Firmware Version: V5DOA42A User Capacity: 250,059,350,016 bytes available here 28 Dec 2009 16:16
Virtual file for subprocess
I am calling external executable from my python program (using subprocess). This external program's output is a text file which I then read and parse. Is there any way to "sandbox" the calling of this external program so that it writes to a virtual file instead of the hardcoded text? ... 11 Dec 2009 14:42
Active Directory ADO strange objects returned
Hi, I have a script that returns data from active directory using ADO. Everything works except for any fields that use a time value I get an instance of an object returned called <COMObject GetRows>. I know it's a time object because if I do object.HighPart or object.LowPart I get a value back. The bit I don't... 11 Dec 2009 10:12
Moving from PHP to Python. Is it Possible
Greetings. I'm 35 yrs old self learner and who do daily PHP coding for food more than a decade. After ten years of PHP coding I'm getting bored and give try for learning new things. After 3 days of crawling google, diving in python and cursing, now I can show something on my linux/apache/mod_wsgi setup... 29 Dec 2009 19:43
BIOS tricks.......Free E-Book
Hi…Good day…….I juz want to share something......hopefully it may be helpful to some of you Who is this book for? This book is for those (novice and advanced) who are interested in optimization the BIOS for performance and stability. You will learn what the BIOS is, the different type of BIOS, and how to update ... 13 Dec 2009 07:45
Which graph library is best suited for large graphs?
Hi all, I am writing a library for accessing Wikipedia data and include a module that generates graphs from the Link structure between articles and other pages (like categories). These graphs could easily contain some million nodes which are frequently linked. The graphs I am building right now have around 300... 12 Dec 2009 08:03
which pi formula is given in the decimal module documentation?
I'm just curious which formula for pi is given here: <http://>? def pi(): """Compute Pi to the current precision. print pi() 3.141592653589793238462643383 """ getcontext().prec += 2 # extra digits for intermediate steps three = Deci... 22 Dec 2009 01:41
First  |  Prev |  Next  |  Last
Pages: 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231