Re: Permission denied and lock issue with multiprocess logging

2011-06-13 Thread kracekumar ramaraju
In case the File System is NFTS you might get this error because of user 
mapping.There may be some other issues too.
-- 
http://mail.python.org/mailman/listinfo/python-list


python xauth

2011-07-10 Thread kracekumar ramaraju
I am looking to use xauth in python?It is for my command line process,I would 
like to have few examples and resources.
-- 
http://mail.python.org/mailman/listinfo/python-list


value of pi and 22/7

2011-03-17 Thread kracekumar ramaraju
I tried the following
>>> 22/7.0
3.1428571428571428
>>> import math
>>> math.pi
3.1415926535897931
>>>


Why is the difference is so much ?is pi =22/7 or something ?
-- 
winning regards
kracekumar
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is there a better way to solve this?

2011-05-23 Thread kracekumar ramaraju
You can use sizeof function,
>>> a=12234
>>> b=23456.8
>>> a.__sizeof__()
12
>>> b.__sizeof__()
16
So sizeof int is 12 bytes and float is 16 bytes
-- 
http://mail.python.org/mailman/listinfo/python-list