Can Raspberry Pi run on Python?
Can Raspberry Pi run on Python?
Well, python can run on many operating systems that the Raspberry Pi supports. Python is an interpreted programming language, and the interpreters are available on several distributions available for the pi, including the preferred distro, raspbian,
Mike
Hi pi guy
Definitely the answer is yes. As you can see with a simple search, most of the high level interfaces are just based on Python for the language flexibility and the ability to interface with other low-level languages (e.g. C/C++) and also to interact with the Linux system directly.
If you install one of the versions of Linux distributions for the Raspberry PI - raspbian wheeze or jessie just to mention the most diffused - you will see that in the distribution Python language is natively included. Not only but you can count on a lot of hardware control libraries for gaming and nice user interface design; by the other side GPIO and other hardware control features are available developed in C++ with the library interface for Python as well as many pre-built Raspberry PI shields and add-ons. Take a look to the technical documentation of produces like the PiFace series (Cad, Digital, Motor etc.) and Gertbot. You will see that in almost all the cases together with the option to develop in C++ language your own applications there is the availability of a python library for easy interfacing.
Enrico
Actually the correct answer is NO, the Raspberry PI can not run on Python but if you reverse the question
"Can Python run on a Raspberry PI"
then the answer is yes and it is easy to use as Enric0 has already explained
Peter, I need to bump your "No" answer to "Maybe", while avoiding directly answering the original question. There are a few efforts to run Python (MicroPython or similar) on bare metal Pi's (see Drew's post at: Javascript, Python meets "bare metal").
Not sure how many people are actually using it. Might fall into the "because we can" bucket.
R/ Tim
Not really, I was directly answering the question rather than the "Implied" Question
Your explanation is still running Python on a PI, albeit at the hardware level vs under Linux
Peter
Peter,
I almost agree with you about the difficult to rung Python as the Raspberry PI OS. If it will be done, there is a lot of low level effort, just as because Python is a language (interpreted and high level). But as the correct order of the question (literally interpreted) it is senseless, like the question "can Raspberry PI run on C++" I have automatically ignored the original - true - sense of the question and reverted it as I supposed it was in mind of the author.
Enrico
LOL, I guess what my wife calls "My English Humour" just went over everyones head, I was simply trying to add some fun into the conversation and would never in a zillion years take a question like that literally as I knew imediatly what was being asked for rather than what was written, which is why I imediatly followed by refering to your answer as a good place to start