-
Notifications
You must be signed in to change notification settings - Fork 944
Open
Description
I'm working through a context expansion tutorial and encountering a syntax error when trying to run the .py file in Jupyter/Colab.
When I execute:
%run 02_expand_context.pyI get this error:
SyntaxError: invalid decimal literal
The error points to line 79 in the file, which appears to contain explanatory text/markdown content rather than executable Python code.
Could you please clarify:
- What is the intended way to use this
.pyfile? - Should it be executed directly, or is it meant to be imported as a module?
- If it contains both code and documentation, how should I properly run the executable portions?
The file seems to be part of a tutorial series, but the presence of narrative text within a .py file is causing execution issues. Any guidance on the correct approach would be greatly appreciated.
Thank you!

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels