Claudio Grondi wrote:
> Anyone on a big Linux machine able to do e.g. :
> \>python -c "print len('m' * 2500*1024*1024)"
> or even more without a memory error?
I tried on a Sun with 16GB Ram (Python 2.3.2)
seems like 2GB is the limit for string size:
> python -c "print len('m' * 2048*1024*1024)
Maciej BliziĆski wrote:
> How to detect current virtual desktop in GNOME? How to detect a virtual
> desktop change?
>
Take a look at http://wallpapoz.sourceforge.net/
Harald
--
http://mail.python.org/mailman/listinfo/python-list
SamG wrote:
> If anyone has a x86_64 machine and is running a 32bit OS on top of
> that could you tell me what output would you get for the following
> program
>
> #==
> import platform
> print platform.processor()
> print platform.architecture()
> #==
>
asit wrote:
> we know that time.gmtime(secs) takes a parameter secs. what does this
> secs suggest ??What is it's significance ??
>>> import time
>>> help (time.gmtime)
Help on built-in function gmtime in module time:
gmtime(...)
gmtime([seconds]) -> (tm_year, tm_mon, tm_day, tm_hour, tm_m