-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code error on page "10.7. Recipe for Reading and Processing a File" #236
Comments
@paccattam I'm not entirely sure what you are asking us to do, can you clarify a little bit? |
The example should be:
|
|
It should be |
Issued a pull request |
Just checking in on this issue. It appears a fix has been initiated. |
Still waiting for some changes to the PR, we can close as soon as the PR is accepted. |
The following code snippet given in the end of the text @ the link given below should have mentioned fire opbject reference instead of "lines"
https://fopp.umsi.education/runestone/static/fopp/Files/FilesRecipe.html
fname = "yourfile.txt"
with open(fname, 'r') as fileref: # step 1
for lin in lines: # step 2
## some code that reference the variable lin
#some other code not relying on fileref # step 3
The text was updated successfully, but these errors were encountered: