Re: [Tutor] Fwd: Need help returning a null/blank value when using string indexes

2013-08-28 Thread Dave Angel
On 27/8/2013 22:41, Robyn Perry wrote: > > part2 = (fragA[-7:-5] + '') > > But it asks me to use a string, not a blank space. part2 needs begin with > 'da' so I can produce 'Udacity' in Test Case 2, but needs to somehow end > with a null kind of value so I can produce 'Ucity' in Test Case 3. See

[Tutor] Fwd: Need help returning a null/blank value when using string indexes

2013-08-28 Thread Robyn Perry
Hi, This is my first time asking for help on this list, so I welcome constructive criticism about how to make my question clearer. AND I'm thankful that I found this list! Here's my issue: Below the line, I've copied and pasted an assignment. This isn't homework -- it's practice on a Udacity (fr

Re: [Tutor] spss.BasePivotTable

2013-08-28 Thread Albert-Jan Roskam
From: Steven D'Aprano >To: tutor@python.org >Sent: Wednesday, August 28, 2013 4:19 AM >Subject: Re: [Tutor] spss.BasePivotTable > > >On 27/08/13 23:14, Albert-Jan Roskam wrote: >> Hello, >> >> I am trying to create a BasePivot table with three columns: one for the >> labels, one for a a category

Re: [Tutor] os.system() not working

2013-08-28 Thread Chris Down
On 2013-08-28 08:16, wolfrage8...@gmail.com wrote: > PHP is not Python. You misread. > > I have a python program which i am calling from a php script. pgpqqKjmHTR5l.pgp Description: PGP signature ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] os.system() not working

2013-08-28 Thread wolfrage8...@gmail.com
On Tue, Aug 27, 2013 at 6:33 AM, Nitish Kunder wrote: > Hii > I have a python program which i am calling from a php script. > The arguments to the program is a path to the file > The program when directly run from console executes normally. > But when I try to execute the program from browser ie c