pylesson code example
Example 1: pylesson
# double back-slash for window's nonsense.
location_of_files = 'C:\\Users\\H\\Desktop\\Intermediate Python'
file_name = 'example.txt'
with open(os.path.join(location_of_files, file_name)) as f:
print(f.read())
Example 2: pylesson
a = 1
print("a =", a, sep='_', end='\n\n')
print("a =", a, sep='_0_', end='')