No, I didn't test it before. This is what I meant to do!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2002-05-27 22:14:41 +00:00
parent 92bbd64f7f
commit 8641d30c71
4 changed files with 8 additions and 7 deletions

View File

@ -17,6 +17,7 @@ overview = shell.__doc__
if __name__ == '__main__':
import sys,os
import run
run.main(['', 'PyCrust'])
run.main(['', os.path.basename(sys.argv[0])])

View File

@ -118,7 +118,7 @@ list appended to a menu, such as the File menu.
"""
if __name__ == '__main__':
import os
import sys,os
import run
run.main(['', os.path.basename(__file__)])
run.main(['', os.path.basename(sys.argv[0])])

View File

@ -269,7 +269,7 @@ be helpful.
if __name__ == '__main__':
import os
import sys,os
import run
run.main(['', os.path.basename(__file__)])
run.main(['', os.path.basename(sys.argv[0])])

View File

@ -333,9 +333,9 @@ be helpful.
if __name__ == '__main__':
import os
import sys,os
import run
run.main(['', os.path.basename(__file__)])
run.main(['', os.path.basename(sys.argv[0])])