Stefano Sguotti wrote: > Salve a tutti. Programmando in cobol, sono abituato a “spacchettare” un > flusso di input in un tracciato (detta copy) di working storage, che può > avere questa forma: > > 01 rec-input > 05 rec-abi pic x(05) > 05 rec-abi-interno pic x(05) > 05 rec-applicazione pic x(04) > 05 rec-rapporto pic x(30) > 05 rec-data-valuta pic 9(8) > 05 rec-importo pix s9(15)v9(03) > > In Python c’è una cosa analoga?
L'interpretazione di una sequenza arbitraria di byte si può gestire con la libreria struct: http://docs.python.org/lib/module-struct.html -- Nicola Larosa - http://www.tekNico.net/ The big SOAP boys are now admitting they f'd up big time. Let's see how they try to make a dime off of HTTP and other really open and already proven and relatively simple technologies. Good luck with that. [...] Isolating crap like SOAP and ultimately removing it are steps toward sanity and successful transition. -- Patrick Logan, January 2007
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python