Noob question

Discussion in 'Python' started by rocco.rossi@gmail.com, Jan 6, 2008.

  1. Guest

    Tinkering with Python I find myself often writing scripts and then
    experimenting with the interactive interpreter, which is really a cool
    way to learn a language. However, when, after loading a module with

    import <module>

    or

    from module import *

    and using it, I make a change to the module file, the changes are not
    effective after re-importing that same module, and I have to exit the
    interpreter and restart all over. Isn't there some way to avoid this
    annoying process?

    Thank you.
     
    , Jan 6, 2008
    #1
    1. Advertisements

  2. GHZ Guest

    Had the same issue. What you want is: reload()
     
    GHZ, Jan 6, 2008
    #2
    1. Advertisements

  3. Guest

    On Jan 7, 12:09 am, GHZ <> wrote:
    > Had the same issue. What you want is: reload()


    Thanks :)
     
    , Jan 7, 2008
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Yttrium
    Replies:
    7
    Views:
    2,838
    Yttrium
    Oct 15, 2003
  2. NewsHound

    something of a noob question

    NewsHound, Jun 30, 2004, in forum: Perl
    Replies:
    1
    Views:
    500
    Jim Gibson
    Jun 30, 2004
  3. Chris Dunaway

    Really noob question about asp:Image control

    Chris Dunaway, May 27, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    1,161
    Chris Dunaway
    May 27, 2004
  4. haylow
    Replies:
    0
    Views:
    676
    haylow
    Jun 15, 2004
  5. TN Bella
    Replies:
    5
    Views:
    453
    Patrick Steele [MVP]
    Jun 18, 2004
  6. ToChina

    Noob question about returning HTML

    ToChina, Jun 8, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    407
    ToChina
    Jun 8, 2005
  7. Bruce
    Replies:
    1
    Views:
    413
    Lucas Tam
    Aug 18, 2005
  8. drgonzo120
    Replies:
    9
    Views:
    744
    Owen Jacobson
    Oct 7, 2005
Loading...