Search
 
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
Name
2+2 =