On Fri, Aug 2, 2013 at 4:33 PM, Amandeep Behl wrote:
> Can anyone explain this code below:
>
>
> import sys
> import os
>
> if __name__ == '__main__':
> sys.path.insert(0, "..")
> else:
> sys.path.insert(0, os.path.join(
> os.path.split(__file__)[0], '..'))
>
When you run this
Amandeep Behl wrote:
> Can anyone explain this code below:
>
>
>
> Can anyone explain this code
> below:import sysimport
> os if __name__ ==
> '__main__': sys.path.insert(0, "..")
> else: sys.path.insert(0,
> os.path.join( os