Hi
Thanks for response. Tried this both in IDE and DOS window including under
pdb. No docstrings used at present. -i option won't help either as the
machine generally reboots - python reports no problems at all.
The reason I think it is memory is that the amount of memory available to
the
Hi Matt,
the traceroute can be done from the client side or eigther from the server
side.
The two ones should give the same result with reverse order.
In this case you can do the tracerouting from the server side when the
client ask it.
I am just thinking about a simple finger deamon, that can
Hi
Thanks for response.
I'm pretty sure for one reason and another that hardware is not at fault.
I use the windows monitor to track memory usage. I must say I hadn't
realised that Python doesn't release memory back to the OS - someone else
advised me to try the alpha 2.5 version which cures
Hi
Thanks for response.
The programme is pure python (the point is to develop a programme which is
as fast as it can be in python without any tricks and then to translate to
C).
I've tried 2.5 alpha - thanks for the suggestion. It does indeed seem to
appropriately return memory to OS but
The reason I think it is memory is that the amount of memory
available to the programme is the only variable - I'm using two
identical hardware/software environments apart from this.
I assume from this that you have explicitly turned off virtual
memory on both machines?
crashes on anything
realised that Python doesn't release memory back to the OS - someone
else
That's not at all unusual. In fact in most Unices no program ever
releases
memory to the OS - one reason you should be very careful when writing
daemon processes! One advantage of this approach is that it speeds up
I run a code, which import Numeric module. When I run the code from PythonWin, it is OK.
But when I run it from the command line, it reported Importerror: No Module named Numeric.
Why the systems perform differently?
Linda
___
Tutor maillist -
Oh dear, I see Kent already posted that linked. Haha.
On 5/6/06, Liam Clarke [EMAIL PROTECTED] wrote:
There's a specific Python gotcha involving memory allocation and
pymalloc, that'll manifest with large amounts of integers.
http://evanjones.ca/python-memory.html
And, according to that
There's a specific Python gotcha involving memory allocation and
pymalloc, that'll manifest with large amounts of integers.
http://evanjones.ca/python-memory.html
And, according to that article, it's as Kent said, fixed in 2.5 :)
Regards,
Liam Clarke
On 5/5/06, Alan Gauld [EMAIL PROTECTED]
Hi,
Can you please copy and paste the code here? Also, can you please
click on Start, select Run, and type cmd.exe, and in the new window
that opens type the following command:
C:\echo %PATH%
and then right click, select Mark, select the text that was outputted
and press enter to copu it and
Hello Tutors,
I am having trouble wrapping my mind around nested list comprehensions and am
hoping that someone can either verify my thinking or provide insight as to what
I am doing wrong.
I have a list of objects C1 and each object in the list has a method m() that
will return a list of
John Clark wrote:
Hello Tutors,
I am having trouble wrapping my mind around nested list
comprehensions and am hoping that someone can either verify my
thinking or provide insight as to what I am doing wrong.
If I weren't trying to use list comprehensions, I would
code this as:
result
I've been a-googling for examples or information on recieving and
parsing html streams in a cgi script. I need to send a request like:
''http://www.foo.com/cgi-bin/responder.cgi?foo=hibar=therebat=buddyidentifier=myname
to a remote server which will then stream a response to my script,
similar
I have two drives. The python24 is installed in c: and the code isin d: drive (d:\data).
so what I did is:
d:\data c:\python24\python test.py
On 5/5/06, Liam Clarke [EMAIL PROTECTED] wrote:
Hi,Can you please copy and paste the code here? Also, can you pleaseclick on Start, select Run, and type
On Fri, 5 May 2006, linda.s wrote:
I have two drives. The python24 is installed in c: and the code is in d:
drive (d:\data).
so what I did is:
d:\data c:\python24\python test.py
Hi Linda,
Can you copy and paste the code to test.py? I suspect that the code does
not contain a necessary
I was hoping for something magical like:
gulp = cgi.StreamIO(
http://www.foo.com/cgi-bin/responder.cgi?foo=hibar=therebat=buddy;).read()
... but for some reason not one of the python creators foresaw that I might
one day need them to do all the thinking, typing and other hard parts for
Is there an easy way to call on python module (called.py) from another (calling.py)? I have been able to do this using'rc = os.system("called.py")'. Is this the suggested method?Thanks, Mitch___
Tutor maillist - Tutor@python.org
On Fri, 5 May 2006, Mitchel Carlsen wrote:
Is there an easy way to call on python module (called.py) from another
(calling.py)? I have been able to do this using 'rc =
os.system(called.py)' . Is this the suggested method?
Hi Mitch,
If you are looking for modules, you may want to take a
I will be out of the office starting 05/05/2006 and will not return until
05/09/2006.
I will respond to your message when I return.
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I am having trouble wrapping my mind around
nested list comprehensions
I do too, and usually when that happens I take it as a sign
that I'm being too clever for my own good. I unwrap things
back to the point where my brain doesn't hurt anymore...
I think I've only seen two or three nested
You are right. When I switch to python23 folder, it works.On 5/5/06, Danny Yoo [EMAIL PROTECTED]
wrote:On Fri, 5 May 2006, linda.s wrote: I have two drives. The python24 is installed in c: and the code is in d:
drive (d:\data). so what I did is: d:\data c:\python24\python test.pyHi Linda,Can you
21 matches
Mail list logo