Submit templates for repl.it/templates here.

← Back to all posts
Python Chatting Template!
JBloves27 (1901)

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!

Comments
hotnewtop
Cooli (21)

I love this template, just clean and nice to begin with!

Cooli (21)

@JBloves27 Thank you for giving my first upvote ;)

Renatso24 (2)

I love it, I wish I could do that good :)

JBloves27 (1901)

Thanks! Practice makes perfect ;) @Renatso24

JulianaGeneva (3)

I like it, fairly straightforward, I didn't think it was confusing. :)

snommi (4)

Really cool! I like how it feels like an old irc chat with only one channel. Great job!

byronordolol (4)

@JBloves27 me when week 7 in fnf lol: aswwaawsaswdawdawdwasawdawddswdswadawdsawdwdsawwdxasdsadwsdawdawdwasawdwdasawd
am weird lol

DanielShapiro75 (1)

Love it! Gonna be used by me a lot!

CoderAr (1)

Awesome

It's cool but No one is online when im there :(

JBloves27 (1901)

Uh, thanks, but just saying, it doesnt rly work... @CoderAr

DeadWither (1)

I made this same thing with a in-built db

GhostKingNico (8)

IM SO SORRY i forked it and tried to pass it of as my own and didnt give u any credit. i have now given u credit.

GhostKingNico (8)

really? i did plagiarism @JBloves27

JBloves27 (1901)

lol, np its ok, i dont have license for this anyways xD @GhostKingNico

JBloves27 (1901)

? you're allowed to copy things here, you just need to change it and give credits, thats it :) @GhostKingNico

GhostKingNico (8)

ok! i gave you full credit on mine lol

@JBloves27

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 (1901)

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

ParrotDev (23)

The only problem is it doesn't work for 2 people using it at the same time :(

ooooaunglay55 (0)

AX9250Dn-9g8XC52t-uN629dQ7