converting hexadecimal , octal numbers into decimal form using python script

Posted by Harshit Sharma on Stack Overflow See other posts from Stack Overflow or by Harshit Sharma
Published on 2010-06-15T02:17:57Z Indexed on 2010/06/15 2:22 UTC
Read the original article Hit count: 351

Filed under:
|
|

There are many inbulit functions like int(octal) which can be used to convert octal numbers into decimal numbers on command line but these doesn't work out in script . int(0671) returns 0671 in script, where as it represent decimal form of octal number on python command line. Help???

Thank You

© Stack Overflow or respective owner

Related posts about python

Related posts about hexadecimal