Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

This lesson is for members only. Join us and get access to thousands of tutorials and a community of expert Pythonistas.

Unlock This Lesson

Hint: You can adjust the default video playback speed in your account settings.
Hint: You can set your subtitle preferences in your account settings.
Sorry! Looks like there’s an issue with video playback 🙁 This might be due to a temporary outage or because of a configuration issue with your browser. Please refer to our video player troubleshooting guide for assistance.

Testing the Application

13carlestecno on Oct. 24, 2020

Hi Douglas,

thanks for tutorial. I’m trying to run app.py and get “Error: Got unexpected extra argument (run)”. I’m searching to fix problem but I’m not good. Dou you know the problem? Thanks and excuse me.

Douglas Starnes on Oct. 25, 2020

@13carlestecno To be more precise, I’d need more details. Are you getting that error in the browser? At the command line? Can you tell me which line in the code throws the error?

Thanks for watching the course!

13carlestecno on Oct. 25, 2020

Hi @Douglas,

it’s solved.

Using Pycharm and running app.py

Usage: __main__.py [OPTIONS]
Try '__main__.py --help' for help.

Error: Got unexpected extra argument (run)

or in Python console

Usage: pydevconsole.py [OPTIONS]
Try 'pydevconsole.py --help' for help.
Error: no such option: --mode

but in terminal it’s working.

I don’t know why, maybe in future I’ll know. I need to learn a lot of python

Thanks and sorry for your time.

Become a Member to join the conversation.