Friday, September 3, 2021

Mike Driscoll: Python 101 – Working with Files (Video)

Application developers are always working with files. You create them whenever you write a new script or application. You write reports in Microsoft Word, you save emails or download books or music. Files are everywhere. Your web browser downloads lots of little files to make your browsing experience faster.

When you write programs, you have to interact with pre-existing files or write out files yourself. Python provides a nice, built-in function called open() that can help you with these tasks.

In this video, you will learn how to:

  • Open files
  • Read files
  • Write files
  • Append to files

Let’s get started!

If you prefer to read a tutorial rather than watch one, then you may want to check out the following article:

The post Python 101 – Working with Files (Video) appeared first on Mouse Vs Python.



from Planet Python
via read more

No comments:

Post a Comment

TestDriven.io: Working with Static and Media Files in Django

This article looks at how to work with static and media files in a Django project, locally and in production. from Planet Python via read...