First
|
Prev |
Next
|
Last
Pages: 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
Writing tests for the Python bug tracker I have two reported bugs in the bug tracker waiting on tests: http://bugs.python.org/issue8128 http://bugs.python.org/issue4037 Are there any guidelines for writing tests for the standard library and language? I've googled, but found nothing useful: lots of guidelines for writing tests, and of course I've re... 20 Mar 2010 07:23
Simple lock Hi, I have a common question about locks: class SetPointer { private: void *ptr; MY_LOCK lock; public: void SetPointer(void *p) { Lock(this->lock); this->ptr = p; } void *GetPointer() { Lock(this->lock); return this->ptr; } }; Just a question, is this lock redundant, w... 20 Mar 2010 00:33
script to upload file using POST form En Fri, 19 Mar 2010 19:02:25 -0300, Brandon C <brandonc530(a)gmail.com> escribi�: got another question for yall wonderful minds; how can i upload a file to a server that uses a POST form? here's the link to the form that i'd like to be able to upload a file: http://imagebin.org/index.php?page=add... 19 Mar 2010 20:07
Reserving binary Buffer for struct.pack_into() of exact length Hello, I need some buffers, which are beeing concatenated an then send via the socket() function. My problem is that create_string_buffer() creates a buffer which ist one byte too long (for a \0 char). But when I concatenate some of these buffers to a long one to be transfered, the extra byte is corrupting ... 19 Mar 2010 16:38
What is pkg-config for ? Can anyone explain what is pkg-config for?ANd how can I find it in Windows? Thanks ... 22 Mar 2010 07:08
SOLUTION I have found the solution. I dont know why in python documentation there is not a single word about this option. I've found it in pysqlite doc site. So we have to add a new keyword argument to connection function and we will be able to create cursors out of it in different thread. So use: sqlite.connect(":memo... 19 Mar 2010 10:45
Bug in Python APscheduler module. Hi , I looked everywhere and could find no mention of this(might be looking in the wrong places point me please..). the Python package Advanced python scheduler seems to have a bug with the unschedule func. When passing the function of an object it doesn't remove it from the scheduler. but works fine wit... 19 Mar 2010 03:48
example of ssl with SimpleXMLRPCServer in 2.6? Anyone have an example of using the new ssl module with SimpleXMLRPCServer in 2.6? Thanks, -- -Rowland ... 18 Mar 2010 23:27
Truoble With A Search Script for ImageBin.org Brandon Conner wrote: Hey Pythoners, its my first post here, yay! I'm trying to develop a script that will return the results of a POST request that should list all images uploaded by a user. However, when i run the script, i get returned the HTML of the page with the search form. I am wonde... 18 Mar 2010 23:27
Need to create subprocess... Hello, I have to run a program as a child process inside my python program and redirect it's output through a pipe to a parent program process. So, I wrote this: pipe = Popen('example_program', shell=True, bufsize=0, stdout=PIPE).stdout and it works great. Now, in parent program I need to wait for a some... 18 Mar 2010 14:18 |