Back to Browse

How to fix file-handling errors

453 views
Mar 5, 2022
6:48

We show you how you can avoid common problems when dealing with files including why you have blank files, problems across Mac-OS, Windows, Linux and online, how ensure your files get closed and the classic that you can't find the file! Definitely prevention is better than cure, but this video both prevents AND cures your Python filing worries! 0:00 Introduction to the 5 problems 0:20 Nothing in my file 1:11 Ok on Mac and Windows, but not online or on Raspberry Pi (Linux) 2:29 It's there, but can't edit or delete 3:51 It's adding stuff to the end of my file 4:39 Can't find my file 4:55 Finding your file in MU 5:34 Code to help find your file in a director or the filename 6:19 Finding your file in Pycharm and most other editors Helpful snippet of code to generate helpful file error at: https://gist.github.com/jamesabela/27a855b39ffc74727b7da29862992adf If you want a practical coding exercise to follow up, please go to my Python Challenges page: http://pythonchallenges.weebly.com/filehandling.html Thank you for the intro music to: ♪ Balloon (Prod. by Lukrembo) Link : https://youtu.be/Byg7QBAbf90

Download

0 formats

No download links available.

How to fix file-handling errors | NatokHD