Python Chatting Template!
JBloves27 (1902)

A fully functional Python Chatting Template!

Made by @JBYT27 (me)

About

I made this for others who have wanted to code a chatting repl with Python. I checked out the repl talk for more info about it, as I coded this. However, it seemed like there were many questions and posts, trying to make this kind of code. So I coded this! :D

Code

The code is actually pretty simple, the only problem was that it didn't have real time chatting. So you wouldn't know when whoever messaged whoever. However, I do have a simple solution to solve this problem. So if you guys type in the time and your time zone, that would solve it! I also added a login system, just in case no one would hack each other (imposter). I am also going to make another template after this ;)

Closing

This was my first template, and I hope it made it nonconfusing! Comment down below for suggestions or fork it! Cya on the next post! Thanks!

NOTE: Please don't ask for editing access, it annoys me and this is a template, you can just fork it. Thanks!


NOTE: THIS DOES NOT ACTUALLY WORK. IT DOESN'T HAVE A DB, AND IT ONLY SAVES FOR THE OWNER, SO FOR IT TO WORK, YOU NEED A DB, OR YOU HAVE TO INVITE SOME FRIENDS INTO IT TO TALK. THANKS!

You are viewing a single comment. View All
UniqueFX (0)

if you use the https://docs.python.org/3/library/datetime.html python datetime module, it is possible to display time without having the user post it. This could prevent inconveniences.

UniqueFX (0)

Also stated before, it doesn't work with multiple people using it at once @UniqueFX

JBloves27 (1902)

yeah, this is kinda an old template, ill make a new template that actually works later. ;) @UniqueFX

UniqueFX (0)

Yeah I know... I'm a bit late... @JBloves27