On 09/30/2010 02:18 PM, John Fabiani wrote:
> On Thursday, September 30, 2010 02:13:31 pm Jeff Johnson wrote:
>    
>> John:  If I do this:
>>
>>       import lib.socutils as socutils
>>
>> Do I need to access it using:
>>
>>       self.socutils  ?
>>
>> Jeff
>>
>> ---------------
>>
>> Jeff Johnson
>> [email protected]
>> (623) 582-0323
>>      
> Of course not - it works just as any other import.  For example if I
> import mymodule
>
> mymodule.doMethod()
> mymodule.sp_attr = myValue
>
> Johnf
>
>    
The problem I am having is that it is not "sticking."  When I put an 
import statement in "manage imports" and save the form, it is gone when 
I open it up.  When I put it in myform-code.py it works fine.


Jeff

-------------------

Jeff Johnson
[email protected]



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to