Difference between revisions of "Python"

From Christoph's Personal Wiki
Jump to: navigation, search
(Started article)
 
Line 7: Line 7:
 
* case sensitive (i.e. <tt>var</tt> and <tt>VAR</tt> are two different variables); and
 
* case sensitive (i.e. <tt>var</tt> and <tt>VAR</tt> are two different variables); and
 
* object-oriented (i.e. everything is an object).
 
* object-oriented (i.e. everything is an object).
 +
 +
== Reserved words (native to Python) ==
 +
and elif global or
 +
assert else if pass
 +
break except import print
 +
class exec in raise
 +
continue finally is return
 +
def for lambda try
 +
del from not while
  
 
== External links ==
 
== External links ==
Line 14: Line 23:
 
* [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] &mdash; from Poromenos's Stuff
 
* [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] &mdash; from Poromenos's Stuff
 
* [http://www.diveintopython.org/ Dive Into Python &mdash; Python from novice to pro] &mdash; download entire eBook.
 
* [http://www.diveintopython.org/ Dive Into Python &mdash; Python from novice to pro] &mdash; download entire eBook.
 +
* [http://www-128.ibm.com/developerworks/library/l-cheatsheet3.html Python 101 cheat sheet]
  
 
[[Category:Technical and Specialized Skills]]
 
[[Category:Technical and Specialized Skills]]

Revision as of 00:16, 5 September 2006

Python is an interpreted programming language created by Guido van Rossum in 1990. Python is fully dynamically typed and uses automatic memory management; it is thus similar to Perl, Ruby, Scheme, Smalltalk, and Tcl. Python is developed as an open source project, managed by the non-profit Python Software Foundation. Python 2.4.2 was released on 28 September 2005.

Properties

  • Python is strongly typed (i.e. types are enforced);
  • dynamically, implicitly typed (i.e. you don't have to declare variables);
  • case sensitive (i.e. var and VAR are two different variables); and
  • object-oriented (i.e. everything is an object).

Reserved words (native to Python)

and		elif		global		or
assert		else		if		pass
break		except		import		print
class		exec		in		raise
continue	finally		is		return
def		for		lambda		try
del		from		not		while

External links