guys please...
if the error is (simplified) "command line argument 1 is missing, please provide it", we don't need to discuss this issue in 5+ posts, do we? Just provide the argument that is requested (the filename I suppose)
If you don't understand the code and can't read simple error messages , then you should *not* run code that you find online (somewhere, also not from here).
Of course also using an online service to run python code, doesn't really help much. Maybe that works somehow for a Hello World program, but not for a python program which needs external modules etc.
Removing imports just because the *online service* (sigh) doesn't have the dependency, does not make the things any better.
if the error is (simplified) "command line argument 1 is missing, please provide it", we don't need to discuss this issue in 5+ posts, do we? Just provide the argument that is requested (the filename I suppose)
If you don't understand the code and can't read simple error messages , then you should *not* run code that you find online (somewhere, also not from here).
Of course also using an online service to run python code, doesn't really help much. Maybe that works somehow for a Hello World program, but not for a python program which needs external modules etc.
Removing imports just because the *online service* (sigh) doesn't have the dependency, does not make the things any better.