when opening a file in python what does w mean

Solutions on MaxInterview for when opening a file in python what does w mean by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "when opening a file in python what does w mean"
Domenico
19 Jan 2018
1#w opens on the write function. When you put a line of code like: 
2
3user_file = open('file_name', w)
4#it opens a file name to write with.