Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Reset Interactive Command Line

Reply
Thread Tools

Reset Interactive Command Line

 
 
Nicolas Fleury
Guest
Posts: n/a
 
      10-06-2003
Hi,
I have a lot of difficulty working with multiple modules in PythonWin,
since I typically need to reload all modules when modying one of them.
I've used some code posted by Mike C. Fletcher on this newsgroup to
reload all my modules, but I still have problems; it seems the reloading
order is important. All I want to do is run my program in a
from-scratch environment without having to close/open PythonWin. Is
there any way to reset the loaded modules or re-initialize the PythonWin
command line?

Thx
Regards,

Nicolas Fleury

 
Reply With Quote
 
 
 
 
Dennis Lee Bieber
Guest
Posts: n/a
 
      10-07-2003
Nicolas Fleury fed this fish to the penguins on Monday 06 October 2003
15:04 pm:

> order is important. All I want to do is run my program in a
> from-scratch environment without having to close/open PythonWin. Is
> there any way to reset the loaded modules or re-initialize the
> PythonWin command line?
>

If you've got that many files involved, and you aren't using the
debugger, it may be faster to keep a command window open, use the "save
all modified" in PythonWin, and then invoke the program from the
external command window.

--
> ================================================== ============ <
> | Wulfraed Dennis Lee Bieber KD6MOG <
> | Bestiaria Support Staff <
> ================================================== ============ <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <


 
Reply With Quote
 
 
 
 
Nicolas Fleury
Guest
Posts: n/a
 
      10-07-2003
Dennis Lee Bieber wrote:
> If you've got that many files involved, and you aren't using the
> debugger, it may be faster to keep a command window open, use the "save
> all modified" in PythonWin, and then invoke the program from the
> external command window.


Unfortunately, I want inspect my structures... But am I the only one
thinking it is a must-have feature? The PythonWin IDE is kinda
incomplete if you have to start a command window, when there's one
integrated in the IDE.

Regards,

Nicolas

 
Reply With Quote
 
Dennis Lee Bieber
Guest
Posts: n/a
 
      10-08-2003
Nicolas Fleury fed this fish to the penguins on Tuesday 07 October 2003
10:59 am:


> Unfortunately, I want inspect my structures... But am I the only one
> thinking it is a must-have feature? The PythonWin IDE is kinda
> incomplete if you have to start a command window, when there's one
> integrated in the IDE.
>

PythonWin and IDLE both had that problem -- you ran "within the IDE
session", which meant that repeated imports... don't...

I vaguely recall something about IDLE being modified to now create a
separate process for "run", so things work as "new"...

--
> ================================================== ============ <
> | Wulfraed Dennis Lee Bieber KD6MOG <
> | Bestiaria Support Staff <
> ================================================== ============ <
> Bestiaria Home Page: http://www.beastie.dm.net/ <
> Home Page: http://www.dm.net/~wulfraed/ <


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating interactive command-line Python app? planetthoughtful Python 6 01-03-2013 06:15 PM
How to make a "command line basd" interactive program? Evan Python 3 04-15-2008 06:58 AM
CGI.pm not interactive at command line Peter_W_Levine@uhc.com Perl Misc 4 12-22-2005 05:22 PM
CGI.pm not interactive at command line Peter_W_Levine@uhc.com Perl Misc 1 12-21-2005 11:31 PM
Are there any interactive command line interpreters for java? Charles Fox Java 3 04-15-2005 11:14 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57