Re: Troubleshooting

2019-12-12 Thread Karsten Hilbert
On Thu, Dec 12, 2019 at 06:40:32PM -0600, catherine morris wrote: > Good evening, > > My son is trying to download python 3.8.0 on my PC, which has Windows 10, > and it won't install properly. I'm not tech savvy and have no idea where to > start. No offense, but, how old is your son ? Karsten --

Re: Zipapp can't find sqlite db

2019-12-12 Thread Abdur-Rahmaan Janhangeer
Packaging in this case means converting a folder into a zipapp archive. Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github Mauritius > > -- https://mail.python.org/mailman/listinfo/python-list

Re: Zipapp can't find sqlite db

2019-12-12 Thread Abdur-Rahmaan Janhangeer
Do you have a data files tuto link? Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github Mauritius > > -- https://mail.python.org/mailman/listinfo/python-list

Re: mysqlclient==1.4.6 none wheel doesn't work on ubuntu 18

2019-12-12 Thread Inada Naoki
Hi, mysqlclient maintainer is here. On Fri, Dec 13, 2019 at 1:44 AM Mitesh Patel wrote: > > I was very confused, but I just kept the “none” wheel since that should be OS > independent. Why do you think it is OS independent? libmysqlclient.so doesn't keep ABI compatibility. You need to rebuild m

Re: datetime gotcha

2019-12-12 Thread Frank Millman
On 2019-12-11 10:51 PM, Skip Montanaro wrote: Why is a dtm instance also an instance of dt? The datetime type is, in fact, a subclass of the date type: import datetime datetime.date.__bases__ (,) datetime.datetime.__bases__ (,) datetime.time.__bases__ (,) Skip Thanks for that. I fou

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 8:03 PM, Python wrote: >> Just when I think Windows 10 is a pretty decent system, I encounter >> something inexplicable like this. > > We've gone through that before, haven't we? Yup, Several times. The good news is her son finally got it installed by launching the installer from exp

Re: Troubleshooting

2019-12-12 Thread Python
Le 13/12/2019 à 03:53, Michael Torrie a écrit : On 12/12/19 6:33 PM, Python wrote: catherine morris wrote: Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. What happened

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 6:33 PM, Python wrote: > catherine morris wrote: >> Good evening, >> >> My son is trying to download python 3.8.0 on my PC, which has Windows 10, >> and it won't install properly. I'm not tech savvy and have no idea where to >> start. > > What happened exactly? Did you download the off

Re: Troubleshooting

2019-12-12 Thread Python
catherine morris wrote: Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. What happened exactly? Did you download the official installer from python.org, then click on next,

Re: Troubleshooting

2019-12-12 Thread Michael Torrie
On 12/12/19 5:40 PM, catherine morris wrote: > Good evening, > > My son is trying to download python 3.8.0 on my PC, which has Windows 10, > and it won't install properly. I'm not tech savvy and have no idea where to > start. > > Catherine Morris I just learned today that Python is officially av

Troubleshooting

2019-12-12 Thread catherine morris
Good evening, My son is trying to download python 3.8.0 on my PC, which has Windows 10, and it won't install properly. I'm not tech savvy and have no idea where to start. Catherine Morris -- https://mail.python.org/mailman/listinfo/python-list

Re: Transfer a file to httpserver via POST command from curl

2019-12-12 Thread Chris Angelico
On Fri, Dec 13, 2019 at 3:44 AM Karthik Sharma wrote: > I am doing a POST using curl as follows. > > curl -X POST --data-binary @/home/user/testfile.txt http:// > 127.0.0.1:5000/file-upload > > Is it really possible to transfer a large binary file from my machine to > the above httpserver via POST

Transfer a file to httpserver via POST command from curl

2019-12-12 Thread Karthik Sharma
I have written a python server app (actually copied from somewhere) using Flask, that I want to act as a http server. I expect this server to recieve a POST command (of a file) from CURL and save that file on the server. And I should be able to download that file when required. My python scripts a

mysqlclient==1.4.6 none wheel doesn't work on ubuntu 18

2019-12-12 Thread Mitesh Patel
I’m using pantsbuild to create a pex with SQLAlchemy==1.3.11 and mysqlclient==1.4.6. I’m going to run the pex on ubuntu 14 trusty and ubuntu 18 bionic. To first build the wheel, I went to each ubuntu machine and ran this: pip wheel —no-cache-dir —wheel-dir=./ mysqlclient==1.4.6 On the trusty m

Re: Python3 - How do I import a class from another file

2019-12-12 Thread Musbur
Hi Chris, The most important distinction, which that note is emphasizing, is that the "del" statement removes just one reference, and if there are other references, then __del__ will not be called. No argument there, that's how reference counting works, and it's clear from the docs. What is n

Re: Python3 - How do I import a class from another file

2019-12-12 Thread Rhodri James
On 11/12/2019 21:32, mus...@posteo.org wrote: On Tue, 10 Dec 2019 14:56:10 -0500 Dennis Lee Bieber wrote: It is called when the language IMPLEMENTATION decides to call it. That time is not specified in the language description/reference manual. Yes it is: "Note: del x doesn’t directl

Re: Extract all words between two keywords in .txt file (Python)

2019-12-12 Thread Ben Bacarisse
A S writes: > On Thursday, 12 December 2019 02:28:09 UTC+8, Ben Bacarisse wrote: >> A S writes: >> >> > I would like to extract all words within specific keywords in a .txt >> > file. For the keywords, there is a starting keyword of "PROC SQL;" (I >> > need this to be case insensitive) and the