Python - Command line arguments and user keyboard input
Video Chapters (table of content with clickable links into a specific part of the video)
00:00 Introduction about the video content
00:40 Prerequisites (you should have some programming skills in at least some language)
01:03 Command prompt (showing the Python version, creates new directory, starts Visual Studio Code)
01:38 Creates a file with a "Hello World" program
02:04 Executes the "Hello World" program from the command prompt
02:15 Replaces the implementation with code receiving arguments from the command line and the keyboard
05:14 Executes the updated program
05:20 Moves the source code into "if __name__ == '__main__':"
Please note that you can choose to show english subtitles for the videos.
Currently (when this video was published) there are not many videos in the below playlists but please remember to subscribe to this channel if you think you are interested in future videos which will become added to the play lists.
Playlists for "Program arguments from command line and keyboard input" for different programming languages:
Playlist for the videos with english voice and english subtitles:
https://www.youtube.com/watch?v=-1THmtId2IY&list=PL4DolL1WgGzauDpEpS005QsE1wcmx_X6-
Playlist for the videos with swedish voice and swedish subtitles:
https://www.youtube.com/watch?v=CGAb5frycls&list=PL_WRJfW_FkqzxxxrL1pjOBAI73JtsPTOm
Python playlist (english):
https://www.youtube.com/watch?v=oDi-5NawrSg&list=PL4DolL1WgGzYVOIa7ovbLjx-24BKlx2gh
Python playlist (swedish):
https://www.youtube.com/watch?v=Hqsb-2on5pw&list=PL_WRJfW_FkqzC24ghcq9wvwFt3th_9oX6
Python
https://www.python.org
Visual Studio Code (cross-platform editor):
https://code.visualstudio.com/download
Python documentation relevant for the video content:
sys.argv (the list with program arguments from the command line)
https://docs.python.org/3.9/library/sys.html#sys.argv
input (Python 3, keyboard input)
https://docs.python.org/3.9/library/functions.html#input
raw_input (Python 2, keyboard input)
https://docs.python.org/2.7/library/functions.html#raw_input
f-strings (string interpolation)
https://www.python.org/dev/peps/pep-0498/
str.format
https://docs.python.org/3/library/stdtypes.htm #str.format
%-formatting
https://docs.python.org/3/library/stdtypes.htm #printf-style-string-formatting
Template strings
https://docs.python.org/3/library/string.html#template-strings
if __name__ == '__main__':
https://docs.python.org/3/library/__main__.html#what-is-the-top-level-code-environment
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python - Command line arguments and user keyboard input», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.