Friday, August 24, 2012

Convert text to ASCII and ASCII to text - Python code

def asciiTest():
 
k = ord('B')

c = chr(66)

print(k)

print(c)

if __name__ == '__main__':
    asciiTest()


No comments:

Post a Comment