Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Temp Converter with Kelvin
Post: RE: Temp Converter with Kelvin

I'm not exactly understanding your conversion methods, but this is how I would do it: print("K for kelvin, C for Celsius, F for Fahrenheit ") option = None while not option in ['c', 'f', 'k']:    op...
Vexis Homework 7 12,232 Oct-02-2016, 03:39 AM
    Thread: convert hex encoded string to ASCII
Post: RE: convert hex encoded string to ASCII

Personally, I've found the fromhex method of bytes to be useful. print(bytes.fromhex('7370616d')) # b'spam'
Vexis General Coding Help 4 114,398 Oct-02-2016, 03:02 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020