Answers for "File.open(path, 'wb', 0o750)"

2

when opening a file in python what does w mean

#w opens on the write function. When you put a line of code like: 

user_file = open('file_name', w)
#it opens a file name to write with.
Posted by: Guest on November-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language