Re: Python not showing correct version

2023-03-31 Thread Sumeet Firodia
Thanks Barry. One more thing is that pip --version also refers to python 3.10 C:\Users\admin>pip --version pip 23.0.1 from C:\Users\admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\pip (python 3.10) The issue h

Re: Python not showing correct version

2023-03-30 Thread Thomas Passin
On 3/30/2023 10:17 AM, Sumeet Firodia wrote: Hi Team, I have installed Python 3.8 for Snowpark but when I check the version in command prompt it shows me Python 3.10.10. C:\Users\admin>python --version Python 3.10.10 Also when I try to uninstall 3.10 it says no such version is installed.

Re: Python not showing correct version

2023-03-30 Thread Barry Scott
> On 30 Mar 2023, at 15:17, Sumeet Firodia wrote: > >> >> Hi Team, >> >> I have installed Python 3.8 for Snowpark but when I check the version in >> command prompt it shows me Python 3.10.10. >> >> C:\Users\admin>python --version >>

Re: Python file location

2023-03-30 Thread Loris Bennett
windhorn writes: > I have an older laptop I use for programming, particularly Python and > Octave, running a variety of Debian Linux, and I am curious if there > is a "standard" place in the file system to store this type of program > file. OK, I know they sho

Re: Python not showing correct version

2023-03-30 Thread Sumeet Firodia
> > Hi Team, > > I have installed Python 3.8 for Snowpark but when I check the version in > command prompt it shows me Python 3.10.10. > > C:\Users\admin>python --version > Python 3.10.10 > > Also when I try to uninstall 3.10 it says no such version is installed.

Re: Python file location

2023-03-29 Thread dn via Python-list
On 30/03/2023 09.47, windhorn wrote: I have an older laptop I use for programming, particularly Python and Octave, running a variety of Debian Linux, and I am curious if there is a "standard" place in the file system to store this type of program file. OK, I know they should go in a

Re: Python file location

2023-03-29 Thread Chris Angelico
On Thu, 30 Mar 2023 at 11:08, windhorn wrote: > > I have an older laptop I use for programming, particularly Python and Octave, > running a variety of Debian Linux, and I am curious if there is a "standard" > place in the file system to store this type of program file. OK,

Re: Python file location

2023-03-29 Thread Cameron Simpson
On 29Mar2023 13:47, windhorn wrote: I have an older laptop I use for programming, particularly Python and Octave, running a variety of Debian Linux, and I am curious if there is a "standard" place in the file system to store this type of program file. OK, I know they should go in a

Python file location

2023-03-29 Thread windhorn
I have an older laptop I use for programming, particularly Python and Octave, running a variety of Debian Linux, and I am curious if there is a "standard" place in the file system to store this type of program file. OK, I know they should go in a repository and be managed

[Python-announce] ANN: SfePy 2023.1

2023-03-29 Thread Robert Cimrman
I am pleased to announce the release of SfePy 2023.1. Description --- SfePy (simple finite elements in Python) is a software for solving systems of coupled partial differential equations by finite element methods. It is distributed under the new BSD license. Home page: https

[Python-announce] PyCon Estonia 2023: Call for papers

2023-03-29 Thread Kreete Mi Rand via Python-announce-list
[image: fallback.png] PyCon Estonia 2023 is coming again! I am writing to invite you to submit a proposal for PyCon Estonia 2023, the annual conference to promote and educate people about the Python programming language. We aim to have our biggest, most international and diverse conference

RE: found older version of python in my command prompt

2023-03-28 Thread Mike Dewhirst
The quickest and dirtiest fix is to edit your %path% variable in windows. Remove all python versions you don't want from the path and Windows won't find them.You can then just delete the unwanted python directories.That doesn't remove any old dll files in secret locations but this is a dirty

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread Thomas Passin
, vertical list of the same opened Tabs, featuring: icon, name of web-site, URL address Thank you for your excellent support You're welcome. -- https://mail.python.org/mailman/listinfo/python-list

Re: found older version of python in my command prompt

