Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Python....


    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.

    Regards,

    Steve Drake
  2. #2
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Thank you


    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.

    Thanks again
  4. #3
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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?
  6. #4
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  8. #5
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    cool!


    I downloaded zope and have started playing with it. Hot damn that's some powerful stuff! I'm thoughouly impressed. Thanks for the link!
  10. #6
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  12. #7
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Nice article!!


    When will you post the part2? I am a new user in python.
    thanks.
  14. #8
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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
  16. #9
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Thats it!


    Python is the No1 pure OOP scripting language and nothing else compares to it. The shortest joke for us Pythoneers is "Object-Oriented Perl"!
  18. #10
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    test.


    >>> alpha = test.veryBigSnake()
    >>> veryBigSnake.set_snake_name
    (alpha, "Peter Python")
    >>> alpha.name
    '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,
    Chris.

    X-No-archive: yes
  20. #11
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  22. #12
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  24. #13
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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
    def eat(self):
    # 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.

    netvegetable
  26. #14
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    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.
  28. #15
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Great tutorial


    This is great tutorial. It is as simple as that. Thanks!
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo