Re: [Tutor] IDLE connection - was IDLE Usage

2007-07-21 Thread Sara Johnson
Okay, carry on then. :-) Still haven't figured it out either and I've tried reloading it. - Original Message From: Robert H. Haener IV <[EMAIL PROTECTED]> To: Sara Johnson <[EMAIL PROTECTED]> Cc: Python Sent: Saturday, July 21, 2007 9:04:52 PM Subject: Re: [Tutor] IDLE connection - wa

Re: [Tutor] IDLE connection - was IDLE Usage

2007-07-21 Thread Robert H. Haener IV
Sara Johnson wrote: > I am setting up an Xming/XWindows (forwarding?) and I followed what was > instructed. When I got ready to connect, it all looked okay, but then I > got this message. > > 'Warning: Missing charsets in String to FontSet conversion' > > Anyone know? > > Thanks, > Sara So

Re: [Tutor] How to determine if every character in one string is inanother string?

2007-07-21 Thread Alan Gauld
"Jerry Hill" <[EMAIL PROTECTED]> wrote > I like this one: > all(char in string.printable for char in testString) What is all? Is that a 2.5 thing (I'm still on 2.4 here) testString = "qwerty\buiop" all(char in string.printable for char in testString) > False > > -- > Jerry > __

Re: [Tutor] How to determine if every character in one string is in another string?

2007-07-21 Thread Alan Gauld
"Terry Carroll" <[EMAIL PROTECTED]> wrote > Basically, I have a string s, and I want to print it out only if > every > character in it is printable Here is my attempt... def isPrintable(s) import string return not filter(lambda c: c not in string.printable, s) But thats very similar t

[Tutor] IDLE connection - was IDLE Usage

2007-07-21 Thread Sara Johnson
I am setting up an Xming/XWindows (forwarding?) and I followed what was instructed. When I got ready to connect, it all looked okay, but then I got this message. 'Warning: Missing charsets in String to FontSet conversion' Anyone know? Thanks, Sara - Original Message From: Robert H

Re: [Tutor] Python program design

2007-07-21 Thread Terry Carroll
On Fri, 20 Jul 2007, Doug Glenn wrote: > I have a question on program design. The program will be a catalog of > portable media (DVD, CD, flash drive, floppy, etc). I am currently in the > preliminary stages of design and I currently would like to get input on what > the best method would be for

Re: [Tutor] correlation matrix

2007-07-21 Thread Noufal Ibrahim
Beanan O Loughlin wrote: > hi all, > > I am new to python, and indeed to programming, but i have a question > regarding correlation matrices. > > If i have a column vector > > x=[1;2;3;4;5] > > and its transpose row vector > > xt=[1,2,3,4,5] > > is there a simple way in python to create a 5x

Re: [Tutor] correlation matrix

2007-07-21 Thread Terry Carroll
On Sat, 21 Jul 2007, Beanan O Loughlin wrote: > I am new to python, and indeed to programming, but i have a question > regarding correlation matrices. Beanan, I never did get this kind of math, but have you looked at Numerical Python (NumPy), http://numpy.scipy.org/numpydoc/numpy.html ? Every

Re: [Tutor] web browser

2007-07-21 Thread Kent Johnson
max baseman wrote: > has anyone ever written a web browser with python and Tkinter? if so > is there any documentation on it? if not does anyone know if their > which tutorials i should read if i wanted to write one for my apple? > > i don't know vary much Tkinter so i was going to start there

[Tutor] web browser

2007-07-21 Thread max baseman
has anyone ever written a web browser with python and Tkinter? if so is there any documentation on it? if not does anyone know if their which tutorials i should read if i wanted to write one for my apple? i don't know vary much Tkinter so i was going to start there then i thought i would be us

[Tutor] correlation matrix

2007-07-21 Thread Beanan O Loughlin
hi all, I am new to python, and indeed to programming, but i have a question regarding correlation matrices. If i have a column vector x=[1;2;3;4;5] and its transpose row vector xt=[1,2,3,4,5] is there a simple way in python to create a 5x5 correlation matrix, obviously symmetric and having