[pyar] Resumen de pyar, Vol 58, Envío 67

Lazaro Deusich lazarodeusich en gmail.com
Jue Dic 18 23:18:57 ART 2014


Una preg soy nuevo,y se me complica seguir la linea a los mail, no seria
mas facil para respoder y preguntar algun tipo de chat para miembros en la
pagina oficial?

El 18 de diciembre de 2014, 22:58, <pyar-request en python.org.ar> escribió:
>
> Send pyar mailing list submissions to
>         pyar en python.org.ar
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://listas.python.org.ar/listinfo/pyar
> or, via email, send a message with subject or body 'help' to
>         pyar-request en python.org.ar
>
> You can reach the person managing the list at
>         pyar-owner en python.org.ar
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of pyar digest..."
>
>
> Asuntos del día:
>
>    1. Re: Resumen de pyar, Vol 58, Envío 65 (Lazaro Deusich)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 18 Dec 2014 22:58:37 -0300
> From: Lazaro Deusich <lazarodeusich en gmail.com>
> To: pyar en python.org.ar
> Subject: Re: [pyar] Resumen de pyar, Vol 58, Envío 65
> Message-ID:
>         <CAD4nyy+D5S8RKkDOnFJyhboqJ793JdQGo3J-QozzT=
> ikVdHyXw en mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Puede ser por los pernisos que no anden, por ejemplo con pyparallel, desde
> editores no anda la libreria, pero de consola dandole los permisos
> adecuados si, por ejemplo para puerto paralelo es
>
> sudo rmmod lp
> sudo modprobe ppdev
> sudo chmod 666 /dev/parpot0
>
> busca quizas para el seria alla que darle permiso de acceso al hard
>
> El 18 de diciembre de 2014, 12:14, <pyar-request en python.org.ar> escribió:
> >
> > Send pyar mailing list submissions to
> >         pyar en python.org.ar
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://listas.python.org.ar/listinfo/pyar
> > or, via email, send a message with subject or body 'help' to
> >         pyar-request en python.org.ar
> >
> > You can reach the person managing the list at
> >         pyar-owner en python.org.ar
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of pyar digest..."
> >
> >
> > Asuntos del día:
> >
> >    1. Re: Fwd: [PSF-Members] This is a "Thank you" letter
> >       (Harenson Henao)
> >    2. Re: pyserial bajo python3.4 (Daniel)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 18 Dec 2014 10:12:36 -0500
> > From: Harenson Henao <harenson en gmail.com>
> > To: Python Argentina <pyar en python.org.ar>
> > Subject: Re: [pyar] Fwd: [PSF-Members] This is a "Thank you" letter
> > Message-ID:
> >         <CA+bHQy3poNosxhWOzNqM5DenDvrW2vusss9fn1B28-=o=
> > 2bJHg en mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > You're doing it right, guys!!!
> >
> > 2014-12-18 10:05 GMT-05:00 Daniel <dmlistapython en gmail.com>:
> > >
> > > siempre dije que programar en python era terapéutico :P
> > >
> > >
> > > _______________________________________________
> > > pyar mailing list pyar en python.org.ar
> > > http://listas.python.org.ar/listinfo/pyar
> > >
> > > PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >
> > > La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> > > Argentina - http://www.usla.org.ar
> > >
> > ------------ próxima parte ------------
> > Se ha borrado un adjunto en formato HTML...
> > URL: <
> >
> http://listas.python.org.ar/pipermail/pyar/attachments/20141218/aca1a24e/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Thu, 18 Dec 2014 12:14:04 -0300
> > From: Daniel <dmlistapython en gmail.com>
> > To: Python Argentina <pyar en python.org.ar>
> > Subject: Re: [pyar] pyserial bajo python3.4
> > Message-ID:
> >         <CAGS+azUW7rOynW_KpqHoGyHdkVmoskwi1hYmUwK7=
> > 3eA4X973g en mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > lo que me desorientó es el tema que anda todo en 3.3  y no en 3.4
> > pero el voy a meter mano a pyfiscalprinter para probar
> >
> > El 18 de diciembre de 2014, 12:07, Hernan Grecco <
> hernan.grecco en gmail.com>
> > escribió:
> > >
> > > On Thu Dec 18 2014 at 12:04:46 PM Daniel <dmlistapython en gmail.com>
> > wrote:
> > >
> > >> pero lo que me interesa es hacer andar el pyserial/pyfiscalprinter en
> > >> python 3.4
> > >>
> > >
> > > Entonces hay algo que no entiendo. El codigo que probaste es el que
> esta
> > > dando error en pyserial serialutil.py. O bien algo de la conversacion
> se
> > me
> > > escapo, o pyfiscalprinter no esta pasando los datos como figura la
> > pregunta
> > > de stackoverflow que mandaste. Estaria bueno ver que manda
> > pyfiscalprinter.
> > >
> > > Saludos,
> > >
> > > Hernan
> > >
> > >
> > >
> > >
> > >
> > >>
> > >> El 18 de diciembre de 2014, 12:01, Hernan Grecco <
> > hernan.grecco en gmail.com
> > >> > escribió:
> > >>>
> > >>> Hola,
> > >>>
> > >>>
> > >>>
> > >>> On Thu Dec 18 2014 at 11:42:26 AM Daniel <dmlistapython en gmail.com>
> > >>> wrote:
> > >>>>
> > >>>> en python3.3.2
> > >>>> >>> b = bytearray()
> > >>>> >>> for x in bytes('abc', 'UTF-8'):
> > >>>> ...   b.append(x)
> > >>>> ...
> > >>>> Traceback (most recent call last):
> > >>>>   File "<stdin>", line 1, in <module>
> > >>>> TypeError: str() takes at most 1 argument (2 given)
> > >>>>
> > >>>>
> > >>> Yo tengo Python3.3.5 y anda. Puede ser un bug the esa version de
> > >>> Python3.3. Podes cambiarla?
> > >>>
> > >>> Hernan
> > >>>
> > >>>
> > >>>>
> > >>>> El 18 de diciembre de 2014, 11:35, Hernan Grecco <
> > >>>> hernan.grecco en gmail.com> escribió:
> > >>>>
> > >>>>>
> > >>>>>
> > >>>>> On Thu Dec 18 2014 at 11:23:51 AM Daniel <dmlistapython en gmail.com>
> > >>>>> wrote:
> > >>>>>
> > >>>>>> en consola funciona esa solución pero
> > >>>>>> por eso preguntaba de meterle mano a la librería, me parece que
> voy
> > a
> > >>>>>> probar de meterle mano a la librería
> > >>>>>> pero ¿por que funciona en python 3.3?
> > >>>>>>
> > >>>>>
> > >>>>> A mi me anda en Python 3.4. Que version de PySerial tenes?
> > >>>>>
> > >>>>> Proba el siguiente codigo en los dos Python:
> > >>>>>
> > >>>>> >>> b = bytearray()
> > >>>>> >>> for x in bytes('abc', 'UTF-8'):
> > >>>>> ...    b.append(x)
> > >>>>>
> > >>>>> Hernan
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>>
> > >>>>>> El 18 de diciembre de 2014, 11:20, Hernan Grecco <
> > >>>>>> hernan.grecco en gmail.com> escribió:
> > >>>>>>
> > >>>>>>> On Thu Dec 18 2014 at 11:17:52 AM Daniel <
> dmlistapython en gmail.com>
> > >>>>>>> wrote:
> > >>>>>>>
> > >>>>>>>> exactamente esto:
> > >>>>>>>>
> > >>>>>>>>
> >
> http://stackoverflow.com/questions/22835551/python-serial-write-function-not-working
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>> Y la solución que esta ahi no te sirve. Porque eso es lo que you
> > >>>>>>> hago. `write` tomo bytes (no strings) como input. Tenes que pasar
> > tu string
> > >>>>>>> a bytes usando bytes(data, 'UTF-8')
> > >>>>>>>
> > >>>>>>> Hernan
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>
> > >>>>>>>> probando desde consola tengo el mismo error
> > >>>>>>>>
> > >>>>>>>> El 18 de diciembre de 2014, 11:16, Hernan Grecco <
> > >>>>>>>> hernan.grecco en gmail.com> escribió:
> > >>>>>>>>>
> > >>>>>>>>> Hola,
> > >>>>>>>>>
> > >>>>>>>>> Tengo este error en la librería pyserial, teóricamente funciona
> > >>>>>>>>>> con python3
> > >>>>>>>>>> pero la información que encuentro, para solucionar este
> problema
> > >>>>>>>>>> necesitaría meterle
> > >>>>>>>>>> mano a la librería.
> > >>>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> Yo uso Python 3.4 con PySerial sin meterle mano en la libreria.
> > >>>>>>>>> Podes mostrar el codigo (y el context) que llama la funcion que
> > te da error?
> > >>>>>>>>>
> > >>>>>>>>> Hernan
> > >>>>>>>>>
> > >>>>>>>>>
> > >>>>>>>>> _______________________________________________
> > >>>>>>>>> pyar mailing list pyar en python.org.ar
> > >>>>>>>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>>>>>>
> > >>>>>>>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>>>>>>
> > >>>>>>>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software
> > >>>>>>>>> Libre de Argentina - http://www.usla.org.ar
> > >>>>>>>>>
> > >>>>>>>>
> > >>>>>>>>
> > >>>>>>>> --
> > >>>>>>>> Daniel Malisani
> > >>>>>>>>  _______________________________________________
> > >>>>>>>> pyar mailing list pyar en python.org.ar
> > >>>>>>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>>>>>
> > >>>>>>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>>>>>
> > >>>>>>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software
> > Libre
> > >>>>>>>> de Argentina - http://www.usla.org.ar
> > >>>>>>>
> > >>>>>>>
> > >>>>>>> _______________________________________________
> > >>>>>>> pyar mailing list pyar en python.org.ar
> > >>>>>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>>>>
> > >>>>>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>>>>
> > >>>>>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software
> Libre
> > >>>>>>> de Argentina - http://www.usla.org.ar
> > >>>>>>>
> > >>>>>>
> > >>>>>>
> > >>>>>> --
> > >>>>>> Daniel Malisani
> > >>>>>>  _______________________________________________
> > >>>>>> pyar mailing list pyar en python.org.ar
> > >>>>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>>>
> > >>>>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>>>
> > >>>>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software
> Libre
> > >>>>>> de Argentina - http://www.usla.org.ar
> > >>>>>
> > >>>>>
> > >>>>> _______________________________________________
> > >>>>> pyar mailing list pyar en python.org.ar
> > >>>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>>
> > >>>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>>
> > >>>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre
> > de
> > >>>>> Argentina - http://www.usla.org.ar
> > >>>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> Daniel Malisani
> > >>>>  _______________________________________________
> > >>>> pyar mailing list pyar en python.org.ar
> > >>>> http://listas.python.org.ar/listinfo/pyar
> > >>>>
> > >>>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>>
> > >>>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre
> de
> > >>>> Argentina - http://www.usla.org.ar
> > >>>
> > >>>
> > >>> _______________________________________________
> > >>> pyar mailing list pyar en python.org.ar
> > >>> http://listas.python.org.ar/listinfo/pyar
> > >>>
> > >>> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>>
> > >>> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre
> de
> > >>> Argentina - http://www.usla.org.ar
> > >>>
> > >>
> > >>
> > >> --
> > >> Daniel Malisani
> > >>  _______________________________________________
> > >> pyar mailing list pyar en python.org.ar
> > >> http://listas.python.org.ar/listinfo/pyar
> > >>
> > >> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >>
> > >> La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> > >> Argentina - http://www.usla.org.ar
> > >
> > >
> > > _______________________________________________
> > > pyar mailing list pyar en python.org.ar
> > > http://listas.python.org.ar/listinfo/pyar
> > >
> > > PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> > >
> > > La lista de PyAr esta Hosteada en USLA - Usuarios de Software Libre de
> > > Argentina - http://www.usla.org.ar
> > >
> >
> >
> > --
> > Daniel Malisani
> > ------------ próxima parte ------------
> > Se ha borrado un adjunto en formato HTML...
> > URL: <
> >
> http://listas.python.org.ar/pipermail/pyar/attachments/20141218/33d22e68/attachment.html
> > >
> >
> > ------------------------------
> >
> > Subject: Pié de página del digest
> >
> > _______________________________________________
> > pyar mailing list
> > pyar en python.org.ar
> > http://listas.python.org.ar/listinfo/pyar
> >
> > PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
> >
> >
> > ------------------------------
> >
> > Fin de Resumen de pyar, Vol 58, Envío 65
> > ****************************************
> >
> ------------ próxima parte ------------
> Se ha borrado un adjunto en formato HTML...
> URL: <
> http://listas.python.org.ar/pipermail/pyar/attachments/20141218/3d6521e4/attachment.html
> >
>
> ------------------------------
>
> Subject: Pié de página del digest
>
> _______________________________________________
> pyar mailing list
> pyar en python.org.ar
> http://listas.python.org.ar/listinfo/pyar
>
> PyAr - Python Argentina - Sitio web: http://www.python.org.ar/
>
>
> ------------------------------
>
> Fin de Resumen de pyar, Vol 58, Envío 67
> ****************************************
>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20141218/11b9fea5/attachment-0001.html>


More information about the pyar mailing list