fix find_module deprecation#1036
Conversation
|
Thank you. I'll get back to this when I have time to thoroughly test it. The code used |
|
import pkgutil all = [] # Define all here def _import_modules(): _import_modules() |
|
Have you managed to look a this @JustAnotherArchivist. snscrape is currently unusable with the latest python. |
In case it is not resolved for you yet, the above comment can fix it. Just go to your snscrape>modules>init.py and change the code. |
|
This simple one line fix helped me to run the script for the latest version of Python. |
fixes #782
additionally adds an editorconfig to make spaces/tabs consistent across contributions.