Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Commenting and uncommenting from the shell

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


mrholtsr at sbcglobal

Nov 8, 2009, 3:13 PM

Post #1 of 2 (187 views)
Permalink
Commenting and uncommenting from the shell

Can you comment and uncomment code from the shell. I know that the format
meny only shows in the edit window. I tried crtl + 3, which is what it said
in the configuration window to use, and nothing happens. Also can you write
executable code from the edit window. I can't see to get code that I write
there to execute.


clp2 at rebertia

Nov 8, 2009, 4:18 PM

Post #2 of 2 (166 views)
Permalink
Re: Commenting and uncommenting from the shell [In reply to]

On Sun, Nov 8, 2009 at 3:13 PM, Ray Holt <mrholtsr [at] sbcglobal> wrote:
> Can you comment and uncomment code from the shell. I know that the format
> meny only shows in the edit window. I tried crtl + 3, which is what it said
> in the configuration window to use, and nothing happens.

I'm assuming by "the shell" you mean IDLE's Python shell. You would do
better to be less vague in the future.
No, you can't use the un/comment features in the shell. Using them
wouldn't make much sense anyway given the shell's interactive nature.

> Also can you write
> executable code from the edit window. I can't see to get code that I write
> there to execute.

Yes, of course. Press F5 or choose Run -> Run Module from the menu.

Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.