Re: Python Error Still Occured on sklearn

2019-12-02 Thread Maisarah
Thank you. Maisarah Binti Mohd Yusak Certified CPRE-FL & CTFL Software Tester, IT Team. AVL Infotech (Malaysia) Sdn. Bhd.   L2-I-3, Enterprise - 4 , Technology Park Malaysia, Bukit Jalil, Kuala Lumpur, Malaysia -57000 Mobile: +6016 507 3051 Mail: mailto:maisa...@avlinfotech.net Li

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Richard Damon
On 12/2/19 4:25 PM, Barry Scott wrote: > >> On 2 Dec 2019, at 17:55, Rob Gaddi wrote: >> >> On 12/2/19 9:26 AM, Chris Clark wrote: >>> Test case: >>>import array >>>array.array('L', [0]) >>> # x.itemsize == 8 rather than 4 >>> This works fine (returns 4) under Wind

Re: increasing the page size of a dbm store?

2019-12-02 Thread Michael Torrie
On 12/1/19 7:50 PM, Tim Chase wrote: > After sparring with it a while, I tweaked the existing job so that it > chunked things into dbm-appropriate sizes to limp through; for the > subsequent job (where I would have used dbm again) I went ahead and > switched to sqlite and had no further issues. Ho

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Christian Heimes
On 02/12/2019 22.25, Barry Scott wrote: > > >> On 2 Dec 2019, at 17:55, Rob Gaddi wrote: >> >> On 12/2/19 9:26 AM, Chris Clark wrote: >>> Test case: >>>import array >>>array.array('L', [0]) >>> # x.itemsize == 8 rather than 4 >>> This works fine (returns 4) under

Re: Extract sentences in nested parentheses using Python

2019-12-02 Thread DL Neil via Python-list
On 3/12/19 6:00 AM, Peter Otten wrote: A S wrote: I think I've seen this question before ;) In addition to 'other reasons' for @Peter's comment, it is a common ComSc worked-problem or assignment. (in which case, we'd appreciate being told that you/OP is asking for help with "homework") I

[ANN] PyYAML-5.2: YAML parser and emitter for Python

2019-12-02 Thread Tina Müller
=== Announcing PyYAML-5.2 === A new release of PyYAML is now available: https://pypi.org/project/PyYAML/ This fixes some incompatibilities introduced in version 5.1 and also removes another possibility of loading arbitrary code. Changes === * Repair

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Barry Scott
> On 2 Dec 2019, at 17:55, Rob Gaddi wrote: > > On 12/2/19 9:26 AM, Chris Clark wrote: >> Test case: >>import array >>array.array('L', [0]) >> # x.itemsize == 8 rather than 4 >> This works fine (returns 4) under Windows Python 3.7.3 64-bit build. >> Under Ubunt

Re: ModuleNotFoundError with click module

2019-12-02 Thread Tim Johnson
On 12/1/19 11:46 PM, Peter Otten wrote: Tim Johnson wrote: OK. Now I have /usr/local/lib/python3.7/site-packages/Click-7.0.dist-info/ which holds the following files: INSTALLER LICENSE.txt METADATA RECORD top_level.txt WHEEL I haven't a clue as to how to proceed! Never seen this befo

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Rob Gaddi
On 12/2/19 9:26 AM, Chris Clark wrote: Test case: import array array.array('L', [0]) # x.itemsize == 8 rather than 4 This works fine (returns 4) under Windows Python 3.7.3 64-bit build. Under Ubuntu; Python 2.7.15rc1, 3.6.5, 3.70b3 64-bit this returns 8. Docum

Re: array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Richard Damon
On Dec 2, 2019, at 12:32 PM, Chris Clark wrote: > > Test case: > > import array > array.array('L', [0]) > # x.itemsize == 8 rather than 4 > > This works fine (returns 4) under Windows Python 3.7.3 64-bit build. > > Under Ubuntu; Python 2.7.15rc1, 3.6.5, 3.70b3 64

array and struct 64-bit Linux change in behavior Python 3.7 and 2.7

2019-12-02 Thread Chris Clark
Test case: import array array.array('L', [0]) # x.itemsize == 8 rather than 4 This works fine (returns 4) under Windows Python 3.7.3 64-bit build. Under Ubuntu; Python 2.7.15rc1, 3.6.5, 3.70b3 64-bit this returns 8. Documentation at https://docs.python.org/3/libra

Re: Extract sentences in nested parentheses using Python

2019-12-02 Thread Peter Otten
A S wrote: I think I've seen this question before ;) > I am trying to extract all strings in nested parentheses (along with the > parentheses itself) in my .txt file. Please see the sample .txt file that > I have used in this example here: > (https://drive.google.com/open?id=1UKc0ZgY9Fsz5O1rSeBCL

Extract sentences in nested parentheses using Python

2019-12-02 Thread A S
I am trying to extract all strings in nested parentheses (along with the parentheses itself) in my .txt file. Please see the sample .txt file that I have used in this example here: (https://drive.google.com/open?id=1UKc0ZgY9Fsz5O1rSeBCLqt5dwZkMaQgr). I have tried and done up three different cod

Re: tab replace to space 4

2019-12-02 Thread 황병희
Hi, Gilmeh^^^ > We are Python people, aren't we? Looks good, i did copy it [1], and thanks^^^ [1] https://gitlab.com/soyeomul/test/blob/master/untabify.py Sincerely, -- ^고맙습니다 _地平天成_ 감사합니다_^))// -- https://mail.python.org/mailman/listinfo/python-list

Re: ModuleNotFoundError with click module

2019-12-02 Thread Peter Otten
Tim Johnson wrote: >> OK. Now I have >> >> /usr/local/lib/python3.7/site-packages/Click-7.0.dist-info/ >> >> which holds the following files: >> >> INSTALLER LICENSE.txt METADATA RECORD top_level.txt WHEEL >> >> I haven't a clue as to how to proceed! Never seen this before ... Just leave it

Re: "Don't install on the system Python"

2019-12-02 Thread Chris Angelico
On Mon, Dec 2, 2019 at 6:56 PM wrote: > > W dniu niedziela, 1 grudnia 2019 05:42:35 UTC+1 użytkownik John Ladasky > napisał: > > > For years, I've read warnings about not installing one's personal stack of > > Python modules on top of the system Python. It is possible to corrupt the > > OS, or