Re: [Tutor] directory within directory

2011-08-18 Thread questions anon
Excellent, thank you!! On Wed, Aug 17, 2011 at 5:43 PM, Peter Otten <__pete...@web.de> wrote: > questions anon wrote: > > > Thank you, that does create the directories in the new place but when I > > process the data it does not put the outputs in the correct directory > they > > all end up in th

Re: [Tutor] Best way to store and access a fixed coordinate list

2011-08-18 Thread Steven D'Aprano
David Crisp wrote: Hello, I have a large grid of numbers 100 * 100 I then randomly select an X and Y to act as a "centre" point. I have a list of numbers which are coordinate offsets which are then applied to the centre point as per: X = (-2,2),(-4,2),(4,2),(2,2) (The list is about 200 coor

[Tutor] Best way to store and access a fixed coordinate list

2011-08-18 Thread David Crisp
Hello, I have a large grid of numbers 100 * 100 I then randomly select an X and Y to act as a "centre" point. I have a list of numbers which are coordinate offsets which are then applied to the centre point as per: X = (-2,2),(-4,2),(4,2),(2,2) (The list is about 200 coordinate pairs long) T

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
On Thu, 18 Aug 2011 14:55:19 -0400 "Prasad, Ramit" wrote: > Have you taken a look at: http://pypi.python.org/pypi/stdeb/0.5.1 Thank you for this. Actually I got the same advice also on my SO question here: http://stackoverflow.com/q/7110604/146792 at about the same time you answered me. Good so

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
On Fri, 19 Aug 2011 00:08:30 +0100 Alan Gauld wrote: > I notice there is also a distutils SIG with a mailing list which > looks like they might help. A quick look at some mails suggests they > cover this kind of issue. > > FWIW I used the gmane web site to take a quick look... Thanks for both t

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Alan Gauld
On 18/08/11 16:39, Mac Ryan wrote: On Thu, 18 Aug 2011 22:43:09 +1000 Steven D'Aprano wrote: This is a mailing list for learning the programming Python, not on how to built Debian packages. You will probably get better answers if you ask this question on a Debian packaging forum. In

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Prasad, Ramit
Have you taken a look at: http://pypi.python.org/pypi/stdeb/0.5.1 This actually looks like it might be what you want: http://ubuntuforums.org/showthread.php?t=1002909 Hope that helps, Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Prasad, Ramit
>> To be honest, even after reading your original post twice (now >> knowing you are actually asking a Python question) I am unsure what >> Python question you are asking. > >Apologies, English is not my mother tongue, maybe I wasn't able to >express myself clearly enough? No apologies are necessa

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
On Thu, 18 Aug 2011 12:48:19 -0400 "Prasad, Ramit" wrote: > To be honest, even after reading your original post twice (now > knowing you are actually asking a Python question) I am unsure what > Python question you are asking. Apologies, English is not my mother tongue, maybe I wasn't able to ex

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
On Thu, 18 Aug 2011 13:01:08 -0400 Brett Ritter wrote: > On Thu, Aug 18, 2011 at 11:39 AM, Mac Ryan > wrote: > >        In particular, `distutils` is part of the standard python > > distribution and it is in no way specific to Debian, so I don't feel > > this is the wrong place to ask, although

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Brett Ritter
On Thu, Aug 18, 2011 at 11:39 AM, Mac Ryan wrote: >        In particular, `distutils` is part of the standard python > distribution and it is in no way specific to Debian, so I don't feel > this is the wrong place to ask, although it's totally ok if tutors feel > they aren't competent enough on th

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Prasad, Ramit
To be honest, even after reading your original post twice (now knowing you are actually asking a Python question) I am unsure what Python question you are asking. >Now my questions: > >1. Is my understanding of the process correct? Is there anything I am > missing, or anything that I got wrong

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
On Thu, 18 Aug 2011 22:43:09 +1000 Steven D'Aprano wrote: > Mac Ryan wrote: > > Although it's years I program with python, I never distributed my > > software with packages (I never created *any* packages in my life, > > indeed). > > This is a mailing list for learning the programming Python,

Re: [Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Steven D'Aprano
Mac Ryan wrote: Although it's years I program with python, I never distributed my software with packages (I never created *any* packages in my life, indeed). This is a mailing list for learning the programming Python, not on how to built Debian packages. You will probably get better answers

[Tutor] Standard way to create debian packages for python programs?

2011-08-18 Thread Mac Ryan
Although it's years I program with python, I never distributed my software with packages (I never created *any* packages in my life, indeed). Out there there is ton of information on how to do this, but after a day of scouring the Internet I still did not wrap my mind around it. The problem for me