Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~659 People Reached
Favorite Tags
Member Avatar for Bashy345

The code checks if the file exists I am struggling to complete this and save my database (gen0values) and make it open to a file in a table. def exportdata(): print("\nYou chose option 4") import os filename = input("Please type in the filename") if os.path.isfile(filename): print("File exists") else: print("File does …

Member Avatar for Gribouillis
0
388
Member Avatar for Bashy345

Trying to make the user write to a file and seeing if it exists and if they should override it print("Enter a file name to save your database to.") name = input('Enter name of text file: ')+'.txt' if name print ("Would you like to overwrite this file? Yes or No") …

Member Avatar for Gribouillis
0
271