[Tutor] Python media player?

2006-05-08 Thread CPIM Ronin
Is there such a thing as a Python coded media player? I'm having troble with my Windows Media Player playing commercial DVDs and can't fathom why it should be so difficult to debug. I'm hoping the logic would be much clearer in Python. RC ___

Re: [Tutor] Linux Python install?

2006-01-24 Thread CPIM Ronin
Thanks for the responses gentalmen and apologies! It seems that Python IS included in Fedora but is not explicitly seen (as it is in Windows XP) as a desktop icon. It can be accessed by from the terminal by simply typing Python. RC From: Python <[EMAIL PROTECTED]> To: CPIM Ronin &

[Tutor] Linux Python install?

2006-01-23 Thread CPIM Ronin
Sorry to bother the list with so simple a question but on moving to Linux from Windows XP, it's not clear to me how to accomplish a Python install on Linux. On XP it was mostly point and click on a ".msi" file (with msi standing for Microsoft install). I've loaded the latest Fedora/Redhat rele

[Tutor] [tutor] Python magazines?

2005-12-16 Thread CPIM Ronin
Is there a monthly Python hardcopy magazine? Otherwise what general programming mags carry the most python articles? Thx! RC _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-u

[Tutor] Windows IDLE error msgs?

2005-11-12 Thread CPIM Ronin
I can get the standard Python error messages IF I execute a Python script via the command line OR the script I'm running from IDLE passes the initial syntax check and generates an execution error. However, if I have a syntax error that's caught in the initial syntax checking phase, IDLE merely g

Re: [Tutor] simple report writing? -- Thanks!

2005-11-11 Thread CPIM Ronin
Yes Johan, I did! Both the report and sort suggestions worked! Thanks to everyone who replied! FP >From: Johan Geldenhuys <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: CPIM Ronin <[EMAIL PROTECTED]> >CC: tutor@python.org >Subject: Re: [Tutor] simple report

Re: [Tutor] simple report writing?

2005-11-07 Thread CPIM Ronin
I neglected to mention that the list x_list was created by x_list = [] and then a series of x_list.append(y), where y are class instances with a variety of variables, one of which I want to use as a sort key. >I have a list (x_list) of class data. How do I sort that list by a selected >variable

[Tutor] simple report writing?

2005-11-07 Thread CPIM Ronin
I have a list (x_list) of class data. How do I sort that list by a selected variable common to all members of the list? x_list.sort(key=x_list.v_name) # doesn't work becuase x_list can't see the individual items. RC _ Don’t just

[Tutor] simple report writing?

2005-11-07 Thread CPIM Ronin
Can someone suggest a specific tutorial strictly on report writing? I'm able to write reports fairly easily in Python. I know the stuff like str(round(x,2)) where x = 3.145678 will yield 3.14. What I'm looking for is to be able to control left and right justification, column by column while usi

[Tutor] IDLE error msgs and line continuations?

2005-10-27 Thread CPIM Ronin
When using IDLE, after hitting F5 to save and run, if an error occurs, it merely flashes at the code location of the error. While I usually figure out what is wrong, why don't I get the detailed text error messages that the command line gives? Also, I'm getting most error messages when I try li

Re: [Tutor] Help(!) with OOP/Composition from "Learning Python"

2005-10-24 Thread CPIM Ronin
I've been reading about composition vs inheritance, and went back to "Learning Python" to look at something I found very confusing a year ago. Turns out I still find it very confusing :) Try this example ecology simulation by Kirby Urner: http://mail.python.org/pipermail/edu-sig/2000-April/000

[Tutor] Saving command line keyed input?

2005-10-19 Thread CPIM Ronin
I know that one should use IDLE or a choosen editor for any substantial Python coding! However, if one happens to have written some interesting doodlings on the regular command line interface (under Windows XP in my case), is there an easy way to save ALL input to date into a selected file? Fo