On 2011-08-24 07:03 +0530, Anand Chitipothu wrote: > > #!/usr/bin/python > > import sys, os > > sys.path.insert(0,"/var/www/webpy/webpy36") > > import web > > I think it is a bad practice. Using virtualenv is the right solution > to this problem.
Virtualenv is ideal, and it looks much nicer than sys.path.insert dance. :) -- Branko Vukelic [email protected] [email protected] Lead Developer Herd Hound (tm) - Travel that doesn't bite www.herdhound.com Love coffee? You might love Loveffee, too. loveffee.appspot.com -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
