Загрузка...

Learn Python - Lesson 03 - Read from a File

Hey gang! You're on the third video in a series on Python coding. Amazing! In this video we'll study how to read data from a text file into our Python script.

In this video, we'll walk you through:
- Writing a Python Script that Reads Data from a File
- Displaying Data to the Screen
- Executing a Python Script in GitHub
- Introduction to Python Best Practices

TIMESTAMPS
0:00 Intro with RZFeeser
0:37 Connect to a Codespace
0:58 Create a Python script read-from-file.py
1:55 Python Shebang
2:10 Python docstring
2:31 Creating a main()
3:00 Create an Open File Object in Read Mode using open() and with
3:57 Display Line from an Open File Object with read()
6:05 Call main()
7:00 Run and Troubleshoot an Error
8:05 Run a Second Time
8:58 Add and Commit to GitHub Repo
9:55 Outro with RZFeeser

ABOUT OUR CHANNEL
Our channel is about teaching everyone coding, networking, telecom, security, DevOps, automation, and AI! This includes languages like Python, Terraform, Ansible, Go, coding tools, Wireshark, 5G, SIP, and more!

CHECK OUT OUR OTHER VIDEOS
https://youtu.be/iRreipd_Ows
FIND US AT
https://www.iris7.com

GET IN TOUCH
https://www.iris7.com/contact

FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!
Twitter: https://twitter.com/CodeWithFeeser
Instagram: https://instagram.com/CodeWithFeeser

Видео Learn Python - Lesson 03 - Read from a File канала Code With Feeser
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять