Re: [Tutor] import values, calculate distance

2014-08-21 Thread Emile van Sebille
On 8/21/2014 6:13 AM, Joel Goldstick wrote:> On Wed, Aug 20, 2014 at 10:12 PM, LN A-go-go > wrote: > while you can name things like this, good python style (look up > 'pep8') says this would be better > id_code, x_coordinate, y_coordinate > > But better yet, I think would be to call these thing

Re: [Tutor] import values, calculate distance

2014-08-21 Thread Emile van Sebille
On 8/21/2014 6:13 AM, Joel Goldstick wrote:> On Wed, Aug 20, 2014 at 10:12 PM, LN A-go-go > wrote: > while you can name things like this, good python style (look up > 'pep8') says this would be better > id_code, x_coordinate, y_coordinate > > But better yet, I think would be to call these thing

Re: [Tutor] import values, calculate distance

2014-08-21 Thread Joel Goldstick
On Wed, Aug 20, 2014 at 10:12 PM, LN A-go-go wrote: > Python Mentors, > > I can't get this code to run and at times, I can't even save it. It is > sections of code used from previous exercises, put it together and it just > isn't right. > > Thank-you, > LN > > > The method is as follows: > > Run

Re: [Tutor] import values, calculate distance

2014-08-21 Thread Dave Angel
LN A-go-go Wrote in message: > Thanks for a better subject line, and for starting a new thread when you have a substantially new question. . Please use text mail instead of html. The html you're using can cause several different problems. And please do interleaved quoting, not top-posting.

[Tutor] import values, calculate distance

2014-08-21 Thread LN A-go-go
Python Mentors, I can't get this code to run and at times, I can't even save it.  It is sections of code used from previous exercises, put it together and it just isn't right.  Thank-you, LN The method is as follows: 1. Run the distance calculations for pt1 to all other points, and pr