4 ms·
> The official programming language of Raspberry Pi is Python. Huh? In what way exactly?
by chadlavi 7y ago
> The official programming language of Raspberry Pi is Python.
Huh? In what way exactly?
- y4mi 7y agoThere are some sources for that, like engaget for example. There are also a few shortcuts on the desktop if you install it with the gui... But yeah, it's ultimately a Debian deviate, so anyone with any experience will be able to use it however he wants > Raspbian comes preloaded with Python, the official programming language of the Raspberry Pi and IDLE 3, a Python Integrated Development Environment.
- chadlavi 7y agoI guess it was surprising to me because I don't know anyone who's ever used their pi for python stuff. I mostly use them for networking, though.
- jamesgeck0 7y agoIt's mostly just the best supported language out of the box on the "default" distro. It comes with the Python REPL Thonny, Python libraries to control the GPIO, a version of Minecraft scriptable with Python, and a bunch of example games with Python source. It also ships with Mathematica, Ruby (via SonicPi), and Scratch.
- muglug 7y agoThis is admittedly hazy, but I’m reasonably sure the Pi was originally named with Py-thon in mind. Source: I think Eben told me himself a while back.
- pfundstein 7y agoRaspberry Py-thon?
- rootbear 7y agoOriginally, the Pi was going to run Python directly, with a minimal OS underneath, much as early home computers ran embedded BASIC. But as development continued, it became clear that being a full Linux system was desirable. Since it was originally meant as a cheap computer for students, it was felt that Python would be a good choice for a beginner's language. So even though the Pi supports many programming languages, the emphasis on Python remains.
- CarlRJ 7y agoThe nominal purpose of the Raspberry Pi is education. The Raspberry Pi Foundation (RPF) sells Pi's commercially and they fold the profits back into their education program. They present Python as a good language to use on the Pi (for their educational uses), just as they recommend using Raspbian (their Debian variant) as the OS, but neither of those are required. They certainly don't discourage people from running other languages on them. Having said that, a Raspberry Pi running Python under Raspbian is a great little machine for special purpose tasks. I have half a dozen at home, with 15k lines of Python running in my living room (weather station, home automation, etc.).
- pfundstein 7y agoIt isn't. I would say that it is the unofficial language of the Pi.