conception heritage or interface to multiprotocol read/write

2016-06-07 Thread Ni Va
Hi, In industrial project many protocols are often used for read/write goal at arrival. I would like to implement the better designed conception to enable read/write feature my main program. Example be abale to read/write on opc, s7 or others protocoles. If you have advices about this. Than

Re: Don't understand a probleme of module time not defined when calling a foo func

2016-05-31 Thread Ni Va
On Monday, May 30, 2016 at 11:10:33 PM UTC+2, Matt Wheeler wrote: > On Mon, 30 May 2016, 21:08 Ni Va, wrote: > > > > > _ > > Output: > > Traceback (most recent call last): > > File "", line 1, in > > File "", li

Don't understand a probleme of module time not defined when calling a foo func

2016-05-30 Thread Ni Va
Hi Evereybody, New in python dev, I don't understand why I obtain a problem of time module import as below in my function foo meanwhile this module is visible from the main core code. Thank you by advance Best Regards Niva # -*- coding: utf-8 -*- import time import sys from timeout import *