open() in Python does not create a file if it doesn't exist

Published: 30 January 2023
on channel: The Python Oracle
13
0

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 2 Looping

--

Chapters
00:00 Question
01:13 Accepted answer (Score 1048)
01:27 Answer 2 (Score 191)
02:30 Answer 3 (Score 54)
02:58 Answer 4 (Score 42)
03:13 Thank you

--

Full question
https://stackoverflow.com/questions/2...

Answer 1 links:
[Python file modes]: http://www.tutorialspoint.com/python/...
[seek() method]: http://www.tutorialspoint.com/python/...
[Python file modes detail]: https://stackoverflow.com/a/656289/98...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/l...

--

Tags
#python #linux #fileio #filepermissions

#avk47


Watch video open() in Python does not create a file if it doesn't exist online, duration hours minute second in high quality that is uploaded to the channel The Python Oracle 30 January 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 13 times and liked it 0 visitors.