The Artima Developer Community
Sponsored Link

Python Answers Forum
how to restart a script

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
sepehr vakil

Posts: 1
Nickname: svakil
Registered: Jun, 2008

how to restart a script Posted: Jun 19, 2008 2:57 PM
Reply to this message Reply
Advertisement
hello,

i am brand new to python, have a simple question.

i have created a script called test1.py and have placed this file in the same directory as python is installed (C:/pyton25/).

I run the script by typing "import test1" into my python shell. it works fine.

BUT, if i make a change to the script, i don't know how to rerun it. if i try to re-import the module, nothing happens.

I am forced to close my python shell and re-open every time i make any changes.

Any help?? thanks

Topic: bitmaps as longs? Previous Topic   Next Topic Topic: win32all+vista

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use