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
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to