Re: [Tutor] from import works but I'm flubbing a package import

2013-05-19 Thread Dave Angel
On 05/19/2013 09:30 PM, Jim Mooney wrote: Still puzzling on imports. I have the jimlib module in Lib with the proper __init__.py . Inside it is the program bark.py, with data item zarf that contains string 'fraz' It also contains the function barker. def barker(): print 'bark, bark' If I

[Tutor] from import works but I'm flubbing a package import

2013-05-19 Thread Jim Mooney
Still puzzling on imports. I have the jimlib module in Lib with the proper __init__.py . Inside it is the program bark.py, with data item zarf that contains string 'fraz' It also contains the function barker. def barker(): print 'bark, bark' If I do the below everything works: from jimlib i