[Tutor] [spoiler] Re: Shifting arrays as though they are a 'word'

Alan Gauld alan.gauld at yahoo.co.uk
Tue Oct 9 14:13:07 EDT 2018

On 09/10/18 17:32, Mark Lawrence wrote:
> On 09/10/18 17:10, Alan Gauld via Tutor wrote:
>> On 09/10/18 13:45, Chip Wachob wrote:
>>> Another related question.  How do I know I want to do dir(int) vs.. I
>>> don't know dir(long)?
>> Because you want to convert the byte array into an int.
>> And there is no long in Python...
> Really? :)

I should, of course, have said there is no long in Python v3...

We have since established that Chip is using 2.7 so there
is indeed a long type.

I pretty much stopped using v2 about 3 years ago so I
tend to forget about these details.

Alan G
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:

More information about the Tutor mailing list