Re: [Tutor] Send Hex

2009-12-18 Thread Mark Tolonen
"Григор" wrote in message news:acd355e80912180634l1c7a545fo7be9d5e99138b...@mail.gmail.com... Hi Can I send date and time like Hex in to the Serial port or file. from time import * It preferable to just use "import time" import time def TimeMake():

[Tutor] Send Hex

2009-12-18 Thread Григор
Hi Can I send date and time like Hex in to the Serial port or file. from time import * def TimeMake(): '''Formating time and data (dd-mm-yy hh:mm) and change it like ASCII''' Time=list(localtime()) #get Time and Date Time[0]=str(Time[0])#Make (