Introduction: Hello World by Python on Raspberry PI

Picture of Hello World by Python on Raspberry PI

This instructable shows you how to show some text in terminal.

Step 1: Creating .py File

Picture of Creating  .py File

Open terminal and write:
cd ./Desktop/
sudo nano Helloworld.py
print("Hello world!")
CTRL+X
y
(enter)

Step 2: Run Program

Picture of Run Program

Write:
sudo python Helloworld.py
(enter)
YOU HAVE GOT IT

Comments

About This Instructable

1,309views

13favorites

License:

More by ruhliar:Controlling L293D Motor Driver by ArduinoHello world by Python on Raspberry PIConnect Raspberry Pi to WiFi Wireless
Add instructable to: