theraspberryguy
Posts: 89
Joined: Fri Apr 08, 2016 7:02 pm
Contact: Website Twitter

ChitChat - an simple chat application in python

Wed Mar 29, 2017 8:04 pm

Hi everybody.

Recently, I created a python chat application at school so I could talk to other my friends who were running the script anywhere around school. I put it in a shared folder so anybody could navigate and run it.

Usually, socket programming is used so a server script must be running but this is not suitable so I created my application using a gmail account and tkinter. I have posted the code on github.

Head over to my blog to find out more: https://thereallycoolstuff.wordpress.co ... plication/

Please try it out and let me know what you think.

Thanks.
Here is my blog: https://thereallycoolstuff.wordpress.com

MarkyV
Posts: 97
Joined: Wed Sep 21, 2016 1:52 pm
Location: Buckingham, UK
Contact: Website

Re: ChitChat - an simple chat application in python

Wed Mar 29, 2017 9:28 pm

That's nice work Sanjeet - been browsing through your blog - that's a lot of good work :) - keep it up!

Mark
My RaspberryPi Blog: http://thepimaker.online

theraspberryguy
Posts: 89
Joined: Fri Apr 08, 2016 7:02 pm
Contact: Website Twitter

Re: ChitChat - an simple chat application in python

Thu Mar 30, 2017 4:07 am

Thanks :D.
Here is my blog: https://thereallycoolstuff.wordpress.com

scotty101
Posts: 3721
Joined: Fri Jun 08, 2012 6:03 pm

Re: ChitChat - an simple chat application in python

Thu Mar 30, 2017 9:30 am

Why not just use Gmail directly.... seems crazy to write an application to send messages that uses email as the transmission method.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

theraspberryguy
Posts: 89
Joined: Fri Apr 08, 2016 7:02 pm
Contact: Website Twitter

Re: ChitChat - an simple chat application in python

Thu Mar 30, 2017 7:59 pm

Well, as I had written in my post at the given link,

1) All messages are sent and fetched to and from one single gmail account.
2) Therefore, whoever runs it, especially from a shared folder, there is no setup required and the user can chat with everybody else who is running the script, configured with the same gmail account.
3) Only one person needs to configure my script with their new gmail account and then distribute it or put it in a shared folder where anybody can run it.

I suggest reading my post and running the application to get a full understanding of it.
Thanks.
Here is my blog: https://thereallycoolstuff.wordpress.com

Return to “General discussion”