Hello,
Thank you all for your help.
On Tue, Dec 1, 2020 at 1:38 PM MRAB wrote:
> The bytes are all in the ASCII range, so you can convert it into a
> string using .decode('ascii').
I utilized encode and decode string methods to convert from bytes to strings
> And, of course, use parametrised qu
On 01/12/2020 21:53, Álvaro d'Ors wrote:
Hi guys, I'm new here, can anyone help me built a bot than can input data
in a website?
This is not for spam purposes, I just need to reserve a place in the
library at the university but they are completed in a matter of minutes and
I can't waste time "cam
Hi, Alvaro,
On Tue, Dec 1, 2020 at 9:11 PM Álvaro d'Ors
wrote:
>
> The IDLE seems to be malfunctioning, I just re-installed Python and used
> the reapir function but I can’t open the IDLE, please help.
What OS do you use?
Are you trying to run it by double-clicking on the icon?
What happens? Doe
Hi guys, I'm new here, can anyone help me built a bot than can input data
in a website?
This is not for spam purposes, I just need to reserve a place in the
library at the university but they are completed in a matter of minutes and
I can't waste time "camping" the website. Thank you
Nestares D. Á
The IDLE seems to be malfunctioning, I just re-installed Python and used
the reapir function but I can’t open the IDLE, please help.
--
Nestares D. Álvaro
--
https://mail.python.org/mailman/listinfo/python-list
Hartmut Goebel wrote at 2020-11-30 19:30 +0100:
>formatted string literals are great, but can't be used together with
>localization:
>
>_(f"These are {count} stones")
>
>will crash babel ("NameError: name 'count' is not defined".
Translations are kept in external files (without any runtime
ass
On 2020-12-01 05:32, Ivan "Rambius" Ivanov wrote:
Hello,
I want to store the hashes of strings in a database and I have
problems generating the sql statements. I generate the hashes using
hashlib and then convert it to base64 and I put the base64
representation in the sql. Here is the code:
#!/
"Ivan \"Rambius\" Ivanov" wrote at 2020-12-1 00:32 -0500:
> ...
>This code throws
>
>$ ./hashinstr.py
>Traceback (most recent call last):
> File "./hashinstr.py", line 16, in
>gen_sql(s)
> File "./hashinstr.py", line 13, in gen_sql
>sql = "insert into HASHES value ('" + ehash + "')"
>Typ