[Python-ideas] Timer that starts as soon as it is imported
anatoly techtonik
techtonik at gmail.com
Wed May 27 10:50:09 CEST 2015
On Tue, May 26, 2015 at 9:28 PM, Chris Angelico <rosuav at gmail.com> wrote:
> On Wed, May 27, 2015 at 4:24 AM, anatoly techtonik <techtonik at gmail.com> wrote:
>> There are a lot of helpers like this that might be useful. Installing them
>> separately is a lot of hassle - it is easy to forget some.
>
> Package 'em all up into a single repository and clone that repo on
> every system you use. For me, that's called "shed", and I keep it on
> github:
>
> https://github.com/Rosuav/shed
>
> But whether it's public or private, git or hg, pure Python or a mix of
> languages, it's an easy way to pick up all those convenient little
> scripts. You'll never "forget some", because they're all in one place.
How do you make these importable? Do you git clone it from site-packages?
Like:
cd site-packages/
git clone .../shed .
??? What if you have two shed repositories with different tools?
More information about the Python-ideas
mailing list