“OverflowError: Python int too large to convert to C long” on windows but not mac
I am running the exact same code on both windows and mac, with python 3.5 64 bit.
I am running the exact same code on both windows and mac, with python 3.5 64 bit.
The integer 2 has an __add__ method:
I want to take an integer (that will be <= 255), to a hex string representation
Is there a way in python to increment int object in place, int doesn’t seem to implement __iadd__ so += 1 actually returns a new object
The output I’m getting for my little example app is the following:
Every time I try me code it works but when I type in 'stop' it gives me an error: