On 3/6/2016 7:24 AM, alien2u...@gmail.com wrote:
Hello list,
I am following "Learning Python: Mark Lutz" and came across following
in chapter 3 few days back.
What is the copyright date on the copy you have?
[quote] * You may still have to reload nested modules. Technically
speaking, IDLE's
Hello list,
I am following "Learning Python: Mark Lutz" and came across following in
chapter 3
few days back.
[quote]
* You may still have to reload nested modules. Technically speaking, IDLE's
Run->Run Module menu option always runs the current version of the top-level
file
only; imported
On Dec 16, 4:47 pm, [EMAIL PROTECTED] wrote:
> I'm using IDLE for my Python programming. I can't seem to solve one
> issue though. Whenever I try to indent a region of code, I simply
> select it and hit the tab key, as I usually do in most editors, like
> GEdit or Geany on Linux, for instance, and
[EMAIL PROTECTED] wrote:
> I'm using IDLE for my Python programming. I can't seem to solve one
> issue though. Whenever I try to indent a region of code, I simply
> select it and hit the tab key, as I usually do in most editors, like
> GEdit or Geany on Linux, for instance, and it works fine. But
On Dec 16, 11:47 am, [EMAIL PROTECTED] wrote:
> I'm using IDLE for my Python programming. I can't seem to solve one
> issue though. Whenever I try to indent a region of code, I simply
> select it and hit the tab key, as I usually do in most editors, like
> GEdit or Geany on Linux, for instance, an
I'm using IDLE for my Python programming. I can't seem to solve one
issue though. Whenever I try to indent a region of code, I simply
select it and hit the tab key, as I usually do in most editors, like
GEdit or Geany on Linux, for instance, and it works fine. But, if I
try to unindent a region of
I made bat file called startidle.bat which I put in C:\Python24
directory. This is how it looks
@echo off
start C:\Python24\pythonw.exe C:\Python24\Lib\idlelib\idle.py -r
C:\Python24\sitecustomize.py
exit
Now I put a shortcut of startidle.bat in Quick Launch. The only thing I
have to do now is to
<[EMAIL PROTECTED]> wrote
> This works!
>
> Thanks Claudio
I am glad, that the time I put into it was not wasted.
> For complete happiness I would also like to know what's hapening.
> Is there anywhere I can read about PyShell.py.
Not that I would know about (except reading the source code).
May
This works!
Thanks Claudio
For complete happiness I would also like to know what's hapening. Is
there anywhere I can read about PyShell.py.
Bob
--
http://mail.python.org/mailman/listinfo/python-list
Here a correction of the code snippet:
console.text.mark_gravity("restart", "left")
# (-Patch)
# making additional modules available in IDLE directly after
re-start of it:
self.runsource("import os; from path import path")
time.sleep(0.1)
# (Patch-)
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> I did as you suggested, however
>
> after I make a new File (File/New Window) and save and then run (F5) I
> get the following alert
>
> The Python Shell is already executing a command; please waith until it
> is finished
>
> I al
I did as you suggested, however
after I make a new File (File/New Window) and save and then run (F5) I
get the following alert
The Python Shell is already executing a command; please waith until it
is finished
I also get the error message
Traceback (most recent call last):
File "", line 1, in
now a patch fixing it I have no good feeling about, but it works:
in PyShell.py in
def restart_subprocess(self):
insert in section:
"
console.showprompt()
# restart subprocess debugger
# (-Patch)
# making additional modules available in IDLE directly after
re-
Okey I tried what you recommended
My C:\Python24\sitecustomize.py looks like this:
# sitecustomize.py
import os
from btools import *
When I enter
C:\Python24>C:\Python24\pythonw.exe C:\Python24\Lib\idlelib\idle.py -r
C:\Python24\sitecustomize.py
in commad propmt IDLE starts up and automatically
<[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> IDLE doesn't seem to honor PYTHONSTARTUP environment variable nor
> sitecustomize.py
>
> How do you then customize in IDLE?
>
> (basically I want to execute the statement
>from btools import *
> each time I restart IDLEs Pytho
IDLE doesn't seem to honor PYTHONSTARTUP environment variable nor
sitecustomize.py
How do you then customize in IDLE?
(basically I want to execute the statement
from btools import *
each time I restart IDLEs Python Shell)
--
http://mail.python.org/mailman/listinfo/python-list
Ishwor <[EMAIL PROTECTED]> writes:
> On Sun, 26 Dec 2004 13:02:01 +0100, Rolf Wester
> <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I would like to use IDLE as interactively as I can with Emacs. In Emacs
>> I can send a marked region to the Python interpreter. Is there any way
>> to do the same thing
On Sun, 26 Dec 2004 13:02:01 +0100, Rolf Wester <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I would like to use IDLE as interactively as I can with Emacs. In Emacs
> I can send a marked region to the Python interpreter. Is there any way
> to do the same thing with IDLE?
Although i don't use anything much
Rolf,
IDLE presents you with an interactive python prompt where you can enter
your code : single statments, class definitions, functions and it will
execute interactively.
>From the IDLE editor, I doubt if you can do what you want. In fact IDLE
will force you to save your code in a file before yo
Hi,
I would like to use IDLE as interactively as I can with Emacs. In Emacs
I can send a marked region to the Python interpreter. Is there any way
to do the same thing with IDLE?
Thank you in advance
Regards
Rolf Wester
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo