Hello,
I am a beginner.
What languages are used to program raspberry PI?
and where on what platform?
what do we install where and then in what computer language we write?
as i said i am complete beginner and have no idea. please do not direct me to a 1 million page reference. I only need your 5 sentence answer that is all.
Re: programming
If you download the standard Raspbian installation, you will have all the tools needed to program with;
Python, C/C++, Java, Scratch (and more that I can't think of). You also have access to the online repositories to add support for almost any other programming language that exists.
You can program directly on the raspberry pi (it is a perfectly capable computer for small development tasks) or you can code on your regular laptop and move the code on to your pi.
The very website you are on now has a lot of beginner tutorials for various languages.
There is also the MagPi magazine which has some how-to articles.
Python, C/C++, Java, Scratch (and more that I can't think of). You also have access to the online repositories to add support for almost any other programming language that exists.
You can program directly on the raspberry pi (it is a perfectly capable computer for small development tasks) or you can code on your regular laptop and move the code on to your pi.
The very website you are on now has a lot of beginner tutorials for various languages.
There is also the MagPi magazine which has some how-to articles.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter
Pi Interests: Home Automation, IOT, Python and Tkinter
Re: programming
Almost any language supported by Linux can be used (and that is most of them).
By default, C, C++, Python and a few others are installed IIRC, but it is very easy to install more.
You would do well to start with Python. A Google search will find may tutorials.
By default, C, C++, Python and a few others are installed IIRC, but it is very easy to install more.
You would do well to start with Python. A Google search will find may tutorials.
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: programming
ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct? when I run raspbian OS, does it mean my laptop will be running on that OS instead of windows, or it is just like a program running on my computer?
and what is IIRC?
and what is IIRC?
Re: programming
No, you install Raspbian OS on your Pi.ketanco wrote:ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct?
Then you can program on the Pi, either using a keyboard + screen or remotely (using e.g. SSH or VNC)
If I Remember Correctlyand what is IIRC?
Re: programming
Start here --> https://www.raspberrypi.org/help/ketanco wrote:Hello,
I am a beginner.
What languages are used to program raspberry PI?
and where on what platform?
what do we install where and then in what computer language we write?
as i said i am complete beginner and have no idea. please do not direct me to a 1 million page reference. I only need your 5 sentence answer that is all.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson
-
- Posts: 16179
- Joined: Fri Mar 09, 2012 7:36 pm
- Location: Vallejo, CA (US)
Re: programming
I think the OP is a tiny bit confused about what the Pi actually *is*.
The model of developing a program on one system and then transferring it to another is typically used by microcontrollers, e.g. Arduino. The Pi is a full computer that runs a full featured OS in its own right. You work within the OS to develop programs and run them in the Pi, just as you would any general purpose computer, ranging from a microcomputer like a PC or Mac up through minicomuters (e.g. DEC VAX), mainframes (e.g. IBM S/370 or z900) to supercomputers.
As already noted, you can program in pretty much any language you've ever heard of and probably quite a few you haven't. Raspbian comes with C, C++, Python, and Scratch already installed. If you can give us some background on how much programming you are already familiar with, we may be able to give you some pointers on where to go next.
The model of developing a program on one system and then transferring it to another is typically used by microcontrollers, e.g. Arduino. The Pi is a full computer that runs a full featured OS in its own right. You work within the OS to develop programs and run them in the Pi, just as you would any general purpose computer, ranging from a microcomputer like a PC or Mac up through minicomuters (e.g. DEC VAX), mainframes (e.g. IBM S/370 or z900) to supercomputers.
As already noted, you can program in pretty much any language you've ever heard of and probably quite a few you haven't. Raspbian comes with C, C++, Python, and Scratch already installed. If you can give us some background on how much programming you are already familiar with, we may be able to give you some pointers on where to go next.
Re: programming
Python, like the snake.ketanco wrote: Phyton
(This seems to be an incredibly common mis-spelling)
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter
Pi Interests: Home Automation, IOT, Python and Tkinter
Re: programming
Perhaps you mean hear --> https://www.raspberrypi.org/resources/ ( link from "Raspberry Pi Software Guide":raspberrypi.org/learning/software-guide )
or
https://www.raspberrypi.org/learning/demo-programs/
and
https://www.raspberrypi.org/learning/python-intro/
# 5 lines! if you dont count white space && comments

# no offence && no sentence's sorrynotsorry xD
Re: programming
You install Raspbian on the Raspberry Pi, not on your laptop (though technically you could do that as well).ketanco wrote:ok so I would install raspbian OS to my laptop and run that OS, and with that use a programming language like Phyton or C to start programming? is that correct?
No, Raspbian runs on the Pi. There is absolutely no need to touch anything on your laptop.ketanco wrote:when I run raspbian OS, does it mean my laptop will be running on that OS instead of windows,
Raspbian is an alternative to Windows - they are both an "OS" (an Operating System). Most people choose to run Raspbian on the Pi.
Raspbian is a form of Linux. One advantage of that is that its free! Another is that it has great support for programming built in. As people have said, it comes with several important and extremely widely used programming languages already included. No need to install anything - just start programming!
Re: What languages are used to program raspberry PI?
Hello all, I know this is an old post but I'm hoping some of you are still on here. I'm new to this as well. I've been learning how to control what I need to do in Python and so far so good. I need to create an interface now though. I did a couple tutorials in on guizero but these tutorials were extremely basic. Does anybody here have any recommendations on what software to use for a decent interface and preferably a little more user friendly to create? Any help would be appreciated. This project is for a computer to go into my car. I've gotten everything working through the pi that I need it to do, which is really just a series of simple on and off switches, now I just need a decent interface. Thanks in advance!
Re: What languages are used to program raspberry PI?
Have a look at python tkinter and at Glade
Re: What languages are used to program raspberry PI?
It's usually best to start a new thread, even when your question seems related, but especially when the thread is this old. Don;t worry about starting new one, we try to be friendly here!sep945366 wrote: ↑Tue Apr 14, 2020 7:29 pmHello all, I know this is an old post but I'm hoping some of you are still on here. I'm new to this as well. I've been learning how to control what I need to do in Python and so far so good. I need to create an interface now though. I did a couple tutorials in on guizero but these tutorials were extremely basic. Does anybody here have any recommendations on what software to use for a decent interface and preferably a little more user friendly to create? Any help would be appreciated. This project is for a computer to go into my car. I've gotten everything working through the pi that I need it to do, which is really just a series of simple on and off switches, now I just need a decent interface. Thanks in advance!
Principal Software Engineer at Raspberry Pi Ltd.
Working in the Applications Team.
Working in the Applications Team.
Re: What languages are used to program raspberry PI?
Hi guys, thank you for the advice. I installed Glade, but noticed in the video that they were using a vnc. When programming a gui, do I need to be using a vnc and program from another computer?
Re: What languages are used to program raspberry PI?
It's not a requirement to use VNC. If you have a monitor, keyboard and mouse you can probably do the coding on the RPi.
/Mogens
/Mogens
Re: What languages are used to program raspberry PI?
The video for installing glade is here:
http://helloraspberrypi.blogspot.com/20 ... ry-pi.html
But this is all I've really been able to find. I found one video on youtube so far about getting started on Glade once it's installed but it was all but worthless. Do you know if there's any other forums or instructions on getting this to work with the GPIO?
http://helloraspberrypi.blogspot.com/20 ... ry-pi.html
But this is all I've really been able to find. I found one video on youtube so far about getting started on Glade once it's installed but it was all but worthless. Do you know if there's any other forums or instructions on getting this to work with the GPIO?
Re: What languages are used to program raspberry PI?
I just found this tutorial here for Glade:
http://blog.borovsak.si/2009/09/glade3- ... ction.html
I'm going through this and will let you know how it goes.
http://blog.borovsak.si/2009/09/glade3- ... ction.html
I'm going through this and will let you know how it goes.