Re: Any decent IM protocol implementations (icq or aim)

2005-05-03 Thread Michael Soulier
On 5/3/05, Jaime Wyant <[EMAIL PROTECTED]> wrote: > Can anyone recommend one? Google isn't giving me much. http://jabberpy.sourceforge.net/ Mike -- Michael P. Soulier <[EMAIL PROTECTED]> http://www.digitaltorque.ca http://opag.ca python -c 'import this' -- http://mail.python.org/mailman/

Re: New Python website

2005-04-28 Thread Michael Soulier
On 28 Apr 2005 17:45:02 -0700, lpe <[EMAIL PROTECTED]> wrote: > http://www.pycode.com > > I was kinda suprised when I could not find any good sites with 3rd > party modules (other than the Vaults of Parnassus, where you must host > files elsewhere), so I decided to write one myself :) > It is bran

Re: PyGTK vs. wxPython

2005-04-27 Thread Michael Soulier
On 25 Apr 2005 08:56:23 -0700, dcrespo <[EMAIL PROTECTED]> wrote: > Hi all... > > I'm learning both, but at a slow step, so I want to know all the > comments about this subject in this group. Personally, I like pyGTK more because the docs are better. There's nothing I hate more than trying to use

Re: compile shebang into pyc file

2005-04-27 Thread Michael Soulier
On 26 Apr 2005 18:15:51 -0700, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Is there some reason why you want to run the .pyc file, rather than the > .py file? If you start the script with a. It's more efficient, since the code doesn't need to be compiled before it's run. b. What if you want to

Re: Getting into Python, comming from Perl.

2005-04-24 Thread Michael Soulier
On 4/24/05, Miguel Manso <[EMAIL PROTECTED]> wrote: > I'm a programmer with 5 year of experience into Perl. I'm on that point > where you resolve problems without thinking on HOW you'll do it with > that language but only on the problem itself. I code in perl and C all day. Python is a very nice e

Re: goto statement

2005-04-21 Thread Michael Soulier
On 4/20/05, Maxim Kasimov <[EMAIL PROTECTED]> wrote: > > but what if i just can't to do this becouse i'm working thrue ssh, and have > to use > only installed editors (such as vi) Then learn to use vi. :.,+10s/^/# " comment the next 10 lines Mike -- Michael P. Soulier <[EMAIL PROTECTED]> h

Re: Importing some functions from a py file

2005-04-19 Thread Michael Soulier
On 4/19/05, Anthony Liu <[EMAIL PROTECTED]> wrote: > > You are certainly right, because I don't know how to > protect the main functions. Where do I put > > if __name__ == '__main__': main() I just glanced in the modules section of the python documentation and surprisingly this is not mentioned

Re: Importing some functions from a py file

2005-04-19 Thread Michael Soulier
On 4/19/05, Anthony Liu <[EMAIL PROTECTED]> wrote: > But every time, I run code2.py, the main() of code1.py > is run. You probably did not protect your main function in both modules. ie. if __name__ == '__main__': main() Mike -- Michael P. Soulier <[EMAIL PROTECTED]> http://www.digitaltorqu