"run" Package Query

Rohan Hole rohanhole31 at gmail.com
Tue Mar 3 22:14:36 CET 2009


When I write program (.py) with IDLE , I am able to use run package .


- - - -   start  - - - -

if __name__ == '__main__':
    import sys,os
    import run
    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])

- - - -  end - - - - -

above code works simply with the IDLE.

But problem arises , when I use Eric or pyScriptter , On other editor it
gives the error "Exceptions.ImportError : No Module named run"
Do i need to set any variable ? or path ?
run is a system package or third party ?
Thanx In Advance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090304/e6643379/attachment.html>


More information about the Python-list mailing list