If you have a python program which uses command line arguments, even something as simple as one command line argument, it take several lines of code to accept and properly handle this. Multiple command line arguments can be a nightmare to properly handle.
This video will demonstrate how to simplify the usage of python command line arguments with a utility called plac, written by Michele Simionato.
Plac supports positional arguments, optional arguments, default arguments and flags. It will ensure your arguments have been properly entered and are of the correct data type and can give detailed information about proper usage.
Смотрите видео Python Command Line Arguments with Plac онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь buckmasterinstitute 13 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 252 раз и оно понравилось 3 людям.