Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1#!/usr/local/bin/python 

2# encoding: utf-8 

3""" 

4*Get common file and folder paths for the host package - used in unit testing code* 

5 

6:Author: 

7 David Young 

8""" 

9import os 

10 

11def getpackagepath(): 

12 """ 

13 *Get the root path for this python package - used in unit testing code* 

14 """ 

15 moduleDirectory = os.path.dirname(__file__) 

16 packagePath = os.path.dirname(__file__) + "/../" 

17 

18 return packagePath