[RELEASE] Python 3.9.9 hotfix release is now available

2021-11-15 Thread Łukasz Langa
Get it here: https://www.python.org/downloads/release/python-399/ Python 3.9.9 is the eighth maintenance release of the legacy 3.9 series. Python 3.10 is now the latest feature release series of Python 3. Get the latest release of 3.10.x her

OT: Alternatives to Jupyter Notebook

2021-11-15 Thread dn via Python-list
On 15/11/2021 12.24, Paige Bailey wrote: > If you're experiencing issues with Jupyter, perhaps try JupyterLab: > JupyterLab Documentation — JupyterLab 3.2.3 documentation > > > Or VS Code, which is also open-source and has support for Jupyter notebook

Re: Unable to compile my C Extension on Windows: unresolved external link errors

2021-11-15 Thread Eryk Sun
On 11/14/21, Marco Sulla wrote: > On Sun, 14 Nov 2021 at 16:42, Barry Scott wrote: > >> On macOS .dynlib and Unix .so its being extern that does this. > > And extern is the default. I understand now. Per Include/exports.h and Include/pyport.h, Python should be built in Unix with "default" visibi

Re: One line sort

2021-11-15 Thread Chris Angelico
On Tue, Nov 16, 2021 at 5:58 AM ast wrote: > > A curiosity: > > q = lambda x: x and q([i for i in x[1:] if i < x[0]]) + [x[0]] + q([i > for i in x[1:] if i >= x[0]]) > > >>> q([7, 5, 9, 0]) > [0, 5, 7, 9] A nicely obfuscated quicksort. Although the "one line" part falls down a bit if it has to g

One line sort

2021-11-15 Thread ast
A curiosity: q = lambda x: x and q([i for i in x[1:] if i < x[0]]) + [x[0]] + q([i for i in x[1:] if i >= x[0]]) >>> q([7, 5, 9, 0]) [0, 5, 7, 9] -- https://mail.python.org/mailman/listinfo/python-list

Re: Alternatives to Jupyter Notebook

2021-11-15 Thread Loris Bennett
Martin Schöön writes: > Den 2021-10-20 skrev Shaozhong SHI : >> >> My Jupyter notebook becomes unresponsive in browsers. >> > Odd, I never had any problems like that. I use Firefox on Linux. > >> Are there alternatives to read, edit and run Jupyter Notebook? >> > I know some people use emacs orgm

Re: Using astype(int) for strings with thousand separator

2021-11-15 Thread Mahmood Naderan via Python-list
> (see > https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_csv.html) Got it. Thanks. Regards, Mahmood -- https://mail.python.org/mailman/listinfo/python-list