Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Feb 2004
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I'd like to write an ICQ-like instant messenger in python

    Hello, everyone. I have just fallen in love with the python programming language, and want to write an ICQ-like instant messenger. Could someone give me a nudge in the right direction? I need a networking tutorial or something. Thanks.
    "Simplicity provides confidence, reliability, compactness, and speed."
    --Charles H. Moore

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From what I understand, Python is a server-side language. You'd need more than Python to make this instant messenger.

    Check out this url, it may be of help:
    http://www.python.org/topics/web/

    You'd need some sort of Client-side language to build the GUI and all that user interface stuff. That module on the client-side has to be able to connect to some sort of server (that you'd have to build). That server would probably be responsible for message routing to other users that are connected to the IM System.

    Good luck,
    Sadiq.

  • #3
    Master Coder
    Join Date
    Feb 2003
    Location
    Umeå, Sweden
    Posts
    5,575
    Thanks
    0
    Thanked 83 Times in 74 Posts
    Python, like PERL or Ruby, is a general purpose scripting language. It's available both client and server side. In fact, CGI, through which Python may work, is the general Unix scripting language interface, and is used even more clientside than serverside.
    liorean <[lio@wg]>
    Articles: RegEx evolt wsabstract , Named Arguments
    Useful Threads: JavaScript Docs & Refs, FAQ - HTML & CSS Docs, FAQ - XML Doc & Refs
    Moz: JavaScript DOM Interfaces MSDN: JScript DHTML KDE: KJS KHTML Opera: Standards

  • #4
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Have a look at tk and I don't know what network comm stuff there is but I imagine there is a winsock thingy for it...
    Omnis mico antequam dominus Spookster!

  • #5
    New to the CF scene
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Use WxPython with Twisted


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •