|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've heard A LOT of good things about Python, but no one has ever told me what exactly Python is... I figured out it's a programming language, but is it for offline applications or online applications? Is the program coding like Perl?
|
|
#2
|
||||
|
||||
|
Certainly; anything you imagine Perl could do, Python can too. Internet Servers and clients, networking apps, Desktop apps, database interfaces, humble shell scripts etc.. etc..
I don't want to encourage a Perl versus Python debate but Python does not suffer from line noise in the way Perl does. It is easier to learn, read, write and maintain. Spend a little time with Python, it's worth it ![]() grim ![]()
__________________
*** Experimental Python Markup CGI V2 *** |
|
#3
|
||||
|
||||
|
From the Python.org "What is Python?" page at http://www.python.org/doc/Summary.html:
Code:
Python is an interpreted, interactive, object-oriented programming language. It is often compared to Tcl, Perl, Scheme or Java. Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, as well as to various windowing systems (X11, Motif, Tk, Mac, MFC). New built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface. The Python implementation is portable: it runs on many brands of UNIX, on Windows, OS/2, Mac, Amiga, and many other platforms. If your favorite system isn't listed here, it may still be supported, if there's a C compiler for it. Ask around on news:comp.lang.python -- or just try compiling Python yourself. Thats a pretty good summary. But from a developers point of view, using Python puts you in a win-win situation. It may lack some of the resources that perl does, for instance [CPAN], but the friendly attitude of the Python community more than makes up for that .Definatly give Python a go, if only for a little fun. Mark. |
|
#4
|
|||
|
|||
|
Do you recommend any books on Python?
|
|
#5
|
|||
|
|||
|
Dive into python (www.diveintopython.org)
|
|
#6
|
||||
|
||||
|
Maybe Learning Python by O'Reilly publishers, too, although Dive Into Python is the one I used more.
|
|
#7
|
||||
|
||||
|
It really depends on what you want to do with Python. But I would definatly grab a copy of the "Learning Python" second edition; "Programming Python" also, makes a good read along side this one.
But don't forget that there's a lot of documentation online, so if you don't feel like running straight out and buying one of these books you might want to read though the official Python tutorial: http://docs.python.org/tut/tut.html Mark. |
|
#8
|
|||
|
|||
|
Python Programming for the Absolute Beginner
This is a superb and straightforward introduction. There are code examples for every new subject and command structure. Every chapter ends with you making a neat little game, so it's not quite as dry as many other "Learn It Yourself in Less Time Than Reasonable" books, and certainly less dry than any U course text you may pick up. Each chapter also ends with a short set of Machine Problems [Challenges], which are basically fun homeworks to challenge your understanding of the concepts learned so far and cement the programming mentality. |
|
#9
|
|||
|
|||
|
Thanks for all of the suggestions!
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Python? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|