Difference between revisions of "Python"

From MidrangeWiki
Jump to: navigation, search
Line 2: Line 2:
 
{{AN}} is a general-purpose very-high-level programming language.
 
{{AN}} is a general-purpose very-high-level programming language.
  
==System i implementation==
+
==IBM i implementation==
Though not available on the i as an IBM [[LPP]], a native port of Python 2.7 by Per Gummedal is freely downloadable.
 
  
There are no known implementations of Python 3.x for the i.
+
There are currently two implementations for IBM i:
 +
* Native port of Python 2.7 by Per Gummedal, called iSeriesPython, for V5R3 and later
 +
* PASE port of Python 3.4 by IBM, as Option 2 of 5733-OPS (Open Source for IBM i Product) for 7.1 and later
  
===Hello world===
+
Another is expected in the near future:
 +
* PASE port of Python 2.7 by IBM, as Option 4 of 5733-OPS (Open Source for IBM i Product) for 7.1 and later
 +
 
 +
==Hello world==
 +
 
 +
===Python 2===
 
  print "Hello world"
 
  print "Hello world"
 +
 +
===Python 3===
 +
print("Hello world")
  
 
==External links==
 
==External links==
 
* http://www.iseriespython.com
 
* http://www.iseriespython.com
 
* [http://www.itjungle.com/fhg/fhg082510-story01.html "An Introduction to Python on IBM i, Part 1"] by Garry Taylor, in ''The Four Hundred Guru'', Volume 10, Number 25 -- August 25, 2010
 
* [http://www.itjungle.com/fhg/fhg082510-story01.html "An Introduction to Python on IBM i, Part 1"] by Garry Taylor, in ''The Four Hundred Guru'', Volume 10, Number 25 -- August 25, 2010
* http://iseriespython.blogspot.ca/
+
* http://iseriespython.blogspot.ca
 +
* https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/IBM%20i%20Technology%20Updates/page/Python
 +
* https://www.gateway400.org/documents/Gateway400/Handouts/GetStartedWithPythonOnIBMi2016.pdf
  
 
==Categories==
 
==Categories==
 
{{stub}}
 
{{stub}}
 
[[Category:Programming languages]]
 
[[Category:Programming languages]]

Revision as of 15:38, 11 May 2016

See also on Wikipedia: Python (programming language)

Python is a general-purpose very-high-level programming language.

IBM i implementation

There are currently two implementations for IBM i:

  • Native port of Python 2.7 by Per Gummedal, called iSeriesPython, for V5R3 and later
  • PASE port of Python 3.4 by IBM, as Option 2 of 5733-OPS (Open Source for IBM i Product) for 7.1 and later

Another is expected in the near future:

  • PASE port of Python 2.7 by IBM, as Option 4 of 5733-OPS (Open Source for IBM i Product) for 7.1 and later

Hello world

Python 2

print "Hello world"

Python 3

print("Hello world")

External links

Categories

This article is a stub. You can help by editing it.