473,699 Members | 2,143 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 8830

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.goo glegroups.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.Eith er 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.Eith er 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.goo glegroups.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.Eith er 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.Eith er 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(sorte d(m))],
[[chr(154-ord(c)) for c in '.&-&,l.Z95193+1 79-']]*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.Eith er 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(sorte d(m))],
[[chr(154-ord(c)) for c in '.&-&,l.Z95193+1 79-']]*18)[3]
Aug 27 '06 #8

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

Similar topics

5
2148
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, mygale.py, and are automatically updated each day. (You can visit Han's interesting blog at <a href =...
7
1765
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 finding that there is very little (that I can find) about how to do basic logistical things related...
6
2610
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
15734
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 on how to configure (plugg-ins?) for jEdit and learn Python? Ray
5
1817
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 difficult for me as it explains it in caparison with C++ or Java.
7
1584
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 comprehensions are, IMO, one of Python's great features, Psyco prefers them, they're more pythonic, and map...
5
1772
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 being no exception, but always ended up coming back to PHP due to being comfortable with it. Python...
6
1258
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
1813
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, at least in the short run. Plus, you know how Perl goes. So far the decision seems to be a no...
16
1754
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 mostly unable to use what I learn simply because I have no reason to use it. The *process* of...
0
8694
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9041
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8928
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6538
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4379
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3060
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
2
2355
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2013
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.