November 6th, 2001, 11:01 AM
Thanks I enjoyed the Python tutorial and
look forward to the next one. I'm a real
newbie and saw python as an interesting
language to use for any task, I just need
to read more about it. So again thanks for the artical.
November 7th, 2001, 08:41 AM
At last, something that actually talks about the basis of python. This is exactly what I needed, as I had reached a level where I was just confused with this language. Now I understand Object Orientation, the rest just seems to fall into place.
November 7th, 2001, 10:26 AM
but what can it DO?
First, thanks for a great article...I always appreciate what you guys do.
But the thing for me is that I already KNOW that python is a structurally amazing language, but I have seen very little of what it can do from a more pragmatic perspective...Does anybody have an info on this? Does python have an API for windowing? Can it act as an embedded scripting language? Or is the worlds coolest language that is forever damned to CGI and the command prompt?
November 7th, 2001, 10:50 PM
re: but what can id DO?
check out www.zope.org, quite possibly the coolest use of python out there. Devshed seems to have made the migration.
Great Artical looking forward to part II.
November 8th, 2001, 03:53 PM
I downloaded zope and have started playing with it. Hot damn that's some powerful stuff! I'm thoughouly impressed. Thanks for the link!
November 8th, 2001, 09:28 PM
check it out!!!
The most used windowing toolkit for python is tkinter, which when you check it out is very simple, especially if your used to guis made in java or a more complex language. Check out python.org or www.onlamp.com for some good python info. If you want embedded scripting then check out jython at www.jython.org
Jython is a 100% pure java implementation which allows to use the java api in your python programs and also to quickly generate java classes using jythonc- a compiling tool. I've only recently been playing with python/jython but you can do some cool stuff. Database integration is almost as easy as php, and i've started making some python classes for that purpose. It was quick and easy, just like finding some info on how to use python for that and other purposes.
November 14th, 2001, 01:49 AM
When will you post the part2? I am a new user in python.
November 14th, 2001, 06:49 AM
what about me!?
Please give us the second part and don't let this turn into the python cgi articles again which never seemed to continue
November 16th, 2001, 12:50 PM
Python is the No1 pure OOP scripting language and nothing else compares to it. The shortest joke for us Pythoneers is "Object-Oriented Perl"!
November 21st, 2001, 10:09 AM
>>> alpha = test.veryBigSnake()
(alpha, "Peter Python")
The test. in this snippet threw me off a bit. I am unfamiliar enough with Python that I did not know it was _not_ a method. I am guessing test is just another object and veryBigSnake() is a property of it.
Thanks for your otherwise lucid tutorial on OO,
January 28th, 2002, 06:51 AM
February 22nd, 2002, 03:51 AM
June 28th, 2002, 04:51 AM
What a tutorial!
As a programming newby, I was beginning to think that OOP was beyond me. But this tutorial has fixed that, praise be to devshed!
One small criticism. I found that the examples given didn't quite work in my Windows edition of IDLE. Code like this ......
# some useful methods
# code goes here
... tended to return an indentation error. In some cases, I actually found it easier to save the script to my lib directory, then import it from the command line.
Other newbies might be completely confounded by this, I daresay.
July 13th, 2002, 03:59 AM
parameters vs. arguments
In the article, the author refers to passing a parameter with a name, something like "Peter Python".
The author makes use of incorrect terminology. One passes arguments to parameters, i.e., one makes an argument to a function. Many people make this mistake, including computer science Ph.D. holders, computer book authors, computer engineers, etc.
Theoretically, a parameter, not to be confused with the word perimeter, is something that bounds the functioning of something else. No doubt, you have heard the expression, "operate within these parameters", or something similar. One passes arguments to a function so that the function will operate within its parameters using the arguments supplied.
A function makes use of parameters that control the operation of the function.
November 7th, 2002, 04:26 AM
This is great tutorial. It is as simple as that. Thanks!