Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread DL Neil via Python-list
On 25/03/20 11:57 AM, Chris Angelico wrote: On Wed, Mar 25, 2020 at 9:37 AM DL Neil via Python-list wrote: As you observe, the problem with terminal emulators is the extent of their emulation and the degree of adoption of their 'extended features'! My concern grows because of the need (I assu

Open Source Maintainer Needed For Our Online Meetup

2020-03-25 Thread Abdur-Rahmaan Janhangeer
Greetings list, The Python Mauritius User Group is having it's March meetup online. https://www.meetup.com/MauritiusSoftwareCraftsmanshipCommunity/events/269598174/ We want to have two or more open source maintainers presenting their projects (core comitters of any python package that's somewhat

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Chris Angelico
On Wed, Mar 25, 2020 at 8:31 PM DL Neil via Python-list wrote: > 1 what features does the terminal offer when a user 'clicks'? > Is it only applicable to URLs and linked to the web-browser within > "Preferred Applications"? Are you able to 'grab' that click from the > app? eg MOUSEDOWN*. In most

Re: How to create an Excel app that runs Python?

2020-03-25 Thread Gisle Vanem
Grant Edwards wrote: On 2020-03-24, oliver wrote: Use the win32com library to interact with Excel via COM. Huh? I thought that the users have no way of running a local Python app. Maybe creating a self-contained .exe using PyInstaller? For me, this: pyinstaller.exe --noconfirm --consol

Re: How to create an Excel app that runs Python?

2020-03-25 Thread farayao . ds
On Tuesday, 24 March 2020 17:38:11 UTC, Paolo G. Cantore wrote: > On Tue, Mar 24, 2020, 4:45 PM wrote: > > > I have the following scenario: > > > > I have created lots of python files that I use to calculate a Cashflow > > model, when I run these files I get a beautiful pandas DataFrame that > >

Re: How to create an Excel app that runs Python?

2020-03-25 Thread farayao . ds
On Tuesday, 24 March 2020 16:12:00 UTC, Souvik Dutta wrote: > You might try pyqt5 if you want to make a custom GUI and also if you have > tha time to do so. > > On Tue, Mar 24, 2020, 4:45 PM wrote: > > > I have the following scenario: > > > > I have created lots of python files that I use to ca

Re: How to create an Excel app that runs Python?

2020-03-25 Thread farayao . ds
On Wednesday, 25 March 2020 12:13:58 UTC, Gisle Vanem wrote: > Grant Edwards wrote: > > > On 2020-03-24, oliver wrote: > > > >> Use the win32com library to interact with Excel via COM. > > > > Huh? I thought that the users have no way of running a local Python > > app. > > Maybe creating a s

Re: How to create an Excel app that runs Python?

2020-03-25 Thread farayao . ds
On Tuesday, 24 March 2020 16:26:53 UTC, oliver wrote: > Use the win32com library to interact with Excel via COM. Although the > learning curve is a little steeper it's not too bad and works great. I used > this technique to control ARENA with Python through its COM API to run a > whack of simulati

Re: Intermittent bug with asyncio and MS Edge

2020-03-25 Thread Barry Scott
> On 25 Mar 2020, at 06:12, Frank Millman wrote: > > On 2020-03-24 8:39 PM, Barry Scott wrote: >>> On 24 Mar 2020, at 11:54, Frank Millman wrote: >>> >>> >>> I decided to concentrate on using Wireshark to detect the difference >>> between a Python3.7 session and a Python3.8 session. Alread

Re: How to create an Excel app that runs Python?

2020-03-25 Thread Souvik Dutta
It is better than tkinter and also kivy in some way. It uses pure oops concept so it should be more intuitive and easy to set up. I learnt it in 7 days. Also it has still better community support at p...@riverbankcomputing.com On Wed, Mar 25, 2020, 7:59 PM wrote: > On Tuesday, 24 March 2020 16:1

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Peter J. Holzer
On 2020-03-23 06:00:41 +1100, Chris Angelico wrote: > Second point, and related to the above. The regex that defines break > points, as found in the source code, is: > > wordsep_re = re.compile(r''' > ( # any whitespace > %(ws)s+ > | # em-dash between words > (?

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Peter J. Holzer
On 2020-03-25 10:02:50 +1300, DL Neil via Python-list wrote: > Today it feels like an anachronism because it is comes from the era of > fixed-width fonts and line-lengths denominated in characters*. The issue is > that it was designed to re-define 'white space' and to enable the conversion > of tex

Module import best practice

2020-03-25 Thread Rich Shepard
I'm writing an application using Python3 and Tkinter. The views/ directory contain multiple modules, including one called commonDlgs.py. This contains classes (such as those for validating data entry) used by all the data entry views. Some classes in commonDlgs imports other modules. My question

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Richard Damon
On 3/25/20 3:52 PM, Peter J. Holzer wrote: > On 2020-03-25 10:02:50 +1300, DL Neil via Python-list wrote: >> Today it feels like an anachronism because it is comes from the era of >> fixed-width fonts and line-lengths denominated in characters*. The issue is >> that it was designed to re-define 'wh

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Chris Angelico
On Thu, Mar 26, 2020 at 6:34 AM Peter J. Holzer wrote: > > On 2020-03-23 06:00:41 +1100, Chris Angelico wrote: > > Second point, and related to the above. The regex that defines break > > points, as found in the source code, is: > > > > wordsep_re = re.compile(r''' > > ( # any whitespace >

Re: Confusing textwrap parameters, and request for RE help

2020-03-25 Thread Vlastimil Brom
22. 3. 2020 v 20:02 Chris Angelico : > > When using textwrap.fill() or friends, setting break_long_words=False > without also setting break_on_hyphens=False has the very strange > behaviour that a long hyphenated word will still be wrapped. I > discovered this as a very surprising result when tryin