2023-03-28 Thread Barry
> On 28 Mar 2023, at 16:44, pranavbhardwaj...@gmail.com wrote: > >  > > > > Sent from [1]Mail for Windows > > Dear sir, > > I am Pranav Bhardwaj and I am facing issue regarding python > version. When I try to ope

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
u5t2MAcQ89RNyojruWXdz20MDRq2NdTnmaJIn0tgbdWMG73wcTkaujnuMwJZ215hj9wfZoQmfO9W0BepHQ0ZtE9qLBnLY22unxpFHlHUNO1I/cIayZQ/l49USTdeqraunlZD55+1FipbuN/sKZsl2zmgeqD7A6kyw6PJ7VjNKq+nBZdiS4wSuvWXlIQRIna+hlaj3V40qqyNepHuQHGnSFhdun1/3DX7M+gMJ+8lsf2AI/uUT3eeC/ANynwn7y7f8PuPGYNHtmeGkASUVORK5CYII=" last_charset="UTF-8">NASA's SDO Watches a Sunspot Turn Toward Earth | NASA -- https://mail.python.org/mailman/listinfo/python-list

Re: [Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-03-28 Thread Thomas Passin
On 3/28/2023 12:56 AM, Yogesh Tirthkar wrote: Hi Team, Could you please advise on the scenario in windows 10 machine : Where we need to uninstall/remove python from user profile A (installed by user A in its own profile folder) - via an admin user or system account. Currently when we try

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread Thomas Passin
be impossibly high. So I hope you are mostly using the history and do not really have that many tabs open at once! -- https://mail.python.org/mailman/listinfo/python-list

found older version of python in my command prompt

2023-03-28 Thread pranavbhardwaj773
    Sent from [1]Mail for Windows Dear sir,   I am Pranav Bhardwaj and I am facing issue regarding python version. When I try to open python in my command prompt, I see there is very older version in it that is python 2.7.13 as a default version. I want

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
s number is for real or refers to every bookmark from the history + opened Tabs But definitely I need a smarter solution and approach to manage 10,000+ opened Tabs in Firefox in a future ;) - I just build personal search engine resembling targets set by MyLifeBits Project by Microsoft in the past. darius -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-28 Thread a a
ed Tabs to be saved in html format for the records as a reference. Hope to get some support from Firefox team via Twitter. Ok, smart bookmarks manager can offer the above functionality right now, so I go to search engine to get one. darius -- https://mail.python.org/mailman/listinfo/python-list

[Request for Assistance] To uninstall python installed in other user profile (Win 10)

2023-03-28 Thread Yogesh Tirthkar
Hi Team, Could you please advise on the scenario in windows 10 machine : Where we need to uninstall/remove python from user profile A (installed by user A in its own profile folder) - via an admin user or system account. Currently when we try to uninstall it via admin/system account

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread Thomas Passin
stallation of Firefox and this would add them to the bookmarks in the other browser, all grouped by your custom heading. -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread Thomas Passin
thing else in mind? Do you want to send the links of the opened tab set to someone else, but not all your bookmarks? Please explain more carefully what you want to do. -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
>>>> Ok, I know, I need to switch to Windows 10 run on another PC next to > >>>> me. > >>>> > >>>> I need to learn how to copy and move every web page opened in > >>>> Firefox as a reference to social media, web sites for Pyt

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread Thomas Passin
web page opened in Firefox as a reference to social media, web sites for Python, chat and more (about 50 web pages live opened  This sounds like you mean when you get a new Windows 10 PC, you will want to move your open tabs to the new machine. I see several possibilities for this. 1. Copy

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread Thomas Passin
to social media, web sites for Python, chat and more (about 50 web pages live opened  This sounds like you mean when you get a new Windows 10 PC, you will want to move your open tabs to the new machine. I see several possibilities for this. 1. Copy your Firefox profile folder to the new computer

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
erence to social media, web sites for Python, chat and more (about 50 > > web pages live opened  > > This sounds like you mean when you get a new Windows 10 PC, you will > want to move your open tabs to the new machine. I see several > possibilities for this. > > 1. C

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread Thomas Passin
On 3/27/2023 10:07 AM, a a wrote: Ok, I know, I need to switch to Windows 10 run on another PC next to me. I need to learn how to copy and move every web page opened in Firefox as a reference to social media, web sites for Python, chat and more (about 50 web pages live opened  This sounds

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-27 Thread a a
e last-changed stuff stopped working, it's in a static state: > > > > by Christoph Gohlke. Updated on 26 June 2022 at 07:27 UTC > I did see that. The OP needs a version that would work with Windows 7 > and an older version of Python (3.7 or 3.8, IIRC), so things may work out. T

[Python-announce] [Release] Pyo 1.0.5 (Python DSP library)

2023-03-26 Thread Olivier Bélanger
Hello all, I'm very happy to announce the release of pyo 1.0.5, available for the following python versions: 3.7 (Windows amd64, MacOS x86_64, linux x86_64) 3.8 (Windows amd64, MacOS x86_64 et arm64, linux x86_64) 3.9 (Windows amd64, MacOS x86_64 et arm64, linux x86_64) 3.10 (Windows amd64

[Python-announce] Re: [Release] Pyo 1.0.5 (Python DSP library)

2023-03-26 Thread Olivier Bélanger
: > Hello all, > > I'm very happy to announce the release of pyo 1.0.5, available for the > following > python versions: > > 3.7 (Windows amd64, MacOS x86_64, linux x86_64) > 3.8 (Windows amd64, MacOS x86_64 et arm64, linux x86_64) > 3.9 (Windows amd64, MacOS x86_64 et arm64, li

Re: Patrick Sheehan: Major Issues with Python

2023-03-26 Thread Thomas Passin
On 3/25/2023 4:03 PM, Patrick Sheehan wrote: Hello, I have been working with the attached book (See photo) Photos do not come through on this list, so don't bother to attach any. Type or copy-paste any useful text. to try to learn Python and so far it has been a complete nightmare trying

Re: Patrick Sheehan: Major Issues with Python

2023-03-26 Thread MRAB
On 2023-03-25 20:03, Patrick Sheehan wrote: Hello, I have been working with the attached book (See photo) to try to learn Python and so far it has been a complete nightmare trying to get python installed and operating correctly. I have received a plethora of error messages and consulted youtube

Re: Patrick Sheehan: Major Issues with Python

2023-03-26 Thread Mats Wichmann
On 3/25/23 14:03, Patrick Sheehan wrote: Hello, I have been working with the attached book (See photo) to try to learn Python and so far it has been a complete nightmare trying to get python installed and operating correctly. I have received a plethora of error messages and consulted youtube

Patrick Sheehan: Major Issues with Python

2023-03-26 Thread Patrick Sheehan
Hello, I have been working with the attached book (See photo) to try to learn Python and so far it has been a complete nightmare trying to get python installed and operating correctly. I have received a plethora of error messages and consulted youtube videos and chat groups to try to remedy

[Python-announce] PyCA cryptography 40.0.1 released

2023-03-25 Thread Paul Kehrer
PyCA cryptography 40.0.1 has been released to PyPI. cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, asymmetric algorithms, message digests, X509, key derivation functions, and much more. We support Python 3.6

[Python-announce] PyCA cryptography 40.0.0 released

2023-03-24 Thread Paul Kehrer
PyCA cryptography 40.0.0 has been released to PyPI. cryptography includes both high level recipes and low level interfaces to common cryptographic algorithms such as symmetric ciphers, asymmetric algorithms, message digests, X509, key derivation functions, and much more. We support Python 3.6

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-23 Thread Thomas Passin
did see that. The OP needs a version that would work with Windows 7 and an older version of Python (3.7 or 3.8, IIRC), so things may work out. -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-23 Thread Mats Wichmann
/python-list

Python Infrequently Asked Questions

2023-03-23 Thread Thomas Passin
I bookmarked this years ago and just came across it again. An oldie but goodie! http://norvig.com/python-iaq.html -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-23 Thread Thomas Passin
"NumPy: a fundamental package needed for scientific computing with Python. Numpy+MKL is linked to the Intel® Math Kernel Library and includes required DLLs in the numpy.DLLs directory. Numpy+Vanilla is a minimal distribution, which does not include any optimized BLAS libray or C runtime DLLs

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-22 Thread Thomas Passin
machine, old OS, Windows 7, 32-bit system but I have visited every social chat support forum on the Internet: from Python to Matplotlib, Numpy, Twitter, Github. As a newbie I am not aware how to downgrade "the multiarray version to an earlier one I simply tried to test Python code from

Re: Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Igor Korot
Hi, On Wed, Mar 22, 2023 at 11:37 AM Mohammed nour Koujan wrote: > > > -- What message? Please don't post screenshots - copy and paste the errors from your machine... Thank you. > https://mail.python.org/mailman/listinfo/python-list -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-22 Thread a a
module, or upgrade the computer/OS. > >>> > >>> It would be worth trying to downgrade the multiarray version to an > >>> earlier one and see if that fixes the problem. > >> Thank you Thomas > >> for your kind reply. > >> > &g

Hello I want help get rid of that message and help install Python properly and thank you

2023-03-22 Thread Mohammed nour Koujan
-- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-21 Thread Edmondo Giovannozzi
sum3(): > > § return np.arange(1_000_000, dtype=np.int64).sum() > > > > On my computer sum1 takes 44 ms, while the numpy version just 2.6 ms > > One problem is that sum2 gives the wrong result. This is why I used > > np.arange with dtype=np.int64. > On my comput

[Python-announce] SCons 4.5.2 Released

2023-03-21 Thread Bill Deegan
-block:: text git shortlog --no-merges -ns 4.5.1..HEAD 3 Mats Wichmann 2 William Deegan 1 Michał Górny ___ Python-announce-list mailing list -- python-announce-list@python.org To unsubscribe send an email to python-announce-list-le

[Python-announce] unittest_expander 0.4.4 released

2023-03-21 Thread Jan Kaliszewski
Dear Pythonistas, I am pleased to announce the release of unittest_expander 0.4.4. The changelog is available at: https://unittest-expander.readthedocs.io/en/stable/changes.html *** *unittest_expander* is a MIT-licensed Python library that provides flexible and easy-to-use tools

[Python-announce] unittest_expander 0.4.3 released

2023-03-20 Thread Jan Kaliszewski
I am pleased to announce the release of unittest_expander 0.4.3. The changelog is available at: https://unittest-expander.readthedocs.io/en/stable/changes.html *unittest_expander* is a MIT-licensed Python library that provides flexible and easy-to-use tools to parameterize your unit tests

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-20 Thread Thomas Passin
result. Python 3.10.9, PyQt version 6.4.1 Windows 10 AMD64 (build 10.0.19044) SP0 Processor: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 1690 Mhz, 4 Core(s), 8 Logical Processor(s) sum2 evidently doesn't uses the python "big integers" e restrict the result to 32 bits. What about y

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-20 Thread MRAB
2 evidently doesn't uses the python "big integers" e restrict the result to 32 bits. On my computer they all give the same result, as I'd expect. -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-20 Thread Edmondo Giovannozzi
be much faster in this case: § import numpy as np § def sum3(): §return np.arange(1_000_000, dtype=np.int64).sum() On my computer sum1 takes 44 ms, while the numpy version just 2.6 ms One problem is that sum2 gives the wrong result. This is why I used np.arange with dtype=np.int64. sum2

[Python-announce] ANN: pvlib-0.9.5 released

2023-03-20 Thread Dr. Mark Alexander Mikofski PhD
Dear Pythonistas and solar power enthusiasts, The maintainers are happy to announce a new release of pvlib python: software for simulating performance of photovoltaic solar energy systems. *v0.9.5 Highlights:* * The infinite_sheds model now has options to use the hay-davies transposition model

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread Thomas Passin
on the Internet: from Python to Matplotlib, Numpy, Twitter, Github. As a newbie I am not aware how to downgrade "the multiarray version to an earlier one I simply tried to test Python code from https://www.section.io/engineering-education/reading-and-processing-android-sensor-data-using-python-with-csv

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread Thomas Passin
machine, old OS, Windows 7, 32-bit system but I have visited every social chat support forum on the Internet: from Python to Matplotlib, Numpy, Twitter, Github. I mentioned the "multiarray" just because of its name in the error message: "Error module name: _multiarray_umath.cp38

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
ngine: https://www.bing.com/search?q=how+to+downgrade+_multiarray_umath.cp38-win32.pyd+=QBLH=-1=0=how+to+downgrade+_multiarray_umath.cp38-win32.pyd+=1-50=n= -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
your kind reply. I am fully aware to be living on an old machine, old OS, Windows 7, 32-bit system but I have visited every social chat support forum on the Internet: from Python to Matplotlib, Numpy, Twitter, Github. As a newbie I am not aware how to downgrade "the multiarray version to an

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-18 Thread a a
or upgrade the computer/OS. > > > > It would be worth trying to downgrade the multiarray version to an > > earlier one and see if that fixes the problem. > Thank you Thomas > for your kind reply. > > I am fully aware to be living on an old machine, old OS, Window

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-18 Thread Peter J. Holzer
s Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" signature.asc Description: PGP signature -- https://mail.python.org/mailman/listinfo/python-list

Re: Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-17 Thread Thomas Passin
and see if that fixes the problem. -- https://mail.python.org/mailman/listinfo/python-list

Numpy, Matplotlib crash Python 3.8 Windows 7, 32-bit - can you help ?

2023-03-17 Thread a a
3: 0a9e Additional information 4: 0a9e372d3b4ad19135b953a78882e789 -- https://mail.python.org/mailman/listinfo/python-list

[Python-announce] 15ᵗʰ Advanced Scientific Programming in Python in Heraklion, Crete, Greece, 27 August – 3 September,2023

2023-03-17 Thread Tiziano Zito
ASPP2023: 15ᵗʰ Advanced Scientific Programming in Python a Summer School https://aspp.school Scientists spend more and more time writing, maintaining, and debugging software. While techniques for doing this efficiently have evolved, only

ANN: Python Meeting Düsseldorf - 22.03.2023

2023-03-16 Thread eGenix Team
/This announcement is in German since it targets a local user group//meeting in Düsseldorf, Germany/ Ankündigung Python Meeting Düsseldorf - <https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2023-03-22>März 2023 <https://www.egenix.com/company/ne

[Python-announce] unittest_expander 0.4.0 released

2023-03-16 Thread Jan Kaliszewski
I am pleased to announce the release of unittest_expander 0.4.0. *unittest_expander* is a MIT-licensed Python library that provides flexible and easy-to-use tools to parameterize your unit tests, especially those based on `unittest.TestCase`. The library is compatible with Python 3.11, 3.10, 3.9

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-16 Thread Roel Schroeven
The Salmon of Doubt -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Weatherby,Gerard
=100)) --- For Loop Sum: 6.984986504539847 Built-in Sum: 0.5175364706665277 From: Weatherby,Gerard Date: Wednesday, March 15, 2023 at 1:09 PM To: python-list@python.org Subject: Re: Debugging reason for python running unreasonably slow when adding numbers Sum is faster than iteration

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Weatherby,Gerard
Sum is faster than iteration in the general case. Lifting a test program from Stack Overflow https://stackoverflow.com/questions/24578896/python-built-in-sum-function-vs-for-loop-performance, import timeit def sum1(): s = 0 for i in range(100): s += i return s def sum2

RE: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread David Raymond
floats, and "input" is a 10 element list of integers which has the indexes of the 10 elements in weights that he wants to add up. sum_ = 0 for key in input: sum_ += weights[key] vs sum_ = sum(weights[key] for key in input) vs... other ways -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Chris Angelico
cantly faster. > > It's a list. > Then I'm very confused as to how things are being done, so I will shut up. There's not enough information here to give performance advice without actually being a subject-matter expert already. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Thomas Passin
. If it is, try simply taking the sum of weights.values(), as this should be significantly faster. It's a list. -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Thomas Passin
difference as you did. I surmise that in using the sum() variations, that the entire sequence was constructed first, and then iterated over. In the non-sum() versions, no new sequence had to be constructed first, so it would make sense for the latter to be slower. -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread Chris Angelico
king the sum of weights.values(), as this should be significantly faster. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

RE: Debugging reason for python running unreasonably slow when adding numbers

2023-03-15 Thread David Raymond
rator expression than with the list comprehension. -- https://mail.python.org/mailman/listinfo/python-list

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-14 Thread Oscar Benjamin
On Tue, 14 Mar 2023 at 16:27, Alexander Nestorov wrote: > > I'm working on an NLP and I got bitten by an unreasonably slow behaviour in > Python while operating with small amounts of numbers. > > I have the following code: > > ```python > import random, time > f

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-14 Thread Chris Angelico
On Wed, 15 Mar 2023 at 08:53, Peter J. Holzer wrote: > > On 2023-03-14 16:48:24 +0900, Alexander Nestorov wrote: > > I'm working on an NLP and I got bitten by an unreasonably slow > > behaviour in Python while operating with small amounts of numbers. > > >

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-14 Thread Peter J. Holzer
On 2023-03-14 16:48:24 +0900, Alexander Nestorov wrote: > I'm working on an NLP and I got bitten by an unreasonably slow > behaviour in Python while operating with small amounts of numbers. > > I have the following code: [...] >       # 12x slower than equivalent JS &

Re: Debugging reason for python running unreasonably slow when adding numbers

2023-03-14 Thread Thomas Passin
On 3/14/2023 3:48 AM, Alexander Nestorov wrote: I'm working on an NLP and I got bitten by an unreasonably slow behaviour in Python while operating with small amounts of numbers. I have the following code: ```python import random, time from functools import reduce def trainPerceptron

Debugging reason for python running unreasonably slow when adding numbers

2023-03-14 Thread Alexander Nestorov
I'm working on an NLP and I got bitten by an unreasonably slow behaviour in Python while operating with small amounts of numbers. I have the following code: ```python import random, time from functools import reduce def trainPerceptron(perceptron, data):   learningRate = 0.002   weights

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
On Monday, 13 March 2023 at 16:12:04 UTC+1, Thomas Passin wrote: > On 3/13/2023 12:39 AM, a a wrote: > > But some unknown reasons Matplotlib and numpy crash my Python 3.8 for > > Windows , 32-bit and no support is offered > It is possible, using pip, to downgrade versions (e

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
for one one earthquake > at one location. > > The reference I gave, > https://towardsdatascience.com/earthquake-time-series-forecasts-using-a-hybr > > id-clustering-lstm-approach-part-i-eda-6797b22aed8c > > actually includes a Python script that does this work f

RE: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread avi.e.gross
Hi, This seems again to be a topic wandering. Was the original question whether Python could be used for dealing with Seismic data of some unspecified sort as in PROCESSING it and now we are debating how to clean various aspects of data and make things like data.frames and extract subsets

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Thomas Passin
be a lot of hard work. > If you've not read Wes McKinney's "Python for Data Analysis: Data > Wrangling with Pandas, NumPy, and IPython" I encourage you to do so. I've been interested in that title, but since I don't currently have any large, complex data wrangling problems I'v

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Rich Shepard
not read Wes McKinney's "Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython" I encourage you to do so. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Thomas Passin
here? No doubt, depending on the data formats used. But it's still going to be a big task. -- https://mail.python.org/mailman/listinfo/python-list

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Rich Shepard
/listinfo/python-list

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Thomas Passin
-series-forecasts-using-a-hybr id-clustering-lstm-approach-part-i-eda-6797b22aed8c actually includes a Python script that does this work for some selected ranges of data, so it might be a good starting point. -- https://mail.python.org/mailman/listinfo/python-list

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Thomas Passin
On 3/13/2023 12:39 AM, a a wrote: But some unknown reasons Matplotlib and numpy crash my Python 3.8 for Windows , 32-bit and no support is offered It is possible, using pip, to downgrade versions (e.g., of Matplotlob and numpy) to see if you can find versions that work. Of course moving

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread a a
On Sunday, 12 March 2023 at 06:17:54 UTC+1, avi.e...@gmail.com wrote: > I have used GNU Octave as a sort of replacement for MATLAB as a free > resource. I have no idea if it might meet your needs. > > Although Python is a good environment for many things, if you have no > know

RE: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-11 Thread avi.e.gross
I have used GNU Octave as a sort of replacement for MATLAB as a free resource. I have no idea if it might meet your needs. Although Python is a good environment for many things, if you have no knowledge of it yet, it can take a while to know enough and if you just need it for one project

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-11 Thread Thomas Passin
to use something else, and Python would be a prime candidate. However, each of the techniques and graphs in the lesson have been pre-packaged for you in the Matlab case but not with Python (many other case studies on various topics that use Python Python can be found, though). Everything

RE: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-11 Thread avi.e.gross
people here are likely to know much about a specialized field and perhaps a search using a search engine might get you something like this: https://www.google.com/search?q=python+process+seimographic+signals=pytho n+process+seimographic+signals=chrome..69i57j0i546l5.16718j0j7= chrome=UTF-8

Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-11 Thread a a
My project https://www.mathworks.com/help/matlab/matlab_prog/loma-prieta-earthquake.html -- https://mail.python.org/mailman/listinfo/python-list

Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread Thomas Passin
seful to run Dism first. If any errors were found and corrected, reboot and try to uninstall Python3.11, then re-install it. If no errors were found, report that back here and we'll try to go on from there. If it were me, the next thing I'd try is to install Python 3.10.x. I'd get a 6

Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread MRAB
On 2023-03-10 23:27, Jan Vasko wrote: Hello all, I would like to ask you for help. I have been using Python 3.8 for almost 2 years and I decided to update to 3.11. Initially everything was correct. But at some point Windows shows me that Python is being reinstalled (I don't have a message

Re: Python installation not full and python not working 3.11.0

2023-03-10 Thread Thomas Passin
found and corrected, reboot and try to uninstall Python3.11, then re-install it. If no errors were found, report that back here and we'll try to go on from there. I would like to ask you for help. I have been using Python 3.8 for almost 2 years and I decided to update to 3.11. Initially every

RE: Python installation not full and python not working 3.11.0

2023-03-10 Thread Jan Vasko
Hello all, I would like to ask you for help. I have been using Python 3.8 for almost 2 years and I decided to update to 3.11. Initially everything was correct. But at some point Windows shows me that Python is being reinstalled (I don't have a message print screen ..), but from that time I

Re: Python 3.12.0 alpha 6 released

2023-03-09 Thread Robin Becker
On 08/03/2023 04:37, Thomas Wouters wrote: I'm pleased to announce the release of Python 3.12 alpha 6. https://www.python.org/downloads/release/python-3120a6/ *This is an early developer preview of Python 3.12.* Major new features of the 3.12 series, compared to 3.11 I was able to test

Re: Fast full-text searching in Python (job for Whoosh?)

2023-03-08 Thread Thomas Passin
/listinfo/python-list

Re: Fast full-text searching in Python (job for Whoosh?)

2023-03-08 Thread Peter J. Holzer
st make more sense than reality. |_|_) || | | | h...@hjp.at |-- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" signature.asc Description: PGP signature -- https://mail.python.org/mailman/listinfo/python-list

Re: RE: Fast full-text searching in Python (job for Whoosh?)

2023-03-08 Thread Dino
be used for create a autofill function, as my backend is already Python/Flask. As many have observed and as I have also quickly realized, Whoosh was overkill for my use case. In the meantime people started asking questions, I responded and, before you know it, we are all discussing the intricaci

<    3   4   5   6   7   8   9   10   11   12   >