The Deadly Python

October 11, 2007 at 8:37 am 3 comments

Our OR lecturer has recently been speaking highly of the Python programming language.

Python is a high-level programming language which has been designed in such a way as to completely emulate the wonders of C/C++ but without the bother of complex syntax and complicated pointers. Python is distributed under an OSI-approved open source licence that makes it free to use, even for commercial products.

Some of its key distinguishing features include (www.python.org):

  • very clear, readable syntax
  • strong introspection capabilities
  • intuitive object orientation
  • natural expression of procedural code
  • full modularity, supporting hierarchical packages
  • exception-based error handling
  • very high level dynamic data types
  • extensive standard libraries and third party modules for virtually every task
  • extensions and modules easily written in C, C++ (or Java for Jython, or .NET languages for IronPython)
  • embeddable within applications as a scripting interface

Python is friendly and easy to use. It is powerful and fast and can handle mostly any problem-domain. But right-now, python is being used on a grand-scale specially in the Games Industry (PC games, etc).

To python is attached Pygame, a set of modules designed to be used with python to develop video games. Pygame was written by Pete Shinners – a geek with good intentions – and he actually succeeded in facilitating the lives of game programmers. Pygame has gained so much popularity in so little time, based on the assumption that, most of the complex graphics functions inside a game, can be abstracted from the game logic itself. Thus programmer van concentrate on the game structure.

As mentioned earlier, python boasts of extremely simple syntax, and thus makes a great first programming language to learn programming with.

But as for us, yr-3 CS students who already know the basic rudiments of programming, learning only the if constructs, while loops, variables declarations, etc for us to be able to work out the simple logical OR labsheets we are given in class, is not really constructive work.

Learning python to create magic is a better pursuit than to learn the basics only. However, learning the basics of it will take only an hour… so if u find u have a free hour somewhere,then go get cracking!

Our lecturer will be so proud of u. And of himself too.

So ppl, let the snake in… N we’ll compare results on Wednesday next in the Lab.

Cheerz!

Kevina

@ Yash: hre u r… 😉

Advertisements

Entry filed under: CS.

My New Banner! Engineering BFs r best ?!

3 Comments Add your own

  • 1. ¥@$#  |  October 11, 2007 at 2:18 pm

    But as for us, yr-3 CS students who already know the basic rudiments of programming, learning only the if constructs, while loops, variables declarations, etc for us to be able to work out the simple logical OR labsheets we are given in class, is not really constructive work.

    Our lecturer will be so proud of u. And of himself too.

    I entirely agree with this… especially with the bold part…

    P.S. In the U.S. people don’t die, they live forever… they are no crimes, no hate, no wars, they just make love all day all night long…

    Reply
  • 2. Kevina  |  October 11, 2007 at 3:20 pm

    lol

    pa kasse tete toi… li pa marier boug la, pna fami, zenfan… li pna otre option apart plein nou la vie…

    Bear him and move on… Long Live Mauritius! where ppl do die… bt spend their lives making love all day all night….. 😈

    Reply
  • 3. hokage4th  |  October 11, 2007 at 4:47 pm

    For game programming, i think its the best… not in term of performance but its easier than c++ opengl and directX.

    Cheerz!

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

October 2007
M T W T F S S
    Dec »
1234567
891011121314
15161718192021
22232425262728
293031  

Most Recent Posts


%d bloggers like this: