Many Thanks!! It worked like a charm. Fredrik Lundh wrote: > [EMAIL PROTECTED] wrote: > > > mac_string = '001485e55503' (This is the mac address of a computer.) > > > > I am using wake on LAN python script to start computer remote.It uses > > format like this .... > > > > s.sendto('\xff'*6 + '\x00\x014\x85\xe5\x55\x03'*16, ('192.168.1.255', > > 80)) > > > > where '\x00\x14\x85\xe5\x55\x03' is the MAC address to be used. > > s.sendto('\xff'*6 + binascii.unhexlify(mac_string) *16, ('192.168.1.255', > 80)) > > </F>
-- http://mail.python.org/mailman/listinfo/python-list