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/listinfo/python-list


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 brand new and might still be buggy, but hopefully it will be
 usefull to some people.  Feel free to join and upload any of your code.
 thanks

Something wrong with PyPi?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
http://www.digitaltorque.ca
http://opag.ca  python -c 'import this'
--
http://mail.python.org/mailman/listinfo/python-list


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 ship closed-source?

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
http://www.digitaltorque.ca
http://opag.ca  python -c 'import this'
--
http://mail.python.org/mailman/listinfo/python-list


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 an API that's poorly
documented, and wxPython's is horrid. The API docs are for C++ with an
occasional comment about Python, and the examples are all done with an
obsolete API that has since been updated.

I've found wxPython very frustrating for these reasons, whereas
PyGTK's docs are up-to-date and well done, easy to work with.

Maybe the wxPython people think their docs are good, but likely
they've forgotten how well they already know the API. They need to
take the time to update them.

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
http://www.digitaltorque.ca
http://opag.ca  python -c 'import this'
--
http://mail.python.org/mailman/listinfo/python-list


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 escape for me.

 Since Perl 6 started I've been following it. The conclusion I have is
 they're making a whole new language and I'll have to learn it. This
 being said and, since I've to learn a new language, I've started
 thinking in a new language. I've noticed Python is getting more and more
 developers and many projects are being made.

Perl6 seems to be taking its best features from Python, so I'll just
cut through the middle-man. ;-)

 I've tryed to use python some times but I get frustrated very quick. I
 get myself many times needing to figure out how to loop through a list,
 declare an associative array, checking how to pass named parameters to
 functions, and simple things like that.
 
 What I would like to know is if anyone had these problems and if you can
 share that experience with me. I'm trying to minimize my frustration :)

Sure, happens, but it happens with any new languages. Keep using it,
and you'll get over it.

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
http://www.digitaltorque.ca
http://opag.ca  python -c 'import this'
--
http://mail.python.org/mailman/listinfo/python-list


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 at all that I could see. I think
that's an oversight.

See this example:

http://diveintopython.org/getting_to_know_python/index.html

Mike

-- 
Michael P. Soulier [EMAIL PROTECTED]
http://www.digitaltorque.ca
http://opag.ca  python -c 'import this'
Jabber: [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list