UG Announcement - Python Mauritius User-Group (pymug)

2019-03-13 Thread Abdur-Rahmaan Janhangeer
As per requirements, i'm announcing the existence of the Python User-Group for Mauritius, an island in the Indian Ocean. Below are some info. Name: Python Mauritius User-Group Website: pymug.com Github: github.com/pymug Mailing list: https://mail.python.org/mailman3/lists/pymug.python.org/ Wiki me

Re: Generator question

2019-03-13 Thread Ian Kelly
You're basically running into this: https://docs.python.org/3/faq/programming.html#why-do-lambdas-defined-in-a-loop-with-different-values-all-return-the-same-result To see why, let's try disassembling your function. I'm using Python 3.5 here, but it shouldn't make much of a difference. py> import

Re: uWISGI with Qt for Python

2019-03-13 Thread Israel Brewster
Never mind this request. I realized that for what I am doing, the web server was unnecessary. I could just load local HTML files directly into the QWebEngineView with no need of an intermediate server. Thanks anyway, and sorry for the noise! --- Israel Brewster Software Engineer Alaska Volcano

Generator question

2019-03-13 Thread Pierre Reinbold
Dear all, I want to implement a function computing the Cartesian product if the elements of a list of lists, but using generator expressions. I know that it is already available in itertools but it is for the sake of understanding how things work. I already have a working recursive version, and I

uWISGI with Qt for Python

2019-03-13 Thread Israel Brewster
I’m working on a Qt for python app that needs to run a local web server. For the web server portion I’m using flask and uWISGI, and at the moment I have my application launching uWISGI using subprocess before firing off the Qt QApplication instance and entering the Qt event loop. Some sample cod

Re: Not a python question, just programming logic trap?

2019-03-13 Thread Ben Finney
jonas.thornv...@gmail.com writes: > Anyone who is good at see logic traps in programming? > comp.lang.javascript is defunct so i try here. Please don't; this forum should primarily be used for discussing Python. I appreciate that you have tried another forum for JavaScript, but that's unrelated

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

2019-03-13 Thread Ingy dot Net
=== Announcing PyYAML-5.1 === A new MAJOR RELEASE of PyYAML is now available: https://pypi.org/project/PyYAML/ This is the first major release of PyYAML under the new maintenance team. Among the many changes listed below, this release specifically address

RE: "Post install setup does not work as expected with pip install"

2019-03-13 Thread Saba Kauser
I am able to get this to work. I had to invoke parent's run before my post install logic could kick. _ From: Saba Kauser Sent: Tuesday, March 12, 2019 6:01 PM To: python-list@python.org Subject: "Post install setup does not work as expected with pip inst

Re: Multiprocessing vs subprocess

2019-03-13 Thread oliver
With multiprocessing you can take advantage of multi-core processing as it launches a separate python interpreter process and communicates with it via shared memory (at least on windows). The big advantage of multiprocessing module is that the interaction between processes is much richer than subpr

Re: 3D visualizations in Python

2019-03-13 Thread marco . nawijn
On Tuesday, March 12, 2019 at 11:54:22 PM UTC+1, Jakub Bista wrote: > Hello. I want to do 3D visualization in Python. Which framework do you > recommend me for creating such a Interface? I would recommend the VTK library (https://vtk.org/). It has excellent Python bindings. Marco -- https://m

Re: Convert Windows paths to Linux style paths

2019-03-13 Thread Paul Moore
On Wed, 13 Mar 2019 at 08:13, eryk sun wrote: > > On 3/12/19, Paul Moore wrote: > > > > Do you care about case sensitivity (for example, is it important to you > > whether filenames "foo" and "FOO" map to the same file or not on > > Linux, given that they do on Windows)? > > That's no longer a gi

Not a python question, just programming logic trap?

2019-03-13 Thread jonas . thornvall
Anyone who is good at see logic traps in programming? comp.lang.javascript is defunct so i try here. Using the metronome. https://midisequenser.000webhostapp.com I've tried to understand how following code can lead to that after the keyreleased the front of the keyed scrollbar raise/extend f

Re: Convert Windows paths to Linux style paths

2019-03-13 Thread eryk sun
On 3/12/19, Paul Moore wrote: > > Do you care about case sensitivity (for example, is it important to you > whether filenames "foo" and "FOO" map to the same file or not on > Linux, given that they do on Windows)? That's no longer a given in Windows, since NTFS in Windows 10 supports case-sensiti