Writing to same file from two threads613 (2/26/2013 3:17:41 PM) comp.lang.python Hi,
I noticed in someone elses program that it writes single
lines to the same file from (what I call for loss of a better
name) the "main thread" of the program and from a thread sub-
sequentally star... jt
Messing with the GC714 (1/19/2013 2:47:16 PM) comp.lang.python Hi,
triggered by some problems I had with PySide I got a bit
confused about what the GC may do in certain situations.
Here's a small test program I cobbled together:
import sys
class X( object ) :... jt
Strange effect with import914 (12/20/2012 8:39:19 PM) comp.lang.python Hi,
I hope that this isn't a stupid question, asked already a
hundred times, but I haven't found anything definitive on
the problem I got bitten by. I have two Python files like
this:
-------- S1.py... jt
Encrypted connection450 (5/17/2012 9:29:15 PM) comp.lang.perl.misc Hi, I'm in the planning stage of writing a server-client application for which I need good enryption of all data exchanged between the server and client. While the client- server part as such does't pose a ... jt
Is this ok to do?534 (4/19/2012 7:34:13 PM) comp.lang.c++ Hi, sorry for the stupid subject but I had no good idea how to condense it into a few words. I have a method in a class A that calls a method of another class B that in turn deletes the instance of class A... jt
Questions about Windows by a (L|U)nix user1044 (1/4/2012 12:32:06 AM) comp.programming Hi, please don't take this as a rant or an attempt to start a flameware - I'm merely curious and would like to get some answers to questions I haven't been able to find. And I'm posting it here since I have... jt
Dennis Ritchie died549 (10/13/2011 10:21:42 PM) comp.unix.programmer Surprisingly, no one has posted about it in this news- group which is *the* one for programming under Unix: Dennis M. Ritchie, together with Ken Thompson one of the "fathers" of Unix, the creator of C and co-au... jt
Dynamic linking problem553 (3/31/2011 10:47:50 PM) comp.unix.programmer Hi, I've got some linker problem that I can't find a satisfac- tory solution for. I have a library (written in C++) that itself dynamically loads further shared libraries (a kind of plug-in system). If I lin... jt
Const/non-const pointer returning method12118 (5/25/2010 6:03:05 PM) comp.lang.c++ Hi,
I am rather new to C++ and have run into a problem where I
haven't found an answer yet by searching (probably didn't find
the right search terms). I Have this simple program:
#include
class A
... jt
Operator precedence with return and if/unless3183 (1/31/2010 12:06:42 AM) comp.lang.perl.misc Hi,
after gotten bitten by it (again) I wonder once more if
there are good reasons why in
perl -e 'sub x { return 1 and 0 } print x() . "\n";'
the 'return' seems to have a higher "precedence" than ... jt
Advice on an approach to a problem102 (5/16/2013 11:36:43 AM) comp.lang.c++ I make great use of a 'C' program written by someone else. It works
invisibly but creates files named by itself. I would like to grant the user
the option to create their own filenames and the paths for th... pinnerite(19)
Writing to same file from two threads613 (2/26/2013 3:17:41 PM) comp.lang.python Hi,
I noticed in someone elses program that it writes single
lines to the same file from (what I call for loss of a better
name) the "main thread" of the program and from a thread sub-
sequentally star... jt68(1134)
RE: subprocess.call25 (4/19/2013 9:56:10 AM) comp.lang.python --089e01183b7af525b404dab3bcf6
Content-Type: text/plain; charset=ISO-8859-1
Hi Team,
In my python script, I have this:
command="lynx -dump
'phpscript?param1=%s¶m2=%s¶m3=%s¶m4=%s¶m5=%s... moraa.lovetakes2(10)
Nested For loop not running full11 (4/26/2013 8:48:31 AM) comp.lang.python --089e012947527bb4b204db3f995c
Content-Type: text/plain; charset=ISO-8859-1
Hello everyone,
I have this part of my code where I am trying to traverse over an image by
running a for loop for both x and y... insideshoes(42)
File Read issue by using module binascii122 (4/27/2013 3:57:45 AM) comp.lang.python When I run the readbmp on an example.bmp(about 100k),the Shell is become to "No respose",when I change f.read() to f.read(1000),it is ok,could someone tell me the excat reason for this?
Thank you in advance!
... jimmie.he(14)
in need of some help...183 (4/30/2013 10:06:55 PM) comp.lang.python
hi,
i am currently trying to make a rock paper scissors game based on a game.
the code for the game itself works fine, it does what i need it to do
the issue i am having is that i haven't a clue how... ayjayn1101(8)
Sum operation in numpy arrays22 (5/2/2013 9:10:11 AM) comp.lang.python Hello! I have several numpy arrays in my script and i want to add them. For example:
a=[1,2,3,4,5]
b=[1,1,1,1,1]
c=[1,0,1,0,1]
for i in range(5):
d[i]=a[i]+b[i]+c[i]
print d
[3,3,5,5,7]
I ... anadionisio257(29)
Help with loading file into an array42 (5/5/2013 6:06:59 AM) comp.lang.python Hi all
I am trying to build a program that can find comets in a series of astronom=
ical images. I have already written functions to find the comet in a series=
of images, the data of which is stored in e... pwberrett(1)
Why do Perl programmers make more money than Python programmers813 (5/5/2013 5:11:11 PM) comp.lang.python According to CIO.com, Python programmers make only $83,000 per year,
while Perl programmers make $93,000 per year.
http://www.cio.com/slideshow/detail/97819?source=ifwartcio#slide10
http://www.cio.com/sli... Ignoramus16992
Making safe file names22 (5/7/2013 7:58:59 PM) comp.lang.python Currently, I keep Last.fm artist data caches to avoid unnecessary API calls and have been naming the files using the artist name. However,
artist names can have characters that are not allowed in file names fo... bahamutzero8825(315)