Skip to content

Commit f5c3d8c

Browse files
committed
add mod
1 parent 22eefd6 commit f5c3d8c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

learning/base-language/modules.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
If you get the error `module $module has no $method attribute`, for example: `module csv has no reader attribute` when [it clearly does](https://docs.python.org/3/library/csv.html) then this is because I named my file `csv.py`. Once renamed to `monitorcsv.py`, everything worked. Had the same thing happen with `email.py`.

0 commit comments

Comments
 (0)