DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python file reading
fin = open("NAME.txt", 'r') body = fin.read().split(" ") line = fin.readline().strip()
Source by tryhackme.com #
PREVIOUS
NEXT
Tagged:
#python
#file
#reading
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit