Difference between revisions of "Python"

From Christoph's Personal Wiki
Jump to: navigation, search
(External links)
Line 79: Line 79:
 
===Techniques===
 
===Techniques===
 
*[http://meta.wikimedia.org/wiki/Interwiki_bot/Getting_started Using the python wikipediabot]
 
*[http://meta.wikimedia.org/wiki/Interwiki_bot/Getting_started Using the python wikipediabot]
*[http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/python/ramachandran/top500/ Calculating phi/psi angles for the "Top 500" PDB files]
 
 
*[http://www.blog.pythonlibrary.org/?p=34 wxPython: Embedding an image in your title bar]
 
*[http://www.blog.pythonlibrary.org/?p=34 wxPython: Embedding an image in your title bar]
 +
====Bioinformatics====
 +
*[http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/python/ramachandran/top500/ Calculating phi/psi angles for the "Top 500" PDB files]
 +
*[http://www2.warwick.ac.uk/fac/sci/moac/currentstudents/peter_cock/python/heatmap/ Using Python (and R) to draw a Heatmap from Microarray Data]
  
 
[[Category:Scripting languages]]
 
[[Category:Scripting languages]]

Revision as of 03:26, 28 June 2008

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.

see: NumPy for tips on using this module.

Version history

  • Python 2.5.2 — 2008-02-22
  • Python 2.5.1 — 2007-04-18
  • Python 2.4.4 — 2006-10-18
  • Python 2.4.2 — 2005-09-28

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

See also

Graphics

Google

Bioinformatics

External links

Online books/tutorials

Techniques

Bioinformatics