First  |  Prev |  Next  |  Last
Pages: 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
Install 2.6.4 as non-admin on Windows
How do I install python 2.6.4 on Windows without admin privileges? Can I install it on a machine I control, zip up the contents, copy it across to an admin-restricted machine, and set up a couple of environemtn variables? Does python install files to system directories, making this impossible? ... 18 Mar 2010 11:39
sqlite3, memory db and multithreading
The problem is simple: I have multiple threads within one program. At least 2 threads have to have access to in-memory sqlite database. It is not possible to pass sqlite objects to those threads because an exception is rised: ProgrammingError: SQLite objects created in a thread can only be used in that same ... 19 Mar 2010 08:10
url2lib (windows 7) does not notice when network reconnects (getaddrinfo problem)
On 18 мар, 00:47, News123 <news1...(a)free.fr> wrote: Hi, I'd like to write a function, that knows when the 'internet' is reachable.. My setup is a windows7 host with a wireless USB modem. The modem might connect / disconnect any time. I thought I write a small function just checking whether I ... 18 Mar 2010 07:02
Recall: How to add a library path to pythonpath ?
Barak, Ron would like to recall the message, "How to add a library path to pythonpath ?".... 18 Mar 2010 05:55
Possible to open a file for shared write mode under Windows?
En Wed, 17 Mar 2010 23:42:46 -0300, <python(a)bdurham.com> escribi�: Is there a way to open a file for shared write mode under Windows? I have 2 processes that will write to different regions of this shared file. Using the pywin32 package at sourceforge, you have access to the CreateFile function: ... 18 Mar 2010 01:34
url2lib (windows 7) does not notice when network reconnects (getaddrinfoproblem)
Hi, I'd like to write a function, that knows when the 'internet' is reachable. My setup is a windows7 host with a wireless USB modem. The modem might connect / disconnect any time. I thought I write a small function just checking whether I can fetch a url. ######### script starts import time,urllib2 my... 17 Mar 2010 19:57
multiprocessing on freebsd
Hi, I'm checking to see if multiprocessing works on freebsd for any version of python. My server is about to get upgraded from 6.3 to 8.0 and I'd sure like to be able to use multiprocessing. I think the minimal test would be: --------------------- import multiprocessing q = multiprocessing.Queue() -----------... 19 Mar 2010 00:33
Castrated traceback in sys.exc_info()
Hello I've just realized recently that sys.exc_info() didn't return a full traceback for exception concerned : it actually only contains the frame below the point of exception catching. That's very annoying to me, because I planned to log such tracebacks with logging.critical(*****, exc_info=True), and these p... 25 Mar 2010 13:46
using DictionaryServices module to get work with python2.6#OSXspecific
Shashwat Anand wrote: I wanted to use dictionary in my OSX terminal. So I wrote a function dict() in my ~/.bash_profile dict () { python2.5 -c 'import sys, DictionaryServices; word = " ".join(sys.argv[1:]); print DictionaryServices.DCSCopyTextDefinition(None, word, (0, len(word)))' $@ } ... 17 Mar 2010 05:44
Timer
I'm writing a pyGTK program, and I need to display the contents of a window for a few seconds before automatically moving on. I have tried using the time.sleep method, but this has problems, such as the program becoming unresponsive. I have now attempted to use a timer, but this does not seem to run the function... 17 Mar 2010 05:44
First  |  Prev |  Next  |  Last
Pages: 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180