What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-23 10:54:10
how to write user input to a file in python
#Print User Input to A File x = input("Enter blah : ") y = open('C:\Users\USERNAME\Documents\Doc1.txt', 'w') y.write(x) #Convert text to binary and then write to file x = input("Enter blah : ") y = open('C:\Users\USERNAME\Documents\Do... Add solution