Hi,
Thanks for the answer. I just discovered the problem had nothing to do with
xpath, but with the initial value of the descriptor.
This fixed it:
self._pi: List[etree.Element] = []
On Thu, Apr 9, 2020 at 2:29 AM DL Neil via Python-list <
python-list@python.org> wrote:
> On 9/04/20 10:02 AM,
On 9/04/20 10:02 AM, Martin Alaçam wrote:
Hello,
I have the following descriptor:
self._pi = None
@property
def pi(self) -> list:
self._pi = self._root.xpath('processing-instruction()')
return self._pi
Mypy says: "Incompatible return value type (got "None", exp
On 4/8/2020 3:12 PM, Lorraine Healy wrote:
I have downloaded the 3.8 64 bit python program to my PC but the
interpreter will not run. It seems to have 'repaired' itself when I ran the
setup again but the interpreter still won't run.
Is there a reason for this?
You are rerunning the installer
Hello,
I have the following descriptor:
self._pi = None
@property
def pi(self) -> list:
self._pi = self._root.xpath('processing-instruction()')
return self._pi
Mypy says: "Incompatible return value type (got "None", expected
"List[Any]")"
The xpath expression always r
On 4/8/2020 3:35 PM, Michael Torrie wrote:
Assuming Windows here.
The Python interpreter does nothing without a python program to run (to
interpret). Thus if you simply double click on python.exe it will do
nothing.
That does not match my experience. I get the interactive prompt:
Python 3.8
On 4/8/2020 3:12 PM, Lorraine Healy wrote:
-- Forwarded message -
From: Lorraine Healy
Date: Wed, Apr 8, 2020 at 12:11 PM
Subject: Troubling running my Python
To:
Hi,
I have downloaded the 3.8 64 bit python program to my PC but the
interpreter will not run. It seems to have
On 4/8/20 1:12 PM, Lorraine Healy wrote:
> Hi,
>
> I have downloaded the 3.8 64 bit python program to my PC but the
> interpreter will not run. It seems to have 'repaired' itself when I ran the
> setup again but the interpreter still won't run.
> Is there a reason for this? Do you require a scree
I have downloaded the 3.8 64 bit python program to my PC but the
interpreter will not run. It seems to have 'repaired' itself when I ran the
setup again but the interpreter still won't run.
Is there a reason for this? Do you require a screenshot?
Welcome to Python!
This is an FAQ because Pyth
-- Forwarded message -
From: Lorraine Healy
Date: Wed, Apr 8, 2020 at 12:11 PM
Subject: Troubling running my Python
To:
Hi,
I have downloaded the 3.8 64 bit python program to my PC but the
interpreter will not run. It seems to have 'repaired' itself when I ran the
setup again b
On Wednesday, April 8, 2020 at 10:47:42 AM UTC-7, John Ladasky wrote:
> Hi folks,
>
> Something broke in my Python installation in the past two or three days. I'm
> working in Ubuntu 19.10 and Python 3.7, without virtual environments.
>
> I have two modules of Python source code that I am dev
Hi folks,
Something broke in my Python installation in the past two or three days. I'm
working in Ubuntu 19.10 and Python 3.7, without virtual environments.
I have two modules of Python source code that I am developing. I regularly
change this code and "distribute" it to myself using setupt
Hi,
I am developing an app that monitors and corrects the user input based on some
rules.
I am reading the events from keyboard with the keyboard python module.
I faced some problem when the user types very fast, as regards some overlays of
text. By this I mean that when my app writes the correct
if you want to do work in NLP there are numerous opportunities, especially
with the virus oubreak
see e.g.
https://www.cnbc.com/2020/03/03/bluedot-used-artificial-intelligence-to-predict-coronavirus-spread.html
Am Mi., 8. Apr. 2020 um 09:18 Uhr schrieb :
> Hello everyone
> I`m new to python. I ne
Hello everyone
I`m new to python. I need to select a project idea so that I can work with it
during this semester. the project should be in the area of business and finance
at first I was thinking of creating a project using NLP but I don`t know what
exactly to create
also I would like to create
14 matches
Mail list logo