Python Programming for Beginners - 37 File Handling [English/Tagalog]

preview_player
Показать описание
In this video, you will be learning about file handling
- how to we handle files in python
- what are the different methods in file handling
- how to be open files in python
- how do we locate the file we want to open in python
- how to input the location of a file that is readable by python

"r" - Read - Default value. Opens a file for reading, error if the file does not exist
"a" - Append - Opens a file for appending, creates the file if it does not exist
"w" - Write - Opens a file for writing, creates the file if it does not exist
"x" - Create - Creates the specified file, returns an error if the file exists

Note: file opening is not limited to just .txt files, it can also open .csv, .bmp and more

If you like my content, please consider liking this video and subscribing for more Python lectures

Follow and connect with me:
Рекомендации по теме
Комментарии
Автор

Salamat po dito. Maganda talaga magaral ng programming 'pag mother tongue... Kuya baka pwede mo ko mahelp sa assignment ko.. Connected sya sa file handling.

ajalimagno