The Python Oracle

How can I use a Python script in the command line without cd-ing to its directory? Is it the PYTHONPATH?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Beneath the City Looping

--

Chapters
00:00 How Can I Use A Python Script In The Command Line Without Cd-Ing To Its Directory? Is It The Pythonp
00:34 Accepted Answer Score 199
01:59 Answer 2 Score 60
02:20 Answer 3 Score 39
02:58 Answer 4 Score 5
03:22 Answer 5 Score 3
04:09 Thank you

--

Full question
https://stackoverflow.com/questions/1991...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #unix

#avk47