.py question

Liam Proven lproven at gmail.com
Wed Apr 24 11:55:00 UTC 2019


On Tue, 23 Apr 2019 at 02:45, Gene Heskett <gheskett at shentel.net> wrote:
>
> Greetings all;
>
> I have a test equipment device running xenial, and one of the options
> needs to run "python3 xxx.py" except I have no clue where to put, in the
> file system, this xxx.py file so that python can find it and execute it.
>
> So where should I install this file and its passel of cousins?

Current directory, or anywhere on your $PATH.

If you want to install Python programs that other Python programs can
call, Python has its own packaging system called PIP. I know nothing
about it at all because I don't currently use Python.

https://realpython.com/what-is-pip/

-- 
Liam Proven - Profile: https://about.me/liamproven
Email: lproven at cix.co.uk - Google Mail/Hangouts/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven - Skype/LinkedIn: liamproven
UK: +44 7939-087884 - ČR (+ WhatsApp/Telegram/Signal): +420 702 829 053



More information about the ubuntu-users mailing list