-
Notifications
You must be signed in to change notification settings - Fork 595
Open
Description
Issue Overview
When running 10_04_Challenge the line print(f'New file size: {os.path.getsize('10_04_challenge_art_encoded.txt')}') results in the error:
Cell In[3], line 5
print(f'New file size: {os.path.getsize('10_04_challenge_art_encoded.txt')}')
^
SyntaxError: invalid decimal literal
Describe your environment
Observed in Chrome Version 113.0.5672.92, with Jupyter running in terminal using python 3.11, and vscode.
Steps to Reproduce
- Start Jupyter notebook for the course
- open
http://localhost:8888/notebooks/exercise_files/10_04_Challenge.ipynbin your browser - run the notebook
Expected Behavior
I would expect the notebook to find the text file and get it's size without throwing an error.
Current Behavior
The notebook runs an error when it reaches the line to open the updated text file
Possible Solution
Use double quotes for the filename, same as used two lines above.
Screenshots / Video
Related Issues
Metadata
Metadata
Assignees
Labels
No labels
