Difference between revisions of "Python"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) |
Guestblinky (talk | contribs) (mention Kivy, etc.) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
=Python is a Great Language= | =Python is a Great Language= | ||
− | So are | + | So are other [[Programming Languages]], but for some purposes Python may be the best |
==Why== | ==Why== | ||
Line 29: | Line 29: | ||
==Ways to Run == | ==Ways to Run == | ||
− | *From text editor, save file, run with an | + | *From text editor, save file, run with an interpreter. ( Generally use Idle instead, nicer, almost as lean ) |
− | *IPython, a | + | *IPython, a highly interactive environment for Python ( I have not used ) |
*Idle ( as in Eric ) a really really basic, IDE | *Idle ( as in Eric ) a really really basic, IDE | ||
+ | *Spyder is an open-source interactive development environment for Python that comes with Anaconda ( https://anaconda.com/ ). | ||
+ | |||
+ | The vast majority of Python programs run as normal applications directly on a laptop or server | ||
+ | running Linux, Windows, or macOS. | ||
+ | Python can also run on: | ||
+ | * [[Motherboards that run Linux]] | ||
+ | * some [[microcontrollers]] -- see MicroPython and CircuitPython | ||
+ | * PyScript project: Python running in-the-browser: https://pyscript.com/ , https://pyscript.net/ , [https://www.infoworld.com/article/2335203/pyscript-brings-python-into-the-browser-more-easily-than-ever.html (a)], [https://www.infoworld.com/article/2335480/intro-to-pyscript-run-python-in-your-web-browser.html (b)], [https://www.itprotoday.com/python/anaconda-aims-to-democratize-python-with-pyscript (c)], etc. | ||
+ | * smartphones: the Kivy project supports cross-platform Python applications that: run on Android, iOS, Linux, macOS and Windows; Python for Android can turn into Android apps; Kivy for iOS can turn into iPhone apps; etc. -- see [[Install Kivy]]; https://kivy.org/ , https://github.com/kivy/kivy-ios , https://github.com/kivy/python-for-android | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | |||
+ | |||
+ | * [[Why Python]] (FIXME: seems to duplicate this "Python" page?) | ||
+ | * [[A Course On Python]] | ||
+ | * [[Python Installation]] | ||
+ | * [[Python Topics]] | ||
+ | * [[Python Smart Terminal]] | ||
+ | * [[:Category:Python Projects]] | ||
+ | * [[Python and the Raspberry Pi]] | ||
== Primary Links== | == Primary Links== | ||
Line 39: | Line 60: | ||
*[http://en.wikipedia.org/wiki/Python_(programming_language) Python (programming language) From Wikipedia, the free encyclopedia] | *[http://en.wikipedia.org/wiki/Python_(programming_language) Python (programming language) From Wikipedia, the free encyclopedia] | ||
*[http://ipython.org/ IPython.org] | *[http://ipython.org/ IPython.org] | ||
+ | * [https://www.infoworld.com/article/2254260/how-to-get-started-with-python.html "How to get started with Python"]. | ||
*[[SageMath]] | *[[SageMath]] | ||
+ | |||
+ | |||
+ | [[Category:Python]] | ||
== == | == == |
Latest revision as of 13:01, 1 May 2025
Contents
Python is a Great Language
So are other Programming Languages, but for some purposes Python may be the best
Why
- Has its own iconic cartoon [import antigravity] ( do you know of any for another language? )
- Named after Monty Python, how cool is that.
- Free
- Runs on many OS's including the Raspberry PI.
- Great interactive modes.
- Concise, code often short without being cryptic.
- Real language not a toy.
- Widely used, lots of support books.....
- Lots of libraries for doing lots of things.
- Interpreted, but not all the time may be compiled.
- Seems to play well with other languages.
- Option for serious Object Orientation, almost everything is an object of a class.
- No need to adopt the OO methodology for many programs.
But
- Not statically typed which may not suit your tastes ( or may be a plus ).
- Not the fastest, but often fast enough.
Ways to Run
- From text editor, save file, run with an interpreter. ( Generally use Idle instead, nicer, almost as lean )
- IPython, a highly interactive environment for Python ( I have not used )
- Idle ( as in Eric ) a really really basic, IDE
- Spyder is an open-source interactive development environment for Python that comes with Anaconda ( https://anaconda.com/ ).
The vast majority of Python programs run as normal applications directly on a laptop or server
running Linux, Windows, or macOS.
Python can also run on:
- Motherboards that run Linux
- some microcontrollers -- see MicroPython and CircuitPython
- PyScript project: Python running in-the-browser: https://pyscript.com/ , https://pyscript.net/ , (a), (b), (c), etc.
- smartphones: the Kivy project supports cross-platform Python applications that: run on Android, iOS, Linux, macOS and Windows; Python for Android can turn into Android apps; Kivy for iOS can turn into iPhone apps; etc. -- see Install Kivy; https://kivy.org/ , https://github.com/kivy/kivy-ios , https://github.com/kivy/python-for-android
Related
- Why Python (FIXME: seems to duplicate this "Python" page?)
- A Course On Python
- Python Installation
- Python Topics
- Python Smart Terminal
- Category:Python Projects
- Python and the Raspberry Pi
Primary Links
- Python.org
- Python (programming language) From Wikipedia, the free encyclopedia
- IPython.org
- "How to get started with Python".