>>> abs (4) 4 >>> abs (-4) 4 Using the PRINT command >>>print “Hello World” Hello World >>> myString = “Hello World” >>> print myString Hello World >>> myString ‘Hello World’ >>> saluji = “Mari” >>> print saluji Mari >>> saluji ‘Mari’ (Notice the Quotation marks on the sides) Alternatives to print and string definitions …
Category Archives: Python
PYTHON MODULES
Python Modules are “PLUG-INS” that enhance and add new abilities to your Python SDK. Some very cool modules include the following: PIL (Phython Image Library): PIL adds the functionality of IMAGING and GUI applications building. Access the install for Windows and Python 2.5 HERE PYGAME (Python Game Development): PYGAME is a Python game SDK module …
Sharing my PYTHON lessons: LESSON 1
PYTHON LESSON 1(Absolute Value, Print, Alias, String Format Operator) Try these simple python commands to get an understanding of the basics. Start your DOS based python or your IDLE gui Python. At the prompt we’ll start with “Getting an absolute value of any number”. >>> abs (4) 4 >>> abs (-4) 4 Using the PRINT …
The BATTLE of Python Programming in Windows
If there is anyone whom should not write a guide to using phyton, it should be me. I have already had a year of Phyton tutorial and i never got it. I sometimes thought of just giving up and retreating to my FILM world (Im originally a 35mm film director/editor) . Phyton is used everywhere… …
Continue reading “The BATTLE of Python Programming in Windows”