Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Asyncio Webserver
#4
I think it's fascinating that this was posted 6 months ago, and the OP still replied to a comment without hours.

Anyway, if it works, that's a pretty big accomplishment for something using async. Nice job.
When it comes to other people looking at your code, it helps to have a similar style. For python, we have what's known as pep8: https://www.python.org/dev/peps/pep-0008/

Some of the things it goes into can be done automatically for you by a code formatter such as black or autopep8 (both are available through pip). Other things (like having CamelCase class names) they won't do (as it could obviously cause the code to stop working).
Reply


Messages In This Thread
Asyncio Webserver - by philwhite - Jun-24-2019, 05:24 PM
RE: Asyncio Webserver - by scidam - Jun-26-2019, 06:47 AM
RE: Asyncio Webserver - by philwhite - Jun-26-2019, 12:50 PM
RE: Asyncio Webserver - by nilamo - Jun-26-2019, 04:17 PM
RE: Asyncio Webserver - by philwhite - Jun-26-2019, 05:07 PM

Forum Jump:

User Panel Messages

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