[Python-announce] Brand new: Line Profiler GUI v0.1

2022-02-08 Thread Joseph Martinot-Lagarde
Hi all, In the dark moments of code optimization, line_profiler from Robert Kern (now https://github.com/pyutils/line_profiler) helped me a lot. To ease the usage of this tool I created a GUI, namely "Line Profiler GUI". The installation is just a pip command away (choose your favorite python Qt

[issue33646] os.fspath() bypasses __fspath__ for str subclasses

2018-05-25 Thread Joseph Martinot-Lagarde
New submission from Joseph Martinot-Lagarde <contreba...@gmail.com>: os.fspath() returns its argument if it is a str. That means that it bypasses __fspath__ for str subclasses. This is the case for the library path.py for example. This is a corner case that was discovered while trying

Re: Python vs C++

2014-08-24 Thread Joseph Martinot-Lagarde
Le 23/08/2014 16:21, Chris Angelico a écrit : On Sun, Aug 24, 2014 at 12:02 AM, Ian Kelly ian.g.ke...@gmail.com wrote: I don't know how fast lilypond is, but perhaps one could write an editor that wraps lilypond and invokes it in realtime to show the output in an adjacent panel, perhaps with a

Re: Python vs C++

2014-08-22 Thread Joseph Martinot-Lagarde
Le 22/08/2014 02:26, Chris Angelico a écrit : On Fri, Aug 22, 2014 at 4:05 AM, Joseph Martinot-Lagarde joseph.martinot-laga...@m4x.org wrote: For information, Cython works with C++ now: http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html. Now isn't that cool! Every time Cython gets

Re: Python vs C++

2014-08-21 Thread Joseph Martinot-Lagarde
Le 21/08/2014 15:40, Chris Angelico a écrit : On Thu, Aug 21, 2014 at 10:54 PM, David Palao dpalao.pyt...@gmail.com wrote: Why to use C++ instead of python? This is, perhaps, a bit off-topic, but I really want to know the thoughts of experienced python programmers on it. No, it's a fair

Re: IDE for python

2014-06-03 Thread Joseph Martinot-Lagarde
Le 28/05/2014 13:31, Sameer Rathoud a écrit : I was searching for spyder, but didn't got any helpful installable. What problem did you encounter while trying to install spyder ? Spyder is oriented towards scientific applications, but can be used as a general python IDE. I use it for GUI

Re: How can this assert() ever trigger?

2014-05-13 Thread Joseph Martinot-Lagarde
Le 13/05/2014 11:56, Albert van der Horst a écrit : In article mailman.9917.1399914607.18130.python-l...@python.org, Joseph Martinot-Lagarde joseph.martinot-laga...@m4x.org wrote: Le 10/05/2014 17:24, Albert van der Horst a écrit : I have the following code for calculating the determinant

Re: NumPy, SciPy, Python 3X Installation/compatibility issues

2014-05-12 Thread Joseph Martinot-Lagarde
Le 10/05/2014 19:07, esaw...@gmail.com a écrit : Hi All-- Let me state at the start that I am new to Python. I am moving away from Fortran and Matlab to Python and I use all different types of numerical and statistical recipes in my work. I have been reading about NumPy and SciPy and could

Re: How can this assert() ever trigger?

2014-05-12 Thread Joseph Martinot-Lagarde
Le 10/05/2014 17:24, Albert van der Horst a écrit : I have the following code for calculating the determinant of a matrix. It works inasfar that it gives the same result as an octave program on a same matrix. / def determinant(

Re: The “does Python have variables?” debate

2014-05-08 Thread Joseph Martinot-Lagarde
Le 08/05/2014 02:35, Ben Finney a écrit : Marko Rauhamaa ma...@pacujo.net writes: Ben Finney b...@benfinney.id.au: That's why I always try to say “Python doesn't have variables the way you might know from many other languages”, Please elaborate. To me, Python variables are like variables