Python file location

Chris Angelico rosuav at gmail.com
Wed Mar 29 21:56:34 EDT 2023


On Thu, 30 Mar 2023 at 11:08, windhorn <aewindhorn at gmail.com> wrote:
>
> I have an older laptop I use for programming, particularly Python and Octave, running a variety of Debian Linux, and I am curious if there is a "standard" place in the file system to store this type of program file. OK, I know they should go in a repository and be managed by an IDE but this seems like way overkill for the kind of programming that I do, normally a single file. Any suggestions welcome, thanks.
>

Standard? No. Do whatever you like :) But there are a few useful
conventions. Personally, I keep all my random tools in a shed -
specifically, ~/shed, which is a single git repository in which I
throw all sorts of random junk, mostly those single-file scripts that
don't have any other real identity.

(Some of them do end up growing more files. It's rather ill-defined as
a concept.)

You could also just leave them in your home directory. That's pretty decent too.

ChrisA


More information about the Python-list mailing list