python:file_handling
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
python:file_handling [2016/10/18 11:32] – [Writing a File] peter | python:file_handling [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 160: | Line 160: | ||
<file python files.py> | <file python files.py> | ||
- | path = '/users/sammy/ | + | path = '/home/john/ |
days_file = open(path,' | days_file = open(path,' | ||
days = days_file.read() | days = days_file.read() | ||
- | + | new_path = '/home/john/ | |
- | new_path = '/users/sammy/ | + | |
new_days = open(new_path,' | new_days = open(new_path,' | ||
python/file_handling.1476790338.txt.gz · Last modified: 2020/07/15 09:30 (external edit)