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,C
> 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 com
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
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 ta
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
http://mail.py
> I was hoping for something magical like:
>
> gulp = cgi.StreamIO("
> http://www.foo.com/cgi-bin/responder.cgi?foo=hi&bar=there&bat=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 par
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 necessar
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
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
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=hi&bar=there&bat=buddy&identifier=myname"
to a remote server which will then stream a response to my script,
simil
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:
>
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 sub
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 pa
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]> w
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 t
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 - Tutor@
> 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
mem
> 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 anyth
17 matches
Mail list logo