Re: Friday Finking: Source code organisation

2019-12-30 Thread Greg Ewing
On 31/12/19 3:47 am, Barry Scott wrote: "define before use" is basically email top-posting for code isn't it? It means that the first things that you read in a module are the least interesting. That's not a big problem for top-level code, since you can easily scroll down to the bottom of the

Segmentation violation with python installation under Tumbleweed

2019-12-30 Thread amitsis
Hello, My full Python installation doesn't seem to work due to a segmentation violation issue with libc-2.30: Dec 30 23:54:14 craylinux1 Kernel: Python [8467]: Segfault at 100013483 ip 7f6594c896b6 sp 7ffe1570d188 error 4 in libc-2.30.so [7f6594c1 + 14d000] 30.12. 23:54:14 craylinu

Re: Friday Finking: Source code organisation

2019-12-30 Thread Barry Scott
> On 30 Dec 2019, at 15:35, Chris Angelico wrote: > > On Tue, Dec 31, 2019 at 1:47 AM Barry Scott wrote: >> >> >> >>> On 28 Dec 2019, at 22:49, Chris Angelico wrote: >>> >>> On Sun, Dec 29, 2019 at 9:37 AM DL Neil via Python-list >>> wrote: Is it helpful to, and thus, do you

Re: Friday Finking: Source code organisation

2019-12-30 Thread Chris Angelico
On Tue, Dec 31, 2019 at 3:08 AM Barry Scott wrote: > > > > > On 30 Dec 2019, at 15:35, Chris Angelico wrote: > > > > On Tue, Dec 31, 2019 at 1:47 AM Barry Scott wrote: > >> > >> > >> > >>> On 28 Dec 2019, at 22:49, Chris Angelico wrote: > >>> > >>> On Sun, Dec 29, 2019 at 9:37 AM DL Neil via Py

Re: Friday Finking: Source code organisation

2019-12-30 Thread Chris Angelico
On Tue, Dec 31, 2019 at 1:47 AM Barry Scott wrote: > > > > > On 28 Dec 2019, at 22:49, Chris Angelico wrote: > > > > On Sun, Dec 29, 2019 at 9:37 AM DL Neil via Python-list > > wrote: > >> > >> Is it helpful to, and thus, do you have a style/convention for ordering > >> the methods within each c

Re: Friday Finking: Source code organisation

2019-12-30 Thread Barry Scott
> On 28 Dec 2019, at 22:49, Chris Angelico wrote: > > On Sun, Dec 29, 2019 at 9:37 AM DL Neil via Python-list > wrote: >> >> Is it helpful to, and thus, do you have a style/convention for ordering >> the methods within each class in your code? >> >> A major difference however, is that if ou

Re: name 'sys' is not defined

2019-12-30 Thread Pieter van Oostrum
safiq...@gmail.com writes: > Deal all, > Could you please help me how can I avoid this problem > my Jupyter Notebook code was > help pls > > > > # init a treemix analysis object with some param arguments > tmx = ipa.treemix( > data=data, > imap=imap, > minmap=minmap, > seed=123456