On Sep 25, 8:16 am, Tim Arnold [EMAIL PROTECTED] wrote:
Tim Arnold [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
Thanks for the
On Sep 24, 11:46 am, Mike Driscoll [EMAIL PROTECTED] wrote:
Hi,
I have been using the following code for over a year in one of my
programs:
f = urllib2.urlopen('https://www.companywebsite.com/somestring')
It worked great until the middle of the afternoon yesterday. Now I get
the following
On Sep 24, 9:27 pm, Tim Arnold [EMAIL PROTECTED] wrote:
I have a bunch of processes to run and each one needs its own working
directory. I'd also like to know when all of the processes are
finished.
(1) First thought was threads, until I saw that os.chdir was process-
global.
(2) Next
On Sep 23, 7:44 am, Ivan Reborin [EMAIL PROTECTED]
wrote:
On Tue, 23 Sep 2008 04:26:14 -0300, Gabriel Genellina
[EMAIL PROTECTED] wrote:
I think scipy does not bundle plotting packages anymore - you may use
whatever suits you, from other sources.
Try matplotlib, see the wiki:
This seems to break the rule that if A is equal to B and B is equal to C
then A is equal to C.
I don't see why transitivity should apply to Python objects in general.
Well, for numbers it surely would be a nice touch, wouldn't it.
May be the reason for Decimal to accept float arguments is
On Sep 23, 10:08 am, Michael Palmer [EMAIL PROTECTED] wrote:
May be the reason for Decimal to accept float arguments is that
NOT to accept float arguments.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 22, 4:02 am, Al Kabaila [EMAIL PROTECTED] wrote:
This is a very active newsgroup that incudes such giants as Frederik Lundh
He looks rather small to me in this picture:
http://www.python.org/~guido/confpix/flundh-2.jpg
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 22, 9:13 pm, process [EMAIL PROTECTED] wrote:
Why doesn't Python optimize tailcalls? Are there plans for it?
I know GvR dislikes some of the functional additions like reduce and
Python is supposedly about one preferrable way of doing things but
not being able to use recursion properly
On Sep 19, 9:40 am, Alexandru Mosoi [EMAIL PROTECTED] wrote:
i have a generator that raises an exception when calling next(),
however if I try to catch the exception and print the traceback i get
only the line where next() was called
while True:
try:
iterator.next()
except
On Sep 18, 4:24 pm, Fredrik Lundh [EMAIL PROTECTED] wrote:
James Matthews wrote:
I am wondering what are the major points of twisted over regular python
sockets. I am looking to write a TCP server and want to know the pros
can cons of using one over the other.
Twisted is a communication
On Sep 18, 5:33 pm, erikcw [EMAIL PROTECTED] wrote:
Hi,
I have a cgi script where users are uploading large files for
processing. I want to launch a subprocess to process the file so the
user doesn't have to wait for the page to load.
What is the correct way to launch subprocess without
On Sep 17, 6:17 am, smalltalk [EMAIL PROTECTED] wrote:
import shelve
sf = shelve.open('e:/abc.db')
for i in range(1):
... sf[str(i)]=i
... sf.close()
sf = shelve.open('e:/abc.db')
sf.clear()
sf
{}
the abc.db is always 312k though i have use clear(), how can i shrink
the
On Sep 17, 1:33 pm, Seb [EMAIL PROTECTED] wrote:
I'm making a ssl server, but I'm not sure how I can verify the
clients. What do I actually need to place in _verify to actually
verify that the client cert is signed by me?
50 class SSLTCPServer(TCPServer):
51 keyFile =
On Sep 16, 12:30 pm, binaryjesus [EMAIL PROTECTED] wrote:
hi everyone,
first of all
I had written an app using pygtk module and created the GUI with
glade.All the development was done on a linux machine and the app was
working fine all this tme in linux.
now, the thing is i have to change
On Sep 16, 4:07 pm, [EMAIL PROTECTED] wrote:
I'd like to know if I can somehow find the path for a module somewhere
in a the package hierarchy
for instance if I import my module like so
from spam.eggs import sausage
my hypothetical method would return something like
On Sep 14, 10:53 am, inhahe [EMAIL PROTECTED] wrote:
If I gather correctly pickling an object will pickle its entire hierarchy,
but what if there are certain types of objects anywhere within the hierarchy
that I don't want included in the serialization? What do I do to exclude
them? Thanks.
On Sep 12, 11:08 am, Bojan Mihelac [EMAIL PROTECTED] wrote:
Hi all - when trying to set some dynamic attributes in class, for
example:
class A:
for lang in ['1', '2']:
exec('title_%s = lang' % lang) #this work but is ugly
# setattr(A, title_%s % lang, lang) # this wont
On Sep 7, 6:41 pm, Mars creature [EMAIL PROTECTED] wrote:
Hi guys,
I am new to Python, and thinking about migrating to it from matlab
as it is a really cool language. Right now, I am trying to figure out
how to control read and write binary data, like
On Sep 5, 9:56 pm, Sean Davis [EMAIL PROTECTED] wrote:
What I want
to do is to provide the python NLP program as a service to any other
PHP/Java/Ruby process request. So the mapping is
http - apache - PHP/Java/Ruby/... - Python NLP
Why not use a simple CGI script or wsgi application?
On Sep 5, 11:18 am, [EMAIL PROTECTED] wrote:
Helmut Jarausch:
I need to hash arrays of integers (from the hash module).
One of the possible solutions is to hash the equivalent tuple, but it
requires some memory (your sequence must not be tuples already):
why can't it be tuple already?
As anyone knows, the state of Python GUI programming is a little
fractured at this time, with many toolkits, wrappers and meta-wrappers
dead and alive, with or without documentation.
I've come across two projects that have the appeal of striving for
simple, pythonic APIs: PyGUI and wax. The
On Sep 3, 12:57 pm, Diez B. Roggisch [EMAIL PROTECTED] wrote:
Michael Palmer schrieb:
The other, PyGUI, has an even nicer API and more docs but has
relatively few widgets implemented at this time. It also strives for
compatibility with several toolkits (two at this time), which I think
On Sep 3, 1:30 pm, LB [EMAIL PROTECTED] wrote:
Hi,
I would like to freeze a numpy based script in order to have an
application which could run without having to install numpy and cie.
Indeed, I'm not root on the targeted computer and I can't easily
make a complete install of numpy and
23 matches
Mail list logo