IPC10 archive anywhere?

2019-12-06 Thread Skip Montanaro
I've poked around a bit and have been unable to come up with an archive of the papers delivered at IPC10 (2001, I believe - pre-PyCon days). Might anyone have a link? Thanks, Skip -- https://mail.python.org/mailman/listinfo/python-list

Re: IPC10 archive anywhere?

2019-12-06 Thread Skip Montanaro
> I've poked around a bit and have been unable to come up with an > archive of the papers delivered at IPC10 (2001, I believe - pre-PyCon > days). Might anyone have a link? Found it a few minutes later: https://legacy.python.org/workshops/ Skip -- https://mail.python.org/mailman/listinfo/python

Zipapp can't find sqlite db

2019-12-06 Thread Abdur-Rahmaan Janhangeer
Greetings, I'm using zipapp to include a gui + db __main__.py dbs/ file.db When packaging, the db is there. When querying through sqlalchemy, it says can't open db file. Help appreciated! Yours, Abdur-Rahmaan Janhangeer pythonmembers.club | github

Unicode filenames

2019-12-06 Thread Bob van der Poel
I have some files which came off the net with, I'm assuming, unicode characters in the names. I have a very short program which takes the filename and puts into an emacs buffer, and then lets me add information to that new file (it's a poor man's DB). Next, I can look up text in the file and open

Re: Unicode filenames

2019-12-06 Thread DL Neil via Python-list
On 7/12/19 7:17 AM, Bob van der Poel wrote: I have some files which came off the net with, I'm assuming, unicode characters in the names. I have a very short program which takes the filename and puts into an emacs buffer, and then lets me add information to that new file (it's a poor man's DB).

Make warning an exception?

2019-12-06 Thread Israel Brewster
I was running some code and I saw this pop up in the console: 2019-12-06 11:53:54.087 Python[85524:39651849] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future. The only problem is, I have no idea what is generating that warning

Re: Make warning an exception?

2019-12-06 Thread Rob Gaddi
On 12/6/19 12:58 PM, Israel Brewster wrote: I was running some code and I saw this pop up in the console: 2019-12-06 11:53:54.087 Python[85524:39651849] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future. The only problem is,

Re: Make warning an exception?

2019-12-06 Thread DL Neil via Python-list
On 7/12/19 9:58 AM, Israel Brewster wrote: I was running some code and I saw this pop up in the console: 2019-12-06 11:53:54.087 Python[85524:39651849] WARNING: nextEventMatchingMask should only be called from the Main Thread! This will throw an exception in the future. The only problem is, I

Re: Unicode filenames

2019-12-06 Thread Terry Reedy
On 12/6/2019 1:17 PM, Bob van der Poel wrote: I have some files which came off the net with, I'm assuming, unicode characters in the names. I have a very short program which takes the filename and puts into an emacs buffer, and then lets me add information to that new file (it's a poor man's DB).

Error getting data from website

2019-12-06 Thread Sam Paython
Hi all, This is the code I am writing: import requests from bs4 import BeautifulSoup request = requests.get("https://www.amazon.ca/dp/B07RZFQ6HC";) content = request.content soup = BeautifulSoup(content, "html.parser") element = soup.find("span",{"id":"priceblock_dealprice"}) print(element.text

Re: Error getting data from website

2019-12-06 Thread DL Neil via Python-list
On 7/12/19 12:53 PM, Sam Paython wrote: This is the code I am writing: import requests from bs4 import BeautifulSoup request = requests.get("https://www.amazon.ca/dp/B07RZFQ6HC";) content = request.content soup = BeautifulSoup(content, "html.parser") element = soup.find("span",{"id":"priceblock_d

Re: Error getting data from website

2019-12-06 Thread Michael Torrie
On 12/6/19 5:31 PM, DL Neil via Python-list wrote: > If you read the HTML data that the REPL has happily splattered all over > your terminal's screen (scroll back) (NB "soup" is easier to read than > is "content"!) you will observe that what you saw in your web-browser is > not what Amazon serve

Re: Error getting data from website

2019-12-06 Thread Chris Angelico
On Sat, Dec 7, 2019 at 11:46 AM Michael Torrie wrote: > > On 12/6/19 5:31 PM, DL Neil via Python-list wrote: > > If you read the HTML data that the REPL has happily splattered all over > > your terminal's screen (scroll back) (NB "soup" is easier to read than > > is "content"!) you will observe th

Re: Error getting data from website

2019-12-06 Thread DL Neil via Python-list
On 7/12/19 1:51 PM, Chris Angelico wrote: On Sat, Dec 7, 2019 at 11:46 AM Michael Torrie wrote: On 12/6/19 5:31 PM, DL Neil via Python-list wrote: If you read the HTML data that the REPL has happily splattered all over your terminal's screen (scroll back) (NB "soup" is easier to read than is

Re: Error getting data from website

2019-12-06 Thread Chris Angelico
On Sat, Dec 7, 2019 at 1:21 PM DL Neil via Python-list wrote: > > On 7/12/19 1:51 PM, Chris Angelico wrote: > > On Sat, Dec 7, 2019 at 11:46 AM Michael Torrie wrote: > >> > >> On 12/6/19 5:31 PM, DL Neil via Python-list wrote: > >>> If you read the HTML data that the REPL has happily splattered a