Re: A decade or so of Python programming, and I've never thought to "for-elif"

2021-12-01 Thread Rob Cliffe via Python-list
If for ... else was spelt more intelligibly, e.g. for ... nobreak, there would be no temptation to use anything like `elif'. `nobreakif' wouldn't be a keyword. Rob Cliffe On 30/11/2021 06:24, Chris Angelico wrote: for ns in namespaces: if name in ns: print("Found!") brea

PyCharm settings - per: print('\N{flag: Mauritius}') not supported in py3.9

2021-12-01 Thread dn via Python-list
On 29/11/2021 10.08, dn via Python-list wrote: > On 29/11/2021 02.18, Chris Angelico wrote: >> On Mon, Nov 29, 2021 at 12:10 AM Abdur-Rahmaan Janhangeer >> wrote: >> >> Flags are actually constructed from multiple codepoints. What you want >> is to insert each codepoint separately. You can see the

Re: NOT ABLE TO SEE PICTURES

2021-12-01 Thread Calvin Spealman
What does "python runs in file explorer" mean? How do you know its the same folder? How are you looking at the contents of the folder? On Wed, Dec 1, 2021 at 10:33 AM Ragavendar wrote: >When the python runs in file explorer when I open a folder it shows NO >ITEAMS FOUND and if I open sam

Re: Python child process in while True loop blocks parent

2021-12-01 Thread Jen Kris via Python-list
Thanks for your comment re blocking.  I removed pipes from the Python and C programs to see if it blocks without them, and it does.  It looks now like the problem is not pipes.  I use fork() and execv() in C to run Python in a child process, but the Python process blocks because fork() does no

Re: NOT ABLE TO SEE PICTURES

2021-12-01 Thread inhahe
Maybe your file explorer is set to ignore system and/or hidden files, and Python isn't? You can check that in folder settings.. On Wed, Dec 1, 2021 at 10:31 AM Ragavendar wrote: >When the python runs in file explorer when I open a folder it shows NO >ITEAMS FOUND and if I open same folde

NOT ABLE TO SEE PICTURES

2021-12-01 Thread Ragavendar
When the python runs in file explorer when I open a folder it shows NO ITEAMS FOUND and if I open same folder without python ITEAMS ARE THERE so kindly help me     Sent from [1]Mail for Windows   References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=55

Re: Installation of GeoPandas - failed at fiona

2021-12-01 Thread Mats Wichmann
On 12/1/21 03:18, Shaozhong SHI wrote: I am trying to install geopandas. I navigated to c:\programData|Anaconda3\Scripts> and typed in 'pip install geopandas'. Usually if you're using the Anaconda environment, you should use the "conda" installer, for consistency. It ran but failed at fio

Installation of GeoPandas - failed at fiona

2021-12-01 Thread Shaozhong SHI
I am trying to install geopandas. I navigated to c:\programData|Anaconda3\Scripts> and typed in 'pip install geopandas'. It ran but failed at fiona. I tried import geopandas as gp, but Error Message says: No module names 'geopandas'. Can anyone help? Regards, David -- https://mail.python.org