"tee chwee liong" <tc...@hotmail.com> wrote

is there a way to convert from string to long? for eg: i want to
concatenate all the arrays into data and make it same type (long) as data1.

int()

should work ok.
Just remember to supply the base:
eg.

int(s,16) for a hex string

HTH,

Alan G.

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to