Hi all
I have a small suite of python modules, say
A.py
B.py
C.py
which can be invoked in a variety of ways. eg.
1) A.py is invoked directly; this imports and uses B.py and C.py
2) B.py is invoked; this imports and uses A.py and C.py
I use the logging module in
Hi All
thanks very much for the various suggestions - very helpful.
I think I like one of the 'just catch the exception' approaches,
or using Mitya's helper function, which I was clutching towards myself.
Either way, lots of food for thought. This forum really is one of the best
places aroun
Hi there
I'm being very dumb ... how can I simplify this fragment?
if arglist:
arglist.pop(0)
if arglist:
self.myparm1 = arglist.pop(0)
if arglist:
self.myparm2 = arglist.pop(0)
if arglist:
Gisle Vanem wrote:
> "jkn" wrote:
>
>>I have to write python code which must run on an old version of
>> python (v2.4) as well as a newer (v2.7). I am using pylint and would
>> like to check if is possible to check with pylint the use of operators
>> etc. which are not present in 2.4; the te