Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Alexander Kapshuk
Dear Python Community, I was just wondering about what software modelling tools are normally used to design Python programs. I have heard of Star UML. Has anyone used it to design their programs? What else is available out there? Thanking you all in advance. Alexander Kapshuk I

[Tutor] SSH using python

2007-06-04 Thread Chandrashekar
Hi , Can anyone tell me how to do ssh to a machine using python and execute programs on the remote machine? Thanks in advance. Regards, Chandru - Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! G

Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Alan Gauld
"Alexander Kapshuk" <[EMAIL PROTECTED]> wrote > I was just wondering about what software modelling tools > are normally used to design Python programs. By the nature of Python and the size of programs normally written I'd say there is no modelling tool used *normally*. If a project is big eno

Re: [Tutor] using re

2007-06-04 Thread Roel Schroeven
johnf schreef: > I have the following > pattern='^([0-9]{0,%s})(\.[0-9]{0,%s})?$' % (self.IntegerWidth, > self.DecimalWidth) > ) > if re.match(pattern, self.GetValue())==None: > self.BackColor == "pink" > else: > self.BackColor == "white" > > self.IntegerWidth = 2

[Tutor] installing maya/python on linux

2007-06-04 Thread Preecha Bundrikwong
Dear all, Can anybody please give me an easy instruction on installing maya/python (pysource/sourcepy etc.) on a Linux machine. I've already downloaded it but never succeeded installing. BTW, there's no way to make installing process easier to life than this? (all those compile, source, .so, etc

Re: [Tutor] installing maya/python on linux

2007-06-04 Thread Thorsten Kampe
* Preecha Bundrikwong (Mon, 4 Jun 2007 16:07:49 +0700) > Can anybody please give me an easy instruction on installing maya/python > (pysource/sourcepy etc.) on a Linux machine. http://cgkit.sourceforge.net/mayadoc/install.html > I've already downloaded it but never succeeded installing. Aha. Why

Re: [Tutor] SSH using python

2007-06-04 Thread Thorsten Kampe
* Chandrashekar (Mon, 4 Jun 2007 01:45:57 -0700 (PDT)) > Can anyone tell me how to do ssh to a machine using python and execute > programs on the remote machine? Thanks in advance. Paramiko ___ Tutor maillist - Tutor@python.org http://mail.python.or

Re: [Tutor] using re

2007-06-04 Thread Kent Johnson
johnf wrote: > I have the following > pattern='^([0-9]{0,%s})(\.[0-9]{0,%s})?$' % (self.IntegerWidth, > self.DecimalWidth) You should use a raw string (prefix with r) to define pattern, though that isn't the problem here. > ) > if re.match(pattern, self.GetValue())==None: > self

Re: [Tutor] installing maya/python on linux

2007-06-04 Thread Preecha Bundrikwong
Thanks, but sorry again; how do you 'compile' the downloaded package? I'm new to Linux :-( PB ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Alexander Kapshuk
Thanks for your reply, Alan. I'm not there yet, as in I'm not a very experienced Python programmer and I'm still in the early stages of learning the language and programming as a whole. What I'm looking for is a way to design my programs, big or small, other than just pseudo-coding them on

Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Alexander Kapshuk
Thanks a lot Danny. Will definitely look into those things. Regards, Alexander Kapshuk ISD Education Office ICQ#295-121-606 ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Danny Yoo
> What I'm looking for is a way to design my programs, big or small, other > than just pseudo-coding them on a piece of paper. > > How do you design your programs? [Apologies to the list in advance: not much Python-specific information] I hope you don't mind the "academic" answer, but: htt

Re: [Tutor] using re

2007-06-04 Thread johnf
On Monday 04 June 2007 03:10, you wrote: > johnf wrote: > > I have the following > > pattern='^([0-9]{0,%s})(\.[0-9]{0,%s})?$' % (self.IntegerWidth, > > self.DecimalWidth) > > You should use a raw string (prefix with r) to define pattern, though > that isn't the problem here. > > > ) > > if re.

[Tutor] New programming tutorials

2007-06-04 Thread Mike Hansen
I was just looking at the Daily Python URL and there are two new Python tutorials: Building Skills in Programming How To Write Your Own Software Using Python http://homepage.mac.com/s_lott/books/nonprog/htmlchunks/index.html Hands-on Python http://www.cs.luc.edu/~anh/python/hands-on/ Mike __

Re: [Tutor] installing maya/python on linux

2007-06-04 Thread Thorsten Kampe
* Preecha Bundrikwong (Mon, 4 Jun 2007 17:30:03 +0700) > Thanks, but sorry again; how do you 'compile' the downloaded package? I'm > new to Linux :-( ./configure make make install ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/li

Re: [Tutor] SSH using python

2007-06-04 Thread Jesse Noller
On 6/4/07, Chandrashekar <[EMAIL PROTECTED]> wrote: Hi , Can anyone tell me how to do ssh to a machine using python and execute programs on the remote machine? Thanks in advance. Regards, Chandru -- Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now

Re: [Tutor] software modeling tools used with Python

2007-06-04 Thread Alan Gauld
"Alexander Kapshuk" <[EMAIL PROTECTED]> wrote > What I'm looking for is a way to design my programs, > big or small, other than just pseudo-coding them on > a piece of paper. IMHO One solution does not fit all here. The other day I had to do a lot of file maintenance - bulk renames and moves

Re: [Tutor] Launch external application?

2007-06-04 Thread Terry Carroll
On Fri, 1 Jun 2007, Brad Tompkins wrote: > Is there an easy way to make a python script that will launch an external > application for me ? I'm using Windows XP and I'm trying to create a little > front end that will launch the VLC media player for me. In addition to Grant's approach, if your fi

Re: [Tutor] More trouble debugging my game of life program

2007-06-04 Thread Matt Smith
On Sun, 2007-06-03 at 18:09 -0400, Brian van den Broek wrote: > The first thing I would do to try to track down the problem would be > to try 15x30 and 30x15 matrices. If you have two cases where one > behaves as expected and one does not, it is usually very useful to try > to match the two cas

Re: [Tutor] using re

2007-06-04 Thread Luke Paireepinart
> Thanks for you response. You are correct and I have determined that > something > is wrong with the "self.BackColor == "pink" " statement because it does not > turn the background pink but is firing. > == is comparison, not assignment. Perhaps this is the problem? -Luke __