У нас вы можете посмотреть бесплатно Python on Windows - PYTHONSTARTUP Tutorial или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this tutorial, we are going to create a workaround for a minor glitch in Windows when running the python interpreter. When running the python interpreter and you would like to clear the screen the usual command of 'ctrl-l' doesn't work and only shows '^L' on the screen. One way to clear the screen is to run some code and create a clear function: import os clear = lambda: os.system('cls') Once this is done, calling the clear command "clear()" will clear the screen. This is good for the current shell but will become tedious to repeat on every restart of the python shell. Creating a python file with this code and having it run every time the interpreter is started is the next best solution. PYTHONSTARTUP is a variable that needs to set to the python file so that it runs at the start of the interpreter. The PYTHONSTARTUP variable can be set in the Control Panel\System and Security\System section. Under Advance System Settings - Advanced Tab - Enviornmental Variables Under User and System Variables you can add the PYTHONSTARTUP variable and point it to your python file.