On 24/08/19 7:15 AM, Michael F. Stemper wrote:
On 20/08/2019 21.57, DL Neil wrote:
On 21/08/19 9:11 AM, Michael F. Stemper wrote:
I recently wrote a couple of modules (more to come) to help me
use the tikz package in TeX/LaTeX. Since it's all to do with
drawing, I have a lot of points in R^2. B
On 20/08/2019 21.57, DL Neil wrote:
> On 21/08/19 9:11 AM, Michael F. Stemper wrote:
>> I recently wrote a couple of modules (more to come) to help me
>> use the tikz package in TeX/LaTeX. Since it's all to do with
>> drawing, I have a lot of points in R^2. Being unimaginative, I
>> This all seems
n reach the person managing the list at
> python-list-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Python-list digest..."
>
> Today's Topics:
>
>1. Re: Enumerate - int object not su
On 21/08/19 9:11 AM, Michael F. Stemper wrote:
I recently wrote a couple of modules (more to come) to help me
use the tikz package in TeX/LaTeX. Since it's all to do with
drawing, I have a lot of points in R^2. Being unimaginative, I
implemented them as ordered pairs (2-tuples) of floats. E.g.:
p
The Zen of Python is readability? Does this look neater?
x11, y11, x12, y12, x21, y21, x22, y22 = line1[0] + line1[1] + line2[0] +
line2[1]
Compared to tuples, lists are maybe more useful if you need to manipulate
the coordinates.
line1 = [ [1, 2], [3, 4] ]
line1[1][0] = 5
line1[0] = [2, 3]
or
I recently wrote a couple of modules (more to come) to help me
use the tikz package in TeX/LaTeX. Since it's all to do with
drawing, I have a lot of points in R^2. Being unimaginative, I
implemented them as ordered pairs (2-tuples) of floats. E.g.:
p1 = 3,4
p2 = 5,6
Naturally, lines are implement