Raspberry Pi OS - How to Run a Python Program From the Terminal

preview_player
Показать описание
Learn how to execute a Python program directly on the Raspberry Pi OS terminal, to get more control over what you do on your Pi.

0:00 Intro
0:10 The Python program we'll use
0:34 1. Run the program with "python3" command
1:28 2. Make the program executable
3:10 Outro

Рекомендации по теме
Комментарии
Автор

Great content. It's because of your guidance, simple one '#!/usr/bin/env python3' which previously I am using '#! /usr/bin/python' I am able to run in shell. I am using heavily used example in the internet yet such trivial line.
You show here should be an answer in SO since it's some of the most popular yet unsolved problem when running my opencv code (surprisingly can run in Thonny duh). Which will be solution for a generic error:
cv2.error: OpenCV(4.5.2) error: (-215:Assertion failed) !empty() in function 'detectMultiScale'

Kindly keep the tutorials coming. Also you just got both like and subscribe from me.

TheArkcantos
Автор

Thank you very much! This is very helpful

slash_
Автор

Hello!!! Very well explained... Thank you...

acquabr
Автор

It keeps saying it can’t find the directory whenever I go to execute.

jace_Henderson
join shbcf.ru