Own network protocol

2014-12-27 Thread pfranken85
Hello! I am just about setting up a project with an Raspberry Pi that is connected to some hardware via its GPIO pins. Reading the data already works perfectly but now I want to distribute it to clients running in the network. Hence, I have to setup a server in Python. I do not want to reinven

Re: Own network protocol

2014-12-27 Thread Steven D'Aprano
pfranke...@gmail.com wrote: > What kind of protocol do you recommend for this? UDP or TCP? Do you > recommend the use of frameworks such as twisted? I don't recommend something as low-level as inventing your own protocol, or as heavy-weight as Twisted. Have you considered a remote-procedure call

Re: Own network protocol

2014-12-27 Thread Tim Chase
On 2014-12-27 01:56, pfranke...@gmail.com wrote: > I am just about setting up a project with an Raspberry Pi that is > connected to some hardware via its GPIO pins. Reading the data > already works perfectly but now I want to distribute it to clients > running in the network. Hence, I have to setup

Re: smtplib not working as expected

2014-12-27 Thread Juan Christian
On Sat Dec 27 2014 at 1:23:12 AM Vincent Vande Vyvre < vincent.vande.vy...@telenet.be> wrote: Try with the TLS: Many thanks, working like a charm, code: server = smtplib.SMTP('smtp.mail.ru') server.starttls() server.ehlo() server.login('SENDER EMAIL GOES HERE', 'PASSWD GOES HERE') server.sendmail

Re: smtplib not working as expected

2014-12-27 Thread Denis McMahon
On Sat, 27 Dec 2014 02:52:39 +, Juan Christian wrote: > So, I changed the code how you said, but still not working. > Traceback: > > reply: b'550 SMTP is available only with SSL or TLS connection > enabled.\r\n' > reply: retcode (550); Msg: b'SMTP is available only with SSL or TLS > connectio

Re: smtplib not working as expected

2014-12-27 Thread Tim Chase
On 2014-12-27 14:28, Denis McMahon wrote: > On Sat, 27 Dec 2014 02:52:39 +, Juan Christian wrote: > > reply: b'550 SMTP is available only with SSL or TLS connection > > enabled.\r\n' > > reply: retcode (550); Msg: b'SMTP is available only with SSL or > > TLS connection enabled.' > > ^^ hav

Re: smtplib not working as expected

2014-12-27 Thread Juan Christian
Denis it was already resolved, check my message above. ^^ -- https://mail.python.org/mailman/listinfo/python-list

New to PSF

2014-12-27 Thread prateek pandey
Hey, I'm new to PSF. Can someone please help me in getting started. -- https://mail.python.org/mailman/listinfo/python-list

Re: New to PSF

2014-12-27 Thread Steven D'Aprano
prateek pandey wrote: > Hey, I'm new to PSF. Can someone please help me in getting started. Can we have some context? What do you mean by PSF? The Python Software Foundation? Something else? -- Steven -- https://mail.python.org/mailman/listinfo/python-list