How to run python file with custom name like npm on Windows and Linux
Автор: Build Cool Stuffs
Загружено: 2022-06-22
Просмотров: 76
Описание:
How to run python file with custom name like npm on Windows and Linux
Hi in this video I showed how to run python file or any other programming language files with a custom name just like npm, git, composer and so on
Subscribe and be blessed with the greatest luck in the world
On Windows
Batch file command
@py.exe "absolute/path/to/the/python/or/other/language/file/of/choice.bar" %*
On Linux
Export command in .bashrc file
export PATH="absolute/path/to/the/folder/containing/your/pythonor/other/language/file/of/choice.bar:$PATH"
then
source ~/.bashrc - if you don't want to restart the CLI
#batch #npm #python #linux
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: