Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: What condition caused this True?
Post: RE: What condition caused this True?

(Sep-03-2019, 11:24 AM)ThomasL Wrote: (Sep-03-2019, 10:45 AM)venquessa Wrote: while True: if someThing: break; And if you donĀ“t use ; in python code anymore you become a True pythonist...
venquessa General Coding Help 14 4,739 Sep-03-2019, 01:01 PM
    Thread: What condition caused this True?
Post: RE: What condition caused this True?

Just to add one little thing, because it bugs me when I see it. There is no need to directly compare things to "True". For example, none of these are "proper" although they will compile and are tech...
venquessa General Coding Help 14 4,739 Sep-03-2019, 10:45 AM
    Thread: telnet from ssh tunnel
Post: RE: telnet from ssh tunnel

Would SNMP not be a better option for this? Chances are if you run an snmpwalk against it's top level you will find the temperature in a MIB somewhere. Wrapping this in some python is easy. Here is...
venquessa Networking 3 7,064 Sep-02-2019, 12:59 PM
    Thread: Sockets and Sendmail
Post: RE: Sockets and Sendmail

It looks like the socket "s" you get from writables is not in message_queues dictionary. Are you sure it is? For best practice protect all this dictionary[key] calls with: if key in dictionary: #...
venquessa Networking 2 2,304 Sep-02-2019, 12:51 PM
    Thread: Flask without Flask
Post: Flask without Flask

Hi, I have been writing a fairly extensive home automation system in Python (and C++ for microcontrollers). I have it all working and in operation for it's first version. Still lots to do on it, bu...
venquessa Networking 2 2,025 Sep-02-2019, 12:39 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020