TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
Posted by ndjx [send private reply] at June 15, 2002, 08:34:27 PM Hey! I just got into this language and I want make my own instant messenger program. Is it possible to do this with Python? Ive looked through alot of it and I couldnt see how to make a graphic interface anywhere (for instance making a window screen like an AIM screen or something). Is it possible.
Posted by jay_dee [send private reply] at June 15, 2002, 08:55:27 PM if your just geting into python...i would suggest starting out by makeing something simpler then a IM program first.
as far as it being possile..from what i know of python(not that much) i would say no, but i'm no expert so I couldn't tell you for sure.
anyways.. start simple and work your way up..i think a IM program would be a @#$@ to program...
Posted by rev [send private reply] at June 22, 2002, 02:45:46 PM heh, luckily ndjx, mr. jay_dee doesn't know what he's talking about wrt python.
it's very possible to create an IM client in python. it's not as easy as 10 lines of code, but it's quite straightfoward, there are bindings to the AIM protocol I believe so it's mostly a matter of connecting this (which someone else wrote) to a GUI. the way you create a GUI in Python depends on the platform on which you're working. For example, I'd reccomend using Tkinter, which is included with Python. It is cross platform, so you can create GUIs for GNU/Linux, Unix, Mac OS X and even (ghasp) Windoze.
However, seeing how you didn't know that Python has no "standard" windowing interface, you're probably very new to the language. I agree with jay in that you should take your time and learn more about programming in general and in Python. Go through the tutorials. Find and go through a Tkinter tutorial. Use Google to find them.
An IM client won't be a bitch to write, but it'll take some knowledge in Python. It won't write itself. :)
Posted by jay_dee [send private reply] at June 24, 2002, 01:08:55 PM haha..like i said i don't know much about python.....sooo never listen to what i say... :)
Posted by jbman [send private reply] at June 25, 2002, 11:33:33 AM ooo python - i oughta learn that someday
Posted by AngelOD [send private reply] at June 25, 2002, 05:25:43 PM I only just now decided to look at Python.. I had looked at Perl, and was told that they were basically the same, and I hate Perl sooo much.. However, I decided to take a look anyway, as I was bored, and it's amazing! Though I have a small problem with the fact that you can't compile to executable files (well, you can on Windows, but that kinda ruins the fun of it).
I guess it would be possible to create a program in C and implement Python, then run the interpreter internally (I'm guessing this is what programs like X-chat does, but I could be wrong). :)
Posted by Linux_Penguin [send private reply] at June 26, 2002, 09:01:55 PM Actually there is a pretty cool game called blade of darkness by codemasters that was written entirely in python. It is entirely 3d and pretty fun if your into first person medieval(sp?) games. Also as I hear it Pytho0n is supposed to be much better than Perl, but that is just what I hear.... BTW Learning Python by O'reilly press is a good book to learn from.
Posted by AngelOD [send private reply] at June 27, 2002, 07:20:47 PM Having searched the web for a while, I've found (on Python's own page no less *facepalm*) that although Python scripts can't be compiled into executeable files yet, it *can* be packaged into such.. Now I just need to figure out how to use the darn thing. :o)
Posted by diegoeskryptic [send private reply] at June 28, 2002, 08:53:49 PM i just downloaded python... Time to get ready to study....
Register as a new user