Advertisement
KodingKid

How to open a file using Python

Mar 25th, 2021
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. x = open("yourfilenamehere.txt")
  2. #this file can be whatever file you want it to be as long as the file name and type are written correctly and the file is on your computer
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement