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
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
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
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
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
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
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
I second the Python Cookbook recommendation.
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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
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
--- 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
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
--- 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
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
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
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
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
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
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
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
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
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
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
Uhhmm...how are you supposed to close a ShapedWindow(under
Miscellaneous)?
--
http://mail.python.org/mailman/listinfo/python-list
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)
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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
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
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
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
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
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
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
#
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!
...
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
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
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
[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
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:
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
[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
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
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
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
[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
[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
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
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
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'
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/
401 - 500 of 580 matches
Mail list logo