Re: Not Able to Log in on XNAT server through PyXNAT

2014-12-04 Thread dieter
suyash@gmail.com writes: > Hello All, > > I have installed pyxnat on my mac. With pyxnat i am trying to access XNAT > server in our university. As mentioned on the tutorial i tried both ways, > neither is working. Following error is displayed: > central=Interface(server='http://hd-hni-x

Re: dict turn to list at runtime unexpected!!!

2014-12-04 Thread dieter
telnetgm...@gmail.com writes: > Why the following code gives me errors??? And why the print statement run 2 > times? I'll be appreciated your helps, thanks, > addrnum_dict = {'a':1,'b':2} > def orderaddrtimes(): > global addrnum_dict > print type(addrnum_dict) > > addrnum_dict = sorte

Re: time.monotonic() roll over

2014-12-04 Thread Lele Gaifax
Steven D'Aprano writes: > The most conservative approach is to assume that while you're suspended, > *everything else* is suspended too, so when you resume you still have to > sleep for the full N seconds. That's an intriguing interpretation of what sleep() should do, but I fail to see *how* the

<    1   2