Re: [Tutor] Define Build Deployment

2012-07-11 Thread Alexandre Zani
On Wed, Jul 11, 2012 at 8:31 AM, James Bell wrote: > I'm fairly new to software development in an enterprise environment I'm > constantly hearing the term "build deployment" and do no want to ask what it > means since it seems simple. I cannot find a definition online. > > if the word is context s

Re: [Tutor] Define Build Deployment

2012-07-11 Thread Prasad, Ramit
> I'm fairly new to software development in an enterprise environment I'm > constantly hearing the term "build deployment" and do no want to ask what it > means since it seems simple. I cannot find a definition online. Not really a Python question. A "build" is when you compile (and optionally ru

Re: [Tutor] advice on global variables

2012-07-11 Thread James Reynolds
On Wed, Jul 11, 2012 at 10:30 AM, Chris Hare wrote: > > On Jul 11, 2012, at 8:05 AM, Walter Prins wrote: > > > [snip] > > > Your original example modified as demonstration: > > > > a.py: > > > > import shared > > import b > > > > def func1(): > >print "global var in func1 = %s" % sha

[Tutor] Define Build Deployment

2012-07-11 Thread James Bell
I'm fairly new to software development in an enterprise environment I'm constantly hearing the term "build deployment" and do no want to ask what it means since it seems simple. I cannot find a definition online. if the word is context specific please describe what it means at your company. thank

Re: [Tutor] get columns from txt file

2012-07-11 Thread Prasad, Ramit
> I have a group of files in a directory. > I want to extract from files whose names start with bb_ column number 5 to > an excel file. I have 6 bb_ files, therefore I want to get 6 columns (5th > column from each file) > This code is working,with the following errors: > * I get the data in o

Re: [Tutor] advice on global variables

2012-07-11 Thread Chris Hare
On Jul 11, 2012, at 8:05 AM, Walter Prins wrote: > [snip] > Your original example modified as demonstration: > > a.py: > > import shared > import b > > def func1(): >print "global var in func1 = %s" % shared.global_var > > class intclass: >def func2(self): >

Re: [Tutor] get columns from txt file

2012-07-11 Thread Don Jennings
On Jul 11, 2012, at 10:21 AM, tutor-requ...@python.org wrote: > > Message: 4 > Date: Wed, 11 Jul 2012 16:20:05 +0200 > From: susana moreno colomer > To: > Subject: [Tutor] get columns from txt file > Message-ID: > Content-Type: text/plain; charset="iso-8859-1" > > > Hi! > > I have a group o

[Tutor] get columns from txt file

2012-07-11 Thread susana moreno colomer
Hi! I have a group of files in a directory. I want to extract from files whose names start with bb_ column number 5 to an excel file. I have 6 bb_ files, therefore I want to get 6 columns (5th column from each file) This code is working,with the following errors: I get the data in only

Re: [Tutor] advice on global variables

2012-07-11 Thread Walter Prins
Hi, On 11 July 2012 01:31, Chris Hare wrote: > Thanks Alan -- I am thinking I am just gonna go with the RAM based SQLite > database …. That seems an awfully large hammer for a little global variable problem. Why can you not (as a start) just move the global(s) into their own namespace/location

Re: [Tutor] advice on global variables

2012-07-11 Thread Don Jennings
On Jul 11, 2012, at 4:48 AM, tutor-requ...@python.org wrote: > Message: 1 > Date: Tue, 10 Jul 2012 19:31:09 -0500 > From: Chris Hare > To: tutor@python.org > Subject: Re: [Tutor] advice on global variables > Message-ID: <38ebadce-c2b1-4f15-b6e1-cb725f800...@labr.net> > Content-Type: text/plain;

Re: [Tutor] Tutor Digest, Vol 101, Issue 37

2012-07-11 Thread kala Vinay
On Wed, Jul 11, 2012 at 3:30 PM, wrote: > Send Tutor mailing list submissions to > tutor@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.python.org/mailman/listinfo/tutor > or, via email, send a message with subject or body 'help' to >

Re: [Tutor] Extracting the list from a string

2012-07-11 Thread Steven D'Aprano
On Wed, Jul 11, 2012 at 02:18:04PM +0530, kala Vinay wrote: > Hi all, > >say i have a string s="['a','b']" and i want to get a list object > from this string s ie l=['a','b'] The AST module contains a safe way to parse and eval literal expressions, including strings, nested lists, and bu

[Tutor] Extracting the list from a string

2012-07-11 Thread kala Vinay
Hi all, say i have a string s="['a','b']" and i want to get a list object from this string s ie l=['a','b'] Please help. Thank you in advance -- Regards, Kala ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription option