![]() |
Introduction to Python
A few years ago, people who wished to study programming as a hobby had an important decision to make: Which programming language would they study for their first?
Many people chose to start with BASIC or Pascal, because they were easier. Indeed, those languages are fairly well-suited to hobbyist programming, for people with simpler needs, who basically just want a programming language that won't overwhelm them. But many professional programmers denounce BASIC and Pascal as bad for learning with, because they teach programmers "bad habits" which will be hard to break later on. Some people just started with a professional-level language like C or Fortran. In fact, there really is nothing wrong with learning C as your first language, it's just harder to get into it. Still other people opted for "instructional" languages which are specifically categorized for people studying programming concepts, like Scheme or ALGOL. Although these languages might make nice learning tools, they have one problem: They're considered useless for real-world programming. And so the budding programmers were left with a dilemma: Wasn't there a resonably easy-to-learn programming language which wouldn't enforce bad programming technique and which was useful for general-purpose programming? Classically, the answer was no. But the computer industry moves on, as all industries will, and we've come a long way from the days when most hobbyists were cranking out BASIC code on Commodore 64s or Apple ][ systems. There's a new programming language which aims to be easy-to-learn, elegant, powerful, and useful. It's called Python. Python is interpreted, not compiled (much like Perl). The Python interpreter is free and can be downloaded from www.python.org. So now that you know what Python is, where's the tutorial? Right here: OK, the first thing you might want to know about Python is, how do you print to the screen with it? Well, Python uses good old standard print. So Python's "Hello, World" program looks just like BASIC's: Code: Python
Code: Python
Here's a program showing you how to make a socket in Python: Code: Python
|
Re: Introduction to Python
I recently wrote an article about Python and I think it has a lot of scope when teamed with XML. If you would like to have more info on python, visit the Oracle official site which has info for XML and Python.
|
Re: Introduction to Python
Thanks for the Information..... it is really helpful...
|
Re: Introduction to Python
hi,
pradeep Introduction to Python A few years ago, people who wished to study programming as a hobby had an important decision to make: Which programming language would they study for their first? Many people chose to start with BASIC or Pascal, because they were easier. Indeed, those languages are fairly well-suited to hobbyist programming, for people with simpler needs, who basically just want a pr |
Re: Introduction to Python
When i was young boy ,I started programing from C++.
|
Re: Introduction to Python
Thanks for the Information!
It is really helpful! |
Re: Introduction to Python
Quote:
|
Re: Introduction to Python
This is Klusner and i am new here.I need the cooperation of each and ever person here for the useful exchange of information.
|
Re: Introduction to Python
Is google is also made in Python. I heard one eveloper saying this.
|
| All times are GMT +5.5. The time now is 13:13. |