You are not logged in.

#1 2006-03-05 04:04:37

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Instant Messanger Protocol In Python

Hey all you fellow Archers!!  This week I decided to program something sweet, that would make me cool. :-P
I put three nights or so into this program. This is my first attempt at a real python program, a gtk2 program, an object oriented program, and my first network program, ever. So cut me a little slack! Would some of you python guys take a look at it and see what is cool and what sucks? I'm not really planning to make a real IM replacement, as AIM is all anyone around here uses, and Jabber is the Linux of IM... I just did this project as a learning experience.

Here's the source: http://punkrockguy318.no-ip.org/nimc-0.0.1.tar.gz

There are a couple known problems. I'll just get them out of the way right here:
* Logout. If you don't logout, you will be forever online.
* No status messages. You won't really be notified if your receipient isn't online or whatever
* Not beautiful. Remember, I did this in three nights so the interface doesn't have much love, and there aren't enough comments.
* I found out that the open/close every request thing wasn't the greatest. A telnet like solution would be better (keep all connections open)

Could you guys give me your opinions? Thank you! big_smile


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2006-03-06 02:39:07

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Instant Messanger Protocol In Python

Hey! i worked on this today and fixed a lot of things... if anyones interested...

http://punkrockguy318.no-ip.org/NIMC-0.0.3.tar.gz

This fixed the first three points on the other post.  You wlil be logged out if your client crashes, you will be notified when people aren't online, and, it's not AS ugly now.


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#3 2006-03-06 11:39:40

postlogic
Member
Registered: 2005-02-24
Posts: 410
Website

Re: Instant Messanger Protocol In Python

We need screenshots!

Offline

#4 2006-03-06 11:41:51

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Instant Messanger Protocol In Python

Nice one i like it, thx this may be the first thing i'll read in my python lessons

BTW isn't this topic a General Programming Forum topic ??

Offline

#5 2006-03-06 14:16:03

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Instant Messanger Protocol In Python

The connection was refused when I tried to download the source sad

Offline

#6 2006-03-06 20:07:03

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Instant Messanger Protocol In Python

jaboua wrote:

The connection was refused when I tried to download the source sad

Give it a shot now!  Sometimes during mornings on the east coasts my server will be down.


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#7 2006-03-06 20:16:59

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: Instant Messanger Protocol In Python

Screenshots:
http://punkrockguy318.no-ip.org/nimcshots

Again, be patient with the server, it will be down every now and then.

I'm thinking about redoing the interface.. Instead of having a lobby window, having the lobby functions in a system try icon... That would make more sense. I juse need to learn how to do that...

(try to hold off your flames on my operating system...) tongue


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

Board footer

Powered by FluxBB