pages.courses.show.header

pages.courses.show.course_updated

pages.courses.show.subscribe

pages.courses.show.subscription_description

pages.courses.show.included.header

pages.courses.show.included.theory.value
pages.courses.show.included.exercises.value
pages.courses.show.included.questions.value
pages.courses.show.included.self_study
pages.courses.show.included.extra_materials
pages.courses.show.included.extended_material

models.attributes.base.description

In this course, we will study the basics of text input/output. You will learn about file descriptors and context managers. Finally, you will learn the basic techniques and tools for reading and writing data into a file. The basics of test I/O will help when working with files and the file system using different modes and context managers. This course is suitable for those who are still learning Python. To ease the learning process, it's a good idea to learn the basics of Python and the different types of collections: lists and dictionaries.

pages.courses.show.skills

  • Proper file handling
  • Read files and write data to them
  • Use files as context managers

pages.courses.show.syllabus

1

Introduction

Learning about the topics, goals, and objectives of the course

2

Opening and closing files

Learning to open and close files manually and automatically

3

Writing and reading

Learning how to write and read text files

4

Line-by-line reading and writing

Learning to work with files line-by-line and iterate them while reading

5

Context managers

Learning how to use context managers to work with files correctly and safely

6

Conclusion

Summarizing the results of the course

pages.courses.show.recommended_programs

Course Cover
  • pages.courses.pros.right_in_browser
  • pages.courses.pros.lifetime_access
  • pages.courses.pros.learn_as_you_go
pages.courses.show.subscribe

pages.courses.show.subscription_description