Malaysia python programmers

2008-11-05 Thread Marcus.CM
Hi, I apologize if this is not the place to do this. A python user group for malaysia is currently being formed , so if you are in malaysia, feel free to join us at : www.python.my Marcus.CM. -- http://mail.python.org/mailman/listinfo/python-list

Re: Recognizing the email package

2008-09-14 Thread Marcus.CM
Hi, Actually i think its the email package that needs to be "redefined", using lazyimporter is a bad decision and a lousy one. Even py2exe could not handle it correctly. Marcus. Wingware Support wrote: Marcus.CM wrote: Is there any reason why the IDE cant recognize the uppercase

found a bug with smtpd, where can i report this?

2008-09-06 Thread Marcus.CM
Hi, Where should i report the bug? smtpd bug. Marcus.CM -- http://mail.python.org/mailman/listinfo/python-list

Segmentation Fault on CDLL reloading

2008-08-30 Thread Marcus.CM
Hi, I use the following ctype to load a .so library in Linux. vr = ctypes.CDLL(sstr) And the following to release it so that i can reload the library without quiting the python script. _ctypes.dlclose(vr._handle) These calls are guarded by a writer lock and access to it guarded by a

Re: py2exe bug with email.MIMEText

2008-07-31 Thread Marcus.CM
Hi, After some debugging, i found the solution is to :- import email import email.mime.text import email.iterators import email.generator import email.utils Marcus. Marcus.CM wrote: There is a bug with py2exe when (at least under windows) when importing email # example testmime.py import

py2exe bug with email.MIMEText

2008-07-31 Thread Marcus.CM
There is a bug with py2exe when (at least under windows) when importing email # example testmime.py import email msg = email.MIMEText.MIMEText("dsafdafdasfA") print "ok" 1. Save the text above and setup as testmime.py 2. Run it and u can see "ok" 3. Create setup.py and run : python setup.py py

Re: We programming

2008-07-28 Thread Marcus.CM
Hi , I hope this doesnt invite flames.but for webpages i suggest stick with php... I'm outta here.wooosh srinivasan srinivas wrote: Hi, Could someone suggest me better python modules for developing web programming related projects like web-pages download and uopload?? Thanks, Sr

Re: Module clarification

2008-07-28 Thread Marcus.CM
Hi Hussein, Basically a module is a FILE and is considered as a singleton model. Yes ur wow.py assumption is correct. I recommend getting Mark Lutz Learning Python book to get you started. Marcus.CM Hussein B wrote: Hi. I'm a Java guy and I'm playing around Python these days... I

Re: Attack a sacred Python Cow

2008-07-26 Thread Marcus.CM
Well after reading some of these posts on "sacred python cow" on the "self" , i would generally feel that most programmers who started with C++/Java would find it odd. And its true, i agree completely there should not be a need to put "self" into every single member function. If you were writing

Re: Python Written in C?

2008-07-21 Thread Marcus.CM
Its called a BMW today. Fredrik Lundh wrote: Tim Golden wrote: Wrong! Real programmers can program using only Touring machine Is that some kind of bicycle? there's a nearly infinite number of software projects with that name, but the Ultimate Touring Machine could be found in sydney not

Re: Python Written in C?

2008-07-21 Thread Marcus.CM
Hi everyone, Yes, python is written in C. Maybe the original poster is looking for "ultimate" language and thus finds it uncomfortable that python should be written in C and not python itself. Actually it doesnt matter if IronPython is written in C# and Python in C. Each programming language i

Malaysia python user group

2008-07-13 Thread Marcus.CM
Hi, I am thinking of promoting Python for the local developers here in Malaysia, via Universities , seminars etc . Is there already a user group here in Malaysia? Any pointers would help. Marcus. -- http://mail.python.org/mailman/listinfo/python-list

Re: Why is there no GUI-tools like this for Windows?

2008-07-12 Thread Marcus.CM
Hi, Coming from a windows world i could understand this. For GUI, there is nothing near the power of the Visual Studio, this is especially true since C#. So python for me is for anything except GUI. It becomes self rejecting notion to do GUI in python when you type in those stuff that could ha