On 2020-11-07 20:03, Dieter Maurer wrote:
Hernán De Angelis wrote at 2020-11-6 21:54 +0100:
...
However, the hard thing to do here is to get those only when
tagC/note/title/string='value'. I was expecting to find a way of
specifying a certain construction in square brackets, lik
t; Regards,
>
> David
>
> On Fri, 6 Nov 2020 at 20:57, Hernán De Angelis <
> variablestarli...@gmail.com> wrote:
>
>> Thank you Terry, Dan and Dieter for encouraging me to post here. I have
>> already solved the problem albeit with a not so efficient solution.
&
Hi,
Wikipedia has an article on the duodecimal system, that includes an
explanation of how to convert from decimal and the other way around.
https://en.wikipedia.org/wiki/Duodecimal?wprov=sfla1
Peerrhaps it can be easily implemented as a function. Good luck.
H.
Den lör 7 nov. 2020 07:55Nick
string.append(element4.text)
Crude, but works. As I wrote above, I was wishing that a bracketed
clause of the type [@ ...] already in the first "findall" would do a
more efficient job but alas my knowledge of xml is too rudimentary.
Perhaps something to tinker on in the coming weeks
Hi everyone
I am confronting some XML parsing challenges and would like to ask some
questions to more knowledgeable Python users. Apparently there exists a
group for such questions but that list (xml-sig) has apparently not
received (or archived) posts since May 2018(!). I wonder if there are
I see. Should be "encoding". Thanks.
/H.
On 2020-11-03 19:30, Dieter Maurer wrote:
Hernán De Angelis wrote at 2020-11-2 10:06 +0100:
...
My request has the form:
header = {'Content-type':'application/xml', 'charset':'utf-8'}
Not your probl
I see, my mistake was (tacitly) assuming that encode() could work in place.
Now I see that it should work in a previous line as you wrote.
Thank you!
/H.
On 2020-11-02 18:32, Karsten Hilbert wrote:
On Mon, Nov 02, 2020 at 06:21:15PM +0100, Hernán De Angelis wrote:
For the record:
Just
)
not in a previous separate line as I did.
Now it works. This wasn't an obvious way to proceed for me.
/H.
On 2020-11-02 10:06, Hernán De Angelis wrote:
Hi everyone,
I am writing a program that sends a post request to a server. The post
request may include keywords with Swedish c
Hi everyone,
I am writing a program that sends a post request to a server. The post
request may include keywords with Swedish characters (åöä).
I noticed that requests that include strings without those characters
return a useful expected response. On the other hand, posts including
those ch