Re: Learning Python : import math doesn't work ?

2007-11-19 Thread Terry Reedy
Asun Friere [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] | On Nov 19, 3:46 pm, windspy [EMAIL PROTECTED] wrote: | use it like: x = math.sqrt (100) and math.sin(x) | | alternatively import like this: | | from math import sqrt, sin | | ... and use it like you have. Or, import math

Learning Python : import math doesn't work ?

2007-11-18 Thread pdlemper
Have carefully installed Python 2.5.1 under XP in dir E:\python25 . ran set path = %path% ; E:\python25 Python interactive mode works fine for simple arithmetic . Then tried import math x = sqrt(100) Get errorName error : name 'sqrt' is not defined Same thing

Re: Learning Python : import math doesn't work ?

2007-11-18 Thread David Sanders
On Nov 18, 8:48 pm, [EMAIL PROTECTED] wrote: Have carefully installed Python 2.5.1 under XP in dir E:\python25 . ran set path = %path% ; E:\python25 Python interactive mode works fine for simple arithmetic . Then tried import math x = sqrt(100) Get errorName

Re: Learning Python : import math doesn't work ?

2007-11-18 Thread windspy
On Nov 19, 10:48 am, [EMAIL PROTECTED] wrote: Have carefully installed Python 2.5.1 under XP in dir E:\python25 . ran set path = %path% ; E:\python25 Python interactive mode works fine for simple arithmetic . Then tried import math x = sqrt(100) Get errorName

Re: Learning Python : import math doesn't work ?

2007-11-18 Thread Asun Friere
On Nov 19, 3:46 pm, windspy [EMAIL PROTECTED] wrote: use it like: x = math.sqrt (100) and math.sin(x) alternatively import like this: from math import sqrt, sin ... and use it like you have. -- http://mail.python.org/mailman/listinfo/python-list

ANN: Learning Python 3rd Edition

2007-10-29 Thread lutz
I'm pleased to announce the release of the 3rd Edition of the book Learning Python. This new edition has been updated to cover Python 2.5, and includes numerous pointers for migrating to Python 3.0 in the future. Among other things, this edition has been augmented with material on function

ANN: Learning Python 3rd Edition

2007-10-29 Thread Mark Lutz
I'm pleased to announce the release of the 3rd Edition of the book Learning Python. This new edition has been updated to cover Python 2.5, and includes numerous pointers for migrating to Python 3.0 in the future. Among other things, this edition has been augmented with material on function

Re: [Tutor] Code reading for learning Python

2007-09-04 Thread Shawn Milochik
I second the Python Cookbook recommendation. -- http://mail.python.org/mailman/listinfo/python-list

Okay learning python is somewhat hard.

2007-08-28 Thread Lamonte Harris
Since I can't really focus on PROJECTS[since I don't know much python I can't do any projects because all my projects are BIG], So I decided to work on some problems I've gotten from school from started geometry, So I attempted to make a script to get the midpoint of a line segment using the

Re: Okay learning python is somewhat hard.

2007-08-28 Thread Lamonte Harris
Yep I'll keep hacking at it aye :D. Also I'll do some searching on the new styled classes. On 8/28/07, J. Cliff Dyer [EMAIL PROTECTED] wrote: A couple thoughts: First, your class looks like it describes the line, not just the midpoint. Your method calculates the midpoint of that line, so

lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread neptundancer
Hi, to extend my skills, I am learning python. I have written small program which computes math expression like 1+2*sin(y^10)/cos(x*y) and similar, so far only + - * / ^ sin con tan sqrt are supported. But my program is quite inextensible, I have to change the code to add new functions... Could

Re: lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread Steven D'Aprano
On Sun, 26 Aug 2007 15:56:08 +, neptundancer wrote: Hi, to extend my skills, I am learning python. I have written small program which computes math expression like 1+2*sin(y^10)/cos(x*y) and similar, so far only + - * / ^ sin con tan sqrt are supported. But my program is quite

Re: lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread neptundancer
Thanks a lot for comments! I am going to fix the source according to your advices ;) Nep On Aug 26, 6:32 pm, Steven D'Aprano [EMAIL PROTECTED] THIScybersource.com.au wrote: On Sun, 26 Aug 2007 15:56:08 +, neptundancer wrote: Hi, to extend my skills, I am learning python. I have

Re: lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread Michele Simionato
On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote: Hi, to extend my skills, I am learning python. I have written small program which computes math expression like 1+2*sin(y^10)/cos(x*y) and similar, so far only + - * / ^ sin con tan sqrt are supported. But my program is quite inextensible, I have

Re: lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread [EMAIL PROTECTED]
Michele Simionato wrote: On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote: Hi, to extend my skills, I am learning python. I have written small program which computes math expression like 1+2*sin(y^10)/cos(x*y) and similar, so far only + - * / ^ sin con tan sqrt are supported. But my

Re: lisper learning python, ... could you please comment my first python program?

2007-08-26 Thread neptundancer
On Aug 26, 7:40 pm, Michele Simionato [EMAIL PROTECTED] wrote: On Aug 26, 5:56 pm, [EMAIL PROTECTED] wrote: Hi, to extend my skills, I am learning python. I have written small program which computes math expression like 1+2*sin(y^10)/cos(x*y) and similar, so far only + - * / ^ sin con

Learning Python using a book based on version 1.5

2007-08-22 Thread [EMAIL PROTECTED]
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

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread Frederick Polgardy
On Aug 22, 3:27 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: 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

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread Matt McCredie
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

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread [EMAIL PROTECTED]
http://docs.python.org/tut/http://www.diveintopython.org/ I'm dense so the online python docs make great sources for reference points and they help clarify ambiguity but its too dry (without enough sample code) to help me fully understand the concepts. I think Dive Into Python would probably

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread 7stud
[EMAIL PROTECTED] wrote: 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

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread James Stroud
if you use a 1.5 book, you will be learning some stuff you will *need* to unlearn at the expense of learning things you should know. I think the online tutorial is the way to go, or the newest Learning Python from Lutz. After that, check out TPIP (Mertz) or the Programming Python book from Lutz

Re: Learning Python using a book based on version 1.5

2007-08-22 Thread Steve Holden
Laura Lemay), but you if you use a 1.5 book, you will be learning some stuff you will *need* to unlearn at the expense of learning things you should know. I think the online tutorial is the way to go, or the newest Learning Python from Lutz. After that, check out TPIP (Mertz

PHP5 programmer learning Python

2007-05-27 Thread romiro
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

Re: PHP5 programmer learning Python

2007-05-27 Thread darren kirby
quoth the romiro: Hi all, ... Anyway, my first question was if anyone knows of a tutorial that focuses on PHP - Python learning, in such that there might be a block of PHP code alongside an example of how to do the same thing in Python. One example of something I've already mapped a

Re: PHP5 programmer learning Python

2007-05-27 Thread Gabriel Genellina
En Sun, 27 May 2007 12:41:36 -0300, romiro [EMAIL PROTECTED] escribió: Anyway, my first question was if anyone knows of a tutorial that focuses on PHP - Python learning, in such that there might be a block of PHP code alongside an example of how to do the same thing in I don't know of a

Re: PHP5 programmer learning Python

2007-05-27 Thread Steve Howell
--- romiro [EMAIL PROTECTED] wrote: Anyway, my first question was if anyone knows of a tutorial that focuses on PHP - Python learning, in such that there might be a block of PHP code alongside an example of how to do the same thing in Python. I know exactly what you mean, and I

Re: PHP5 programmer learning Python

2007-05-27 Thread 7stud
the insecure pitfalls the language has begat in the past, and an attempt to produce as clean of a syntax as the language can allow. Thanks in advance for any help. Read Learning Python(2nd ed) and do all the exercises. If you have questions, post them. -- http://mail.python.org/mailman/listinfo

Re: PHP5 programmer learning Python

2007-05-27 Thread Steve Howell
--- romiro [EMAIL PROTECTED] wrote: I've recently tried C#, a very short lived re-attempt at C++ and Java, and Ruby. To the extend that you're familiar with C++/Java/Ruby, you may find this link as an interesting way to see how Python looks: http://www.dmh2000.com/cjpr/cmpframe.html

Re: PHP5 programmer learning Python

2007-05-27 Thread Cameron Laird
In article [EMAIL PROTECTED], Gabriel Genellina [EMAIL PROTECTED] wrote: En Sun, 27 May 2007 12:41:36 -0300, romiro [EMAIL PROTECTED] escribió: Anyway, my first question was if anyone knows of a tutorial that focuses on PHP - Python learning, in such that there might be a block of PHP code

Re: PHP5 programmer learning Python

2007-05-27 Thread Luis M . González
yourself into learning Python, which is a general purpose programming language suitable for many tasks, and not only for the web. Start with the official tutorial or, if you want something more advanced, read Dive into Python. Once you get a rough idea of all the cool things you can do with Python

Re: Learning Python - First Project

2007-04-24 Thread kyosohma
On Apr 23, 6:36 pm, 7stud [EMAIL PROTECTED] wrote: On Apr 23, 5:04 pm, Kevin Haynes [EMAIL PROTECTED] wrote: Hello I was a python newbie just a month ago and found the following books a great help. Beginning Python: From Novice to Professional (Beginning: From Novice to

Learning Python - First Project

2007-04-23 Thread KDawg44
Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The guts of the program I am not having any trouble with but the GUI part I am (or more accurately, the transition

Re: Learning Python - First Project

2007-04-23 Thread kyosohma
On Apr 23, 9:52 am, KDawg44 [EMAIL PROTECTED] wrote: Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The guts of the program I am not having any trouble with but

Re: Learning Python - First Project

2007-04-23 Thread kyosohma
On Apr 23, 9:52 am, KDawg44 [EMAIL PROTECTED] wrote: Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The guts of the program I am not having any trouble with but

Re: Learning Python - First Project

2007-04-23 Thread kyosohma
On Apr 23, 1:44 pm, [EMAIL PROTECTED] wrote: On Apr 23, 9:52 am, KDawg44 [EMAIL PROTECTED] wrote: Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The

Re: Learning Python - First Project

2007-04-23 Thread KDawg44
On Apr 23, 1:44 pm, [EMAIL PROTECTED] wrote: On Apr 23, 9:52 am, KDawg44 [EMAIL PROTECTED] wrote: Hi, I am new to Python and am trying to write a little front end to another application in Python. What I want is to have a gui pop up listing some items with several buttons. The

Re: Learning Python - First Project

2007-04-23 Thread 7stud
On Apr 23, 12:26 pm, [EMAIL PROTECTED] wrote: I am assuming you are using Tkinter for your front-end GUI. You might also take a gander at wxPython. It has an excellent demo you could download and it might give you some additional ideas for implementation:www.wxpython.org. Mike Hi, I've

Re: Learning Python - First Project

2007-04-23 Thread 7stud
On Apr 23, 4:25 pm, 7stud [EMAIL PROTECTED] wrote: On Apr 23, 12:26 pm, [EMAIL PROTECTED] wrote: I am assuming you are using Tkinter for your front-end GUI. You might also take a gander at wxPython. It has an excellent demo you could download and it might give you some additional ideas for

Re: Learning Python - First Project

2007-04-23 Thread 7stud
Uhhmm...how are you supposed to close a ShapedWindow(under Miscellaneous)? -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python - First Project

2007-04-23 Thread Kevin Haynes
Hello I was a python newbie just a month ago and found the following books a great help. Beginning Python: From Novice to Professional (Beginning: From Novice to Professional) by Magnus L. Hetland (Paperback - 29 Sep 2005)

Re: Learning Python - First Project

2007-04-23 Thread 7stud
On Apr 23, 5:04 pm, Kevin Haynes [EMAIL PROTECTED] wrote: Hello I was a python newbie just a month ago and found the following books a great help. Beginning Python: From Novice to Professional (Beginning: From Novice to Professional) by Magnus L. Hetland (Paperback - 29 Sep

Re: Learning Python book, new edition?

2007-01-16 Thread Aahz
In article [EMAIL PROTECTED], wesley chun [EMAIL PROTECTED] wrote: more on topic, here's a summary of Python books which are rev'd up to 2.5, categorized but not in any particular order: Python learning: - Python for Dummies, Maruch, Sep 2006 That should be Maruch Maruch -- my primary partner

Re: Learning Python book, new edition?

2007-01-14 Thread wesley chun
page and/or the book's website at http://corepython.com to see if it's right for you. more on topic, here's a summary of Python books which are rev'd up to 2.5, categorized but not in any particular order: Python learning: - Python for Dummies, Maruch, Sep 2006 - Core Python Programming, Chun

RE: Learning Python book, new edition?

2007-01-12 Thread Demel, Jeff
John wrote: So what happens with google bots etc... Information provided in the email could be helpful to others that are NOT the original recipient. And what happens to the archive stuff? I will forward your response to our crack legal department. Perhaps they can help you with your very

Re: Learning Python book, new edition?

2007-01-12 Thread Steven Wayne
On Thu, 11 Jan 2007 16:42:34 -0600, Demel, Jeff [EMAIL PROTECTED] wrote: John wrote: So what happens with google bots etc... Information provided in the email could be helpful to others that are NOT the original recipient. And what happens to the archive stuff? I will forward your

Re: Learning Python book, new edition?

2007-01-12 Thread Duncan Booth
Steven Wayne [EMAIL PROTECTED] wrote: Don't take this the wrong way, but this isn't an email, it's a usenet posting. It is now, but it started as an email. If you examine its headers he sent it to the list but the list administrator had set up software up to copy the email to a newsgroup.

Re: Learning Python book, new edition?

2007-01-12 Thread Steven D'Aprano
On Fri, 12 Jan 2007 04:50:21 -0600, Steven Wayne wrote: [snip stupid disclaimer and response to it] Unlawful how? You've already given permission for an agent responsible for delivering the message to broadcast it around the world. Sorry for the rant, but I'm an email admin and I've just

Re: Learning Python book, new edition?

2007-01-12 Thread Steven Wayne
On 12 Jan 2007 11:06:29 GMT, Duncan Booth [EMAIL PROTECTED] wrote: Steven Wayne [EMAIL PROTECTED] wrote: Don't take this the wrong way, but this isn't an email, it's a usenet posting. It is now, but it started as an email. If you examine its headers he sent it to the list but the

Re: Learning Python book, new edition?

2007-01-12 Thread Steven Wayne
On Fri, 12 Jan 2007 22:44:33 +1100, Steven D'Aprano [EMAIL PROTECTED] wrote: On Fri, 12 Jan 2007 04:50:21 -0600, Steven Wayne wrote: [snip stupid disclaimer and response to it] Unlawful how? You've already given permission for an agent responsible for delivering the message to

Learning Python book, new edition?

2007-01-11 Thread Demel, Jeff
Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. Anyone on the list have Lutz's ear? -Jeff This email is intended only for the individual or entity to which

Re: Learning Python book, new edition?

2007-01-11 Thread Bjoern Schliessmann
Demel, Jeff wrote: Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. IIRC, differences to 2.4 are in it, too. This email is intended only for the individual or entity

RE: Learning Python book, new edition?

2007-01-11 Thread Demel, Jeff
Demel, Jeff wrote: Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. Björn replied: IIRC, differences to 2.4 are in it, too. Interesting. The description I read said

Re: Learning Python book, new edition?

2007-01-11 Thread Kent Johnson
Bjoern Schliessmann wrote: Demel, Jeff wrote: Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. IIRC, differences to 2.4 are in it, too. No, it is one version back

Re: Learning Python book, new edition?

2007-01-11 Thread Daniel Klein
On Thu, 11 Jan 2007 18:11:06 +0100, Bjoern Schliessmann [EMAIL PROTECTED] wrote: Demel, Jeff wrote: Does anyone know if there's a plan in the works for a new edition of Learning Python? The current edition (2nd) is a few years old and looks like it only covers Python 2.3. IIRC, differences

Re: Learning Python book, new edition?

2007-01-11 Thread Robert Hicks
I would get Core Python Programming by Wesley Chun. It covers just about everything under the sun and includes version 2.5. Robert -- http://mail.python.org/mailman/listinfo/python-list

RE: Learning Python book, new edition?

2007-01-11 Thread johnf
Demel, Jeff wrote: This email is intended only for the individual or entity to which it is addressed.  This email may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or any attachments by anyone

RE: Learning Python book, new edition?

2007-01-11 Thread Bjoern Schliessmann
Demel, Jeff wrote: Björn replied: IIRC, differences to 2.4 are in it, too. Interesting. The description I read said 2.3. That's good to know. Whoops, I think it was Python Cookbook that has also remarks about 2.4. Learning Python is only about 2.3 as it seems. Regards, Björn -- BOFH

Learning Python

2006-11-06 Thread kaushal
Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming experience Thanks and Regards Kaushal -- http://mail.python.org/mailman/listinfo/python-list

Re: Learning Python

2006-11-06 Thread ArdPy
kaushal wrote: Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming experience Thanks and Regards Kaushal Hi kaushal, Look into http://diveintopython.org. Dive into python is a really readable ebook...enjoy -- http

Re: Learning Python

2006-11-06 Thread Jorge Vargas
On 6 Nov 2006 01:33:36 -0800, ArdPy [EMAIL PROTECTED] wrote: kaushal wrote: Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming experience Thanks and Regards Kaushal Hi kaushal, Look into http

Re: Learning Python

2006-11-06 Thread kaushal
On Nov 6, 2:54 pm, Jorge Vargas [EMAIL PROTECTED] wrote: On 6 Nov 2006 01:33:36 -0800, ArdPy [EMAIL PROTECTED] wrote: kaushal wrote: Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming experience Thanks

Re: Learning Python

2006-11-06 Thread Ramon Diaz-Uriarte
On 6 Nov 2006 03:12:34 -0800, kaushal [EMAIL PROTECTED] wrote: On Nov 6, 2:54 pm, Jorge Vargas [EMAIL PROTECTED] wrote: On 6 Nov 2006 01:33:36 -0800, ArdPy [EMAIL PROTECTED] wrote: kaushal wrote: Hi How do i start Learning Python,is there any reference material which I

Re: Learning Python

2006-11-06 Thread mohan
Hi Kaushal, Other than Core Python by Chun, also try Python: How To Program by Dietel Dietel. It is one of the good books for bigginers. Good Luck, Mohan. On Nov 6, 10:00 am, kaushal [EMAIL PROTECTED] wrote: Hi How do i start Learning Python,is there any reference material which I can

Re: Learning Python

2006-11-06 Thread [EMAIL PROTECTED]
some J (if you're curious about a really *different* language): http://www.4dsolutions.net/ocn/cp4e.html Kirby Oregon Curriculum Network [EMAIL PROTECTED] kaushal wrote: Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming

Re: Learning Python

2006-11-06 Thread Luis M. González
kaushal wrote: Hi How do i start Learning Python,is there any reference material which I can refer since I dont have any programming experience Thanks and Regards Kaushal If you have no programming experience at all, I highly recomend Non Programmers Tutorial for Python by Josh Cogliati

Re: Learning Python - Have Question.

2006-08-28 Thread Tal Einat
Thank you for this. The most daunting task in learning Python, is learning all of the modules and functions that are available. And there's a tonne of them. :-) Actually, much of this file-system related stuff really is badly spread out between many different modules (os, os.path, glob

Re: Learning Python

2006-08-27 Thread Tal Einat
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

Re: Learning Python - Have Question.

2006-08-27 Thread Tal Einat
iapain wrote: I'm just learning Python, and I have a question about os.path.join(dirpath, name) and its use. Simply put, I haven't figured out how to use it. First thing you have to remember while using python is everything is an object. os.join.path concatenates one or more path

Re: Learning Python

2006-08-27 Thread [EMAIL PROTECTED]
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

Re: Learning Python - Have Question.

2006-08-27 Thread AlbaClause
is. You can check premissions for the current user with os.access(). Finally, you can find out more data about any file with the stat module, which is more low-level. Thank you for this. The most daunting task in learning Python, is learning all of the modules and functions that are available

Learning Python

2006-08-26 Thread JAG CHAN
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

Re: Learning Python

2006-08-26 Thread vbgunz
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

Re: Learning Python

2006-08-26 Thread bearophileHUGS
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

Re: Learning Python

2006-08-26 Thread JAG CHAN
[EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: 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

Re: Learning Python

2006-08-26 Thread Duncan Booth
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

Re: Learning Python

2006-08-26 Thread Andre Meyer
http://www.python.org/download/releases/2.4/bugs/IDLE now executes code in a separate process. To communicate between the main process and executing processes, IDLE opens a socket to 127.0.0.1 (the local machine). Some firewalls running on Windows machines interfere with this and can cause

Re: Learning Python

2006-08-26 Thread SuperHik
JAG CHAN wrote: [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: 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

Learning Python - Have Question.

2006-08-26 Thread AlbaClause
I'm just learning Python, and I have a question about os.path.join(dirpath, name) and its use. Simply put, I haven't figured out how to use it. I was looking through the Python reference material in the wee hours of the morning and checking out some of the modules. I was keenly interested

Re: Learning Python - Have Question.

2006-08-26 Thread iapain
I'm just learning Python, and I have a question about os.path.join(dirpath, name) and its use. Simply put, I haven't figured out how to use it. First thing you have to remember while using python is everything is an object. os.join.path concatenates one or more path for example os.path.join(c

Re: Learning Python - Have Question.

2006-08-26 Thread AlbaClause
iapain wrote: I'm just learning Python, and I have a question about os.path.join(dirpath, name) and its use. Simply put, I haven't figured out how to use it. First thing you have to remember while using python is everything is an object. os.join.path concatenates one or more path

Re: Learning Python

2006-08-12 Thread Dr. Pastor
What a bright replies! It is a pleasure to study them. Thanks to you all. == Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News== http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups = East and West-Coast Server Farms - Total Privacy

Learning Python

2006-08-11 Thread Dr. Pastor
Attempting to learn Python; I constructed the module listed below. I would like to make it shorter, faster, more Python like. (Windows XP, Pro.) Many thanks for any advice! ... #--- # Name:SendMoreMoney.py #

Re: Learning Python

2006-08-11 Thread Gabriel Genellina
At Friday 11/8/2006 18:04, Dr. Pastor wrote: Attempting to learn Python; I constructed the module listed below. I would like to make it shorter, faster, more Python like. (Windows XP, Pro.) Many thanks for any advice! ...

Re: Learning Python

2006-08-11 Thread Ben Finney
Dr. Pastor [EMAIL PROTECTED] writes: #--- # Name:SendMoreMoney.py # Purpose: A solution to the SEND+MORE=MONEY puzzle. # # Author: Dr. Pastor # # Copyright: (c) Dr. Pastor 2006

Re: learning python idioms

2006-06-11 Thread vbgunz
After several years developing in Java, I've begun to switch to Python for several of my new projects as I have found the language quite interesting. I've read several tutorials and implemented a few sample programs and I've found that Python enables one to program in a variety of different

Re: learning python idioms

2006-06-11 Thread bayerj
Hi, If you switched from java to python the best point to start is http://dirtsimple.org/2004/12/python-is-not-java.html. Greets, -Justin -- http://mail.python.org/mailman/listinfo/python-list

Re: learning python idioms

2006-06-11 Thread gene tani
[EMAIL PROTECTED] wrote: After several years developing in Java, I've begun to switch to Python for several of my new projects as I have found the language quite interesting. I've read several tutorials and implemented a few sample programs and I've found that Python enables one to program

Re: learning python idioms

2006-06-11 Thread gene tani
bayerj wrote: Hi, If you switched from java to python the best point to start is http://dirtsimple.org/2004/12/python-is-not-java.html. Greets, -Justin yup, you could spend weeks reading the Language Wars:

Re: learning python idioms

2006-06-11 Thread bayerj
yup, you could spend weeks reading the Language Wars: Actually, that link is not about language wars. It's about making the switch from java to python. Nothing more, nothing less. -- http://mail.python.org/mailman/listinfo/python-list

Re: learning python idioms

2006-06-11 Thread James Stroud
[EMAIL PROTECTED] wrote: After several years developing in Java, I've begun to switch to Python for several of my new projects as I have found the language quite interesting. I've read several tutorials and implemented a few sample programs and I've found that Python enables one to program in

learning python idioms

2006-06-10 Thread conkerll
After several years developing in Java, I've begun to switch to Python for several of my new projects as I have found the language quite interesting. I've read several tutorials and implemented a few sample programs and I've found that Python enables one to program in a variety of different

Re: Learning Python 2nd ed. p479 error?

2006-05-27 Thread AbrahamLincolnIllinois
Thanks for your help, guys. I'm convinced it is a bug, not a misunderstanding. I submitted it to the errata page at O'Reilly. Regards, Abraham -- http://mail.python.org/mailman/listinfo/python-list

Learning Python 2nd ed. p479 error?

2006-05-26 Thread AbrahamLincolnIllinois
Hello all. On page 479, the 2nd edition of the Learning Python book, this code appears class Derived(Base): def __init__(self, arg, *args, **kw): self.__init__(self, *args, **kw) Surely self.__init__ should be Base.__init__ Everything else in the book has

Re: Learning Python 2nd ed. p479 error?

2006-05-26 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: On page 479, the 2nd edition of the Learning Python book, this code appears class Derived(Base): def __init__(self, arg, *args, **kw): self.__init__(self, *args, **kw) Surely self.__init__ should be Base.__init__ I don't

Re: Learning Python 2nd ed. p479 error?

2006-05-26 Thread Mel Wilson
[EMAIL PROTECTED] wrote: Hello all. On page 479, the 2nd edition of the Learning Python book, this code appears class Derived(Base): def __init__(self, arg, *args, **kw): self.__init__(self, *args, **kw) Surely self.__init__ should be Base

Re: Learning Python 2nd ed. p479 error?

2006-05-26 Thread [EMAIL PROTECTED]
Looks like an error. I didn't see it the errata: http://www.oreilly.com/catalog/lpython2/errata/ -- http://mail.python.org/mailman/listinfo/python-list

MakeBot - IDE for learning Python

2006-05-05 Thread Winston Wolff
I have just released a Windows and Macintosh OS X version of MakeBot, an IDE intended for students learning Python. It includes a very nice graphics/video game package based on PyGame. You can read all about it here: http://stratolab.com/misc/makebot/ -Winston -- http

Re: Learning Python

2006-02-06 Thread Kent Johnson
Byte wrote: Yes, sorry, didnt realise diffrence between int and input. Since i'm such an idiot at this, any links to sites for people who need an unessicerily gentle learning curve? The Python tutor mailing list is for newbies: http://mail.python.org/mailman/listinfo/tutor Many beginners'

Re: Learning Python

2006-02-06 Thread Ron Rogers Jr.
Byte wrote: Yes, sorry, didnt realise diffrence between int and input. Since i'm such an idiot at this, any links to sites for people who need an unessicerily gentle learning curve? I'm new to Python too, here's a few I've found useful: http://www.greenteapress.com/thinkpython/

<    1   2   3   4   5   6   >