Python

Notes

Code

1
# read file line by line
2
with open('filename') as f:
3
content = f.readlines()
Copied!
1
# Iterate over list
2
for i, _ in enumerate(nums):
3
..
Copied!

Links