Use Ctrl-H to replace in a text editor
x = open('filename','r') to open files
y = x.read() to store contents of the file into a variable
z = x.readlines() to store different lines into a list
for line in z:
z.rstrip("\n") to remove newline character
-
Notifications
You must be signed in to change notification settings - Fork 0
DarthVishnu8/Writeups
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published