> > NOTA: le variabili dovrebbero iniziare con una lettera minuscola.>
E' una convenzione o é obbligatorio ? Perché sto studiando il python sul testo
"pensare Informatico" ma non ho trovato riferimenti alle maiuscole> > Ma non
stavi parlando di socket? Come funziona il collegamento via seriale?>
Il socket é fatto via bluetooth sul cellulare
#Avvio del server RFCOMMdef StartServer(): global conn server =
socket.socket(socket.AF_BT, socket.SOCK_STREAM) channel =
socket.bt_rfcomm_get_available_server_channel(server) server.bind(("",
channel)) server.listen(1) socket.bt_advertise_service(u"JesterPlugIn",
server, True, socket.RFCOMM) socket.set_security(server, socket.AUTH |
socket.AUTHOR) print "- Waiting for clients..." conn, client_addr =
server.accept() return conn print "- Jester connected with phone"
Esite un modo per aggirare il problema di ReadLine ? Ho provatao anche con
l'istruzione read ma nessun riultato :( Lo script sul telefono sul telefono
comunica con un client fatto in vb6 su Windows ed in RealBasic su Mac.
_________________________________________________________________
Organizza le tue feste e condividine le foto con Windows Live Eventi!
http://home.services.spaces.live.com/events/
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python