Python Forum
Please Help , Total Noob need help to run Scrip on Windows - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Please Help , Total Noob need help to run Scrip on Windows (/thread-24830.html)



Please Help , Total Noob need help to run Scrip on Windows - ClicksCode - Mar-06-2020

Hi, I'm trying to run the following Script:

https://gitlab.com/DeBos/ytviewer

I installed everything as the short guide.

Now How Do I run this: inside Python or CommandPrompt?

Can somebody please post an example of what should I type?

Tried this in Python:
"python main.py -u, https://youtu.be/21HKaqA1rpo"

But I get a SyntaxError.

Many Thanks in advance.


RE: Please Help , Total Noob need help to run Scrip on Windows - ibreeden - Mar-06-2020

Hello ClicksCode,
You get a SyntaxError? Then you better post the error. Please use BBcode to post your error.
In your command line I see a comma. I think it should not be there.


RE: Please Help , Total Noob need help to run Scrip on Windows - DeaD_EyE - Mar-06-2020

Holy ....
Have you seen the code?

The quality is poor.
This is a very good example how not to write a Python program.

Biggest mistakes:
  • PEP8 violations
  • use of globals
  • too broad exception clause
  • unusual place for imports

Just post the excpetion/traceback.