Recently, when learning the Python crawler, when using various library features, write a small code, named demo py file such as: requests.py,json.py,csv.py. "Module" CSV ' has no attribute ' Writer ' "or" module ' requests ' has no attribute ' get ' etc, later found to change the folder name of these libraries to "requests1" and so on, and then import requests1 can run normally. Only recently realized that no one taught himself, self-taught how many pits, the original is written by their own script naming problems, with these bullish library names. I said how to Vscode, pycharm these cattle break tool for a moment bad use, a variety of find not local module, a variety of call library properties and methods, the result of the code on PowerShell run but good!
Hey, after your own script to write the name or low-key point good, not with the great God's library names!
Python file naming considerations for PY