Python Tutorial: Learn Open() function and 'With' statement in 8 Minutes

preview_player
Показать описание
In Python, a file is categorized as either text or binary, and the difference between the two file types is important.

In order to for us to work with a text file in Python, we can use the built-in open() function.
Рекомендации по теме
Комментарии
Автор

Thanks for sharing ! Keep working and Good Luck !

abhinavsingh
Автор

Thanks. Couldn't run the open fiction cause I was feeding a binary file.

ukoni
Автор

Hi! Thank you so much for the video and the examples. I wanted to ask you, what is the compiler you are using? It looks beautiful and easy. Thanks again!

pedrosansoldo
Автор

what is .data file. I want to download iris data. i went to UC Irvine Machine Learning Repository. From here i downloaded iris data as .data file. In jupyter i tried open/ close statement to read the file, but the output is 'blank'. cannot read the iris.data file

aanniirr
visit shbcf.ru