Ishwar,
You might want to focus on applications of Python.
For example, you might have a few lectures on web development using
mod_python, scientific computing using numpy, windows scripting using
win32com and GUI development using wxPython and wxGlade.
Roy
On Fri, Feb 22, 2008 at 7:50 AM, [EMA
Konrad, I use wxPython with wxGlade.
I love wxGlade!
wxGlade http://wxglade.sourceforge.net/
You need to look at this documentation to code event handling.
wxWidgets http://www.wxwidgets.org/manuals/stable/wx_classesbycat.html
You can also try coding the GUI manually, but it is much easier to us
Hi Konrad,
I remember taking a long time in deciding which GUI framework to use last
year and I picked wxGlade/wxPython because it seemed mature, easy to use and
easy to understand.
In the beginning I wasted a lot of time coding the GUI manually but wxGlade
lets me use the mouse to arrange the co
I really like WebFaction for web-based Python projects. It's a paid
web-hosting service, though. What I like is how they always have the
most up-to-date Python packages and frameworks using one-click
installers.
On Sat, Jan 31, 2009 at 4:30 PM, andrew cooke wrote:
> On Jan 31, 4:50 pm, "Giampao
Hi,
This is great, however, the link to the What's New page appears to be
broken.
http://docs.python.org/dev/3.0/whatsnew/3.1.html
RHH
On Thu, Dec 4, 2008 at 8:37 AM, Istvan Albert <[EMAIL PROTECTED]>wrote:
> Congratulations on a fantastic work!
> --
> http://mail.python.org/mailman/listinfo/py
Dear python-list,
I'm having some trouble decoding an email header using the standard
imaplib.IMAP4 class and email.message_from_string method.
In particular, email.message_from_string() does not seem to properly
decode unicode characters in the subject.
How do I decode unicode characters in the
crosoft MimeOLE V6.00.2900.5579
RHH
On Wed, Feb 25, 2009 at 8:39 AM, wrote:
> John Machin wrote:
>> On Feb 25, 11:07=A0am, "Roy H. Han"
>> wrote:
>> > Dear python-list,
>> >
>> > I'm having some trouble decoding an email header using th
Cool, it works!
Thanks, RDM, for stating the right approach.
Thanks, Steve, for teaching by example.
I wonder why the email.message_from_string() method doesn't call
email.header.decode_header() automatically.
On Wed, Feb 25, 2009 at 9:50 AM, wrote:
> Steve Holden wrote:
>> >>> from email.he
Brett,
I'm not sure what exactly you're trying to do, but you can keep track
of line numbers using itertools.
import itertools
for lineIndex, line in itertools.izip(itertools.count(1), open('text.txt')):
print lineIndex, line
Here is sample code for breaking on a word and returning the prev
On Fri, Feb 27, 2009 at 12:20 PM, Scott David Daniels
wrote:
> (1) Please do not top post in comp.lang.python, it violates conventions.
>
> Brett Hedges (should have written):
>> bearophile wrote: ...
>>>
>>> You can also keep track of the absolute position of the lines in the
>>> file, etc, or st
The percent sign is a placeholder.
For example, if
level = 1
msg = 'look'
Then
'[[Log level %d: %s]]' % ( level, msg )
becomes
'[[Log level 1: look]]'
%d means insert an integer
%s means insert a string
You can also use dictionaries.
d = {'string1': 'hey', 'string2': 'you'}
Then
'%(string1)s %(
I don't understand what you're trying to do here.
On Thu, Jul 17, 2008 at 10:57 AM, mk <[EMAIL PROTECTED]> wrote:
>
> It seems like getter is defined in such way that it passes only 'self':
>
>
> class FunDict(dict):
>def __init__(self):
>self.fundict = dict()
>
>d
Why not just use sets?
a = set()
a.add(1)
a.add(2)
On Tue, Aug 5, 2008 at 10:14 PM, RPM1 <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>>
>> I have a csv file containing product information that is 700+ MB in
>> size. I'm trying to go through and pull out unique product ID's only
>> as th
Learning by example is the best. I remember working through a book when I
was little called "Qbasic by Example."
On Tue, Apr 1, 2008 at 9:15 PM, AK <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I find that I learn easier when I go from specific examples to a more
> general explanation of function's ut
Your boyfriend is pretty funny. I tried to get my girlfriend to learn
Python a long time ago but she doesn't see value in it.
On Fri, Apr 4, 2008 at 12:31 AM, AJay Grimmett <[EMAIL PROTECTED]> wrote:
> My name is Amanda. My boyfriend sent me an encrypted message by using
> python. I guess he tho
Hi Clive,
For ArcGIS, I use plain old VIM, IPython and IDLE.
If you really want PythonWin, then you can download Mark Hammond's Python
for Windows extensions: http://sourceforge.net/projects/pywin32/
Note also that with the pywin32 extensions, you can also use Python 2.5 to
access ArcGIS using
16 matches
Mail list logo