[Tutor] Detect the folder of a file
Kanika Murarka
murarkakanika at gmail.com
Mon May 2 11:27:51 EDT 2016
Thank you everyone !
My situation was to check the indentation of every python file via a script.
I think looking for bin/activate will work.
On 28 April 2016 at 23:08, Alan Gauld via Tutor <tutor at python.org> wrote:
> On 28/04/16 11:11, Steven D'Aprano wrote:
>
> > You know, some day I must learn why people use virtual environments.
>
> Me too :-)
>
> My co-author included a section in one of her chapters of our
> recent book, and I duly played with them while reviewing that
> chapter. But at the end I just deleted it all and
> thought "Hmmmm....?"
>
> I know why they are useful in theory, but I've never found
> a practical use for them myself.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list