NCAR / python-tutorial

Online content for self-paced Python tutorial
https://ncar.github.io/python-tutorial/
2 stars 7 forks source link

Various typos and rewording suggestions #22

Closed hCraker closed 4 years ago

hCraker commented 4 years ago

First Python Script

Step 17: Should r also be highlighted as inline code like w is? image

Step 21: The code snippet has lines 10 and 11, but so far mysci.py only should have 7 lines and # DEBUG is line 6. What are the extra lines? In addition, we should specify adding print(type(data)) after print(data) because many terminals don't have a large enough buffer to show the whole data file let alone the data type printed before the file. Alternatively, instead of saying "Add the following to the DEGUB section" we could say "Change the DEBUG section to the following". That way the type is displayed without the loads of data. Either will do.

Creating a Data Dictionary

Step 1: Commas is misspelled. image

Step 8: Missing spaces (highlighted). Additionally, should str be formatted as inline code? image