[Tutor] how to seed up?

alejandro varas alej0varas at gmail.com
Sat May 19 19:55:00 CEST 2007

hi list
  this is an answer to your first question
  I put two attachments, both python code
  main.py is the file you have to run and
  script.py is the file that must contain your code

    1.- run main.py and your code will be executed
    2.- then you will be answered to do it again, don't answer right now
    3.- modify your code, save it
    4.- answer in any Pythonic way of True or False( obviously True to run
again and False to stop)


2007/5/19, emilia12 at mail.bg <emilia12 at mail.bg>:
> hi list
> when i have many modules in my script (eg. 'import pylab,
> os, sys'), python loads them very slow ...
> so is there a way to run same script many times (with small
> changes in the code), without reloading/parsing all modules
> each time ?
> and 2nd question - in case of CGI script - is there a way to
> recall faster already loaded/called script?
> Regards,
> e.
> -----------------------------
> SCENA - Единственото БЕЗПЛАТНО списание за мобилни комуникации и
> технологии.
> http://www.bgscena.com/
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> http://mail.python.org/mailman/listinfo/tutor

Alejandro Varas G.
T.N.S. en Redes de Computadores.(estudiante)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070519/83a10d9e/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.py
Type: text/x-python
Size: 285 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20070519/83a10d9e/attachment-0002.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: script.py
Type: text/x-python
Size: 177 bytes
Desc: not available
Url : http://mail.python.org/pipermail/tutor/attachments/20070519/83a10d9e/attachment-0003.py 

More information about the Tutor mailing list