[Tutor] Opensource projects / Subversion

2012-04-08 Thread mjolewis
Hey everyone, I finally made my way into working on Opensource projects. I installed tortoisesvn. I included command line tools when running the installer. However when I invoke svn at command line, I get the following error: "svn: command not found" It seems like svn isn't installed, but agai

Re: [Tutor] Opensource projects / Subversion

2012-04-08 Thread Steven D'Aprano
mjole...@gmail.com wrote: Hey everyone, I finally made my way into working on Opensource projects. I installed tortoisesvn. I included command line tools when running the installer. However when I invoke svn at command line, I get the following error: "svn: command not found" It seems like s

Re: [Tutor] Opensource projects / Subversion

2012-04-08 Thread Tim Golden
On 08/04/2012 16:07, Steven D'Aprano wrote: mjole...@gmail.com wrote: Hey everyone, I finally made my way into working on Opensource projects. I installed tortoisesvn. I included command line tools when running the installer. However when I invoke svn at command line, I get the following error:

Re: [Tutor] regex question

2012-04-08 Thread Wayne Werner
On Fri, 6 Apr 2012, Khalid Al-Ghamdi wrote: hi all, I'm trying to extract the domain in the following string. Why doesn't my pattern (patt) work: >>> redata 'Tue Jan 14 00:43:21 2020::eax...@gstwyysnbd.gov::1578951801-6-10 Sat Jul 31 15:17:39 1993::rz...@wgxvhx.com::744121059-5-6 Mon Sep 21 2

[Tutor] Calling Classes From Tkinter Radio Buttons

2012-04-08 Thread Nathan
I'm using Tkinter for a GUI for a program of mine, and I'm trying to use radio buttons to select different functions, but it's not working right at all. Originally, I had something like class ClassOne(self): def ___str___(self): return "This is the base class." class ClassTwo(ClassOn

Re: [Tutor] Calling Classes From Tkinter Radio Buttons

2012-04-08 Thread Alan Gauld
On 08/04/12 23:26, Nathan wrote: I'm using Tkinter for a GUI for a program of mine, and I'm trying to use radio buttons to select different functions, Sorry, its too late for my brain to try and decipher your code (even though you have tried to shorten it!). But you can see a simple example

Re: [Tutor] regex question

2012-04-08 Thread kaifeng jin
I think you can do this: a=[] b=redata.split('::') for e in b: if e.find('@') != -1: a.append(e.split('@')[1]) list a includes all the domain 在 2012年4月9日 上午5:26,Wayne Werner 写道: > On Fri, 6 Apr 2012, Khalid Al-Ghamdi wrote: > > hi all, >> I'm trying to extract the domain in the foll

[Tutor] Game of python, help please.

2012-04-08 Thread leo degon
Hello all, Im trying to learn python and programming in my free time, and I'm trying to do a little personal project to trying and gain some skills. Im trying to do version of John conways game of life. I have a working version of the game. Written for 3.2.2 on a mac to be accessed through terminal