473,513 Members | 3,317 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Learning Python

Friends,
As I had written earlier, I am trying to learn Python.
I chose IDLE as an editor to learn Python.
Now I find that it is an online editor.
It is not possible for me to be always on online while learning.
Kindly suggest me a suitable editor (for Windows XP) which does not require
me to be on online.
Regards.
Aug 26 '06 #1
7 8796

JAG CHAN wrote:
Friends,
As I had written earlier, I am trying to learn Python.
I chose IDLE as an editor to learn Python.
Now I find that it is an online editor.
It is not possible for me to be always on online while learning.
Kindly suggest me a suitable editor (for Windows XP) which does not require
me to be on online.
Regards.
IDLE is not an online editor. If you would like to try another I can
suggest SciTE at http://scintilla.sourceforge.net/SciTEDownload.html

its a simple syntax editor with good support for Python.

Aug 26 '06 #2
JAG CHAN:
As I had written earlier, I am trying to learn Python.
I chose IDLE as an editor to learn Python.
Now I find that it is an online editor.
It is not possible for me to be always on online while learning.
Kindly suggest me a suitable editor (for Windows XP) which does not require
me to be on online.
Maybe your firewall tells you that IDLE asks for access to the net, but
it's not an online sofware. You can use a different editor, like SPE,
or if you want to start with something simpler you can try
ActivePython, or probably it's even better a normal and very fast txt
editor with a python grammar for colorization, with a macro added to
run the script being edited.

Bye,
bearophile

Aug 26 '06 #3
be************@lycos.com wrote in
news:11**********************@i42g2000cwa.googlegr oups.com:
JAG CHAN:
>As I had written earlier, I am trying to learn Python.
I chose IDLE as an editor to learn Python.
Now I find that it is an online editor.
It is not possible for me to be always on online while learning.
Kindly suggest me a suitable editor (for Windows XP) which does not
require me to be on online.

Maybe your firewall tells you that IDLE asks for access to the net,
but it's not an online sofware. You can use a different editor, like
SPE, or if you want to start with something simpler you can try
ActivePython, or probably it's even better a normal and very fast txt
editor with a python grammar for colorization, with a macro added to
run the script being edited.

Bye,
bearophile
Thanks for your response.
You are right.
Whenever I try to open IDLE, my zone firewall tells me pythonw.exe is
trying to access the trusted zone.
Whenever I try to open new IDLE window I get the following message:
"IDLE's subprocess didn't make connection.Either IDLE can't start a
subprocess or personal firewall software is blocking the connection."
I will be grateful if you kindly suggest a way out, then, I won't have to
install another editor.
Regards.
Aug 26 '06 #4
JAG CHAN wrote:
Whenever I try to open IDLE, my zone firewall tells me pythonw.exe is
trying to access the trusted zone.
Whenever I try to open new IDLE window I get the following message:
"IDLE's subprocess didn't make connection.Either IDLE can't start a
subprocess or personal firewall software is blocking the connection."
I will be grateful if you kindly suggest a way out, then, I won't have
to install another editor.
You need to configure your firewall to permit IDLE to make the connection.
Most firewall software when it warns you will give you the option of
permitting this:

e.g. Windows Firewall says "To help protect your computer, Windows Firewall
has blocked some features of this program. Do you want to keep blocking
this program?" with options "Keep Blocking", "Unblock", and "Ask me later".
All you have to do is click "Unblock" and IDLE will work.
Aug 26 '06 #5
JAG CHAN wrote:
be************@lycos.com wrote in
news:11**********************@i42g2000cwa.googlegr oups.com:
>JAG CHAN:
>>As I had written earlier, I am trying to learn Python.
I chose IDLE as an editor to learn Python.
Now I find that it is an online editor.
It is not possible for me to be always on online while learning.
Kindly suggest me a suitable editor (for Windows XP) which does not
require me to be on online.
Maybe your firewall tells you that IDLE asks for access to the net,
but it's not an online sofware. You can use a different editor, like
SPE, or if you want to start with something simpler you can try
ActivePython, or probably it's even better a normal and very fast txt
editor with a python grammar for colorization, with a macro added to
run the script being edited.

Bye,
bearophile

Thanks for your response.
You are right.
Whenever I try to open IDLE, my zone firewall tells me pythonw.exe is
trying to access the trusted zone.
Whenever I try to open new IDLE window I get the following message:
"IDLE's subprocess didn't make connection.Either IDLE can't start a
subprocess or personal firewall software is blocking the connection."
I will be grateful if you kindly suggest a way out, then, I won't have to
install another editor.
Regards.
Python uses what windows call "internal loopback device" wich is
monitored by the firewall. So yes, it's a firewall thing, not the editor
and you would get the same message using any editor...
I suggest AcitvePython - easy, free, and comes with all the windows
specific modules and extensions...
Aug 26 '06 #6
Duncan Booth wrote:
JAG CHAN wrote:
Whenever I try to open IDLE, my zone firewall tells me pythonw.exe is
trying to access the trusted zone.
Whenever I try to open new IDLE window I get the following message:
"IDLE's subprocess didn't make connection.Either IDLE can't start a
subprocess or personal firewall software is blocking the connection."
I will be grateful if you kindly suggest a way out, then, I won't have
to install another editor.

You need to configure your firewall to permit IDLE to make the connection.
Most firewall software when it warns you will give you the option of
permitting this:

e.g. Windows Firewall says "To help protect your computer, Windows Firewall
has blocked some features of this program. Do you want to keep blocking
this program?" with options "Keep Blocking", "Unblock", and "Ask me later".
All you have to do is click "Unblock" and IDLE will work.
IDLE doesn't connect to the internet, but it uses a socket interface to
communicate between two different processes. Some security software
falsely recognizes this as an attempt to connect to the internet,
although it is not a security hazard at all.
Another solution is to run IDLE with the -n flag, which will cause it
to run in one process (instead of two) and not create a socket. For the
most part you will not notice a difference in IDLE's behavior when
running it this way.

On windows you can create a shortcut to idle.bat and add -n at the end
of the "target" entry. When running IDLE with -n, you should see "====
No Subprocess ====" on one of the first lines of the Shell window.
You probably have your Windows security settings set quite high,
usually I don't see this on Windows systems with default settings.

- Tal
reduce(lambda m,x:[m[i]+s[-1] for i,s in enumerate(sorted(m))],
[[chr(154-ord(c)) for c in '.&-&,l.Z95193+179-']]*18)[3]

Aug 27 '06 #7

Tal Einat wrote:
Duncan Booth wrote:
JAG CHAN wrote:
Whenever I try to open IDLE, my zone firewall tells me pythonw.exe is
trying to access the trusted zone.
Whenever I try to open new IDLE window I get the following message:
"IDLE's subprocess didn't make connection.Either IDLE can't start a
subprocess or personal firewall software is blocking the connection."
I will be grateful if you kindly suggest a way out, then, I won't have
to install another editor.
You need to configure your firewall to permit IDLE to make the connection.
Most firewall software when it warns you will give you the option of
permitting this:

e.g. Windows Firewall says "To help protect your computer, Windows Firewall
has blocked some features of this program. Do you want to keep blocking
this program?" with options "Keep Blocking", "Unblock", and "Ask me later".
All you have to do is click "Unblock" and IDLE will work.

IDLE doesn't connect to the internet, but it uses a socket interface to
communicate between two different processes. Some security software
falsely recognizes this as an attempt to connect to the internet,
although it is not a security hazard at all.
Another solution is to run IDLE with the -n flag, which will cause it
to run in one process (instead of two) and not create a socket. For the
most part you will not notice a difference in IDLE's behavior when
running it this way.

On windows you can create a shortcut to idle.bat and add -n at the end
of the "target" entry. When running IDLE with -n, you should see "====
No Subprocess ====" on one of the first lines of the Shell window.
You probably have your Windows security settings set quite high,
usually I don't see this on Windows systems with default settings.
That's good to know (about the -n switch). On my computer
at work, IDLE normally works ok, but if I'm running a complicated
query on MS-Access (the kind that takes a half hour to complete)
I can't run IDLE because of the socket problem.

Why would that be? It's obviously not a security settings or
firewall problem. Is the request for a socket timing out due
to cpu load?
>
- Tal
reduce(lambda m,x:[m[i]+s[-1] for i,s in enumerate(sorted(m))],
[[chr(154-ord(c)) for c in '.&-&,l.Z95193+179-']]*18)[3]
Aug 27 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2140
by: Ron Stephens | last post by:
The newly rechristened Python Learning Foundation is a web site dedicated to the assistance of people learning the Python programming language. Features include: 1. Daily lists of new and recent Python-related web articles, Sourceforge projects, and Vaults of Parnassus listings. These are generated using Hans Nowak's Python web spider,...
7
1760
by: Ryan Walker | last post by:
Hi, I'm getting started with python and have almost zero programming experience. I'm finding that there are tons of tutorials on the internet -- such as the standard tutorial at python.org -- that tell you all about the language. That is, what are the methods, functions, modules, syntax, punctuation, etc. No problem there! Meanwhile, I'm...
6
2588
by: post400 | last post by:
Hi , I was just wondering ( yeah I know it's not the first time this question pops up ) what would be the best 2 or 3 books for someone who wants to learn Python , already experienced in other non-OOP languages .It takes time to browse endlessly on the net , in a bookshop or a library for THOSE books that are really useful ! Thanks ,
4
15705
by: Ray | last post by:
I want to jump in a learn Python. I have spent about a day looking at editors and IDEs and (probably prematurely) selected jEdit to work in. I have downloaded Python and jEdit. I have been going over jEdit for a while and can't real see how to get it to know that I am using Python. So there is more there than I expected. Any suggestions...
5
1806
by: Falc | last post by:
Hi there... I have been looking at learning Python, so far it looks like an absolutely grat language. I am having trouble finding some free resources to learn Python from. I am on windows and the only experience I have with programming is with PHP. I have been trying to look at the free online book "Dive Into Python" but this is far too...
7
1574
by: Max | last post by:
On monday I start a semester course in Python (the alternative was Java). I was looking through the course outline and noticed the following: 1) UserDict is used. This is deprecated, right? 2) There is no mention of list comprehensions, but map and filter are taught early and then revisited later. I don't think this is good: list...
5
1759
by: romiro | last post by:
Hi all, I'm a PHP5 developer looking to "broaden my horizons" so to speak by learning a new language. I emphasize the 5 in PHP since I have fully engrossed myself in the full OOP of version 5 with my own ground-up projects as well as some work with PRADO (http://pradosoft.com) I've dabbled with a number of languages in the past, Python...
6
1249
by: dogatemycomputer | last post by:
Greetings, A friend of mine dropped off a copy of Sams Teach Yourself Python in 24 Hours published in 2000. I skimmed the first couple of chapters looking for the interpreter version and the book was based on version Python version 1.5. Is this book still relevant? Should I toss it and look for something newer?
6
1804
by: Rui Maciel | last post by:
Recently I woke up inclined to take up the task of learning another programming language. I've already dipped my toes in Perl (I've read online tutorials and wrote a couple of irrelevant pet projects) but, as the computers at my workplace only sport the python interpreter, it probably means that learning python will end up serving me better,...
16
1739
by: John Salerno | last post by:
Just something that crosses my mind every time I delve into "Learning Python" each night. Does anyone see any value in learning Python when you don't need to for school, work, or any other reason? I mean, sure, there's value in learning anything at any time, but for something like a programming language, I can't help but feel that I will be...
0
7269
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7177
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7394
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7559
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7542
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3237
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1611
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.