[Tutor] Unable to retreive the stock code

2015-11-15 Thread Crusier
Dear All, I am currently trying to download the stock code. I am using Python 3.4 and the code is as follows: from bs4 import BeautifulSoup import requests import re url = 'https://www.hkex.com.hk/eng/market/sec_tradinfo/stockcode/eisdeqty.htm' def web_scraper(url): response = requests.get(

Re: [Tutor] The very first program in python

2015-11-15 Thread Alan Gauld
On 15/11/15 03:23, Sajjadul Islam wrote: The following suggestion is not clear to me : " If you defined your function in a separate module using IDLE you can use the run menu to run the module directly. That will in turn load it into the IDLE shell for you to use. " I assumed (incorrectly as

Re: [Tutor] The very first program in python

2015-11-15 Thread Sajjadul Islam
Hi I am on Ubuntu 15.10 and using Python 3.4. The following suggestion is not clear to me : " If you defined your function in a separate module using IDLE you can use the run menu to run the module directly. That will in turn load it into the IDLE shell for you to use. " Let me explain again

Re: [Tutor] Missing posts

2015-11-15 Thread Alan Gauld
On 15/11/15 08:41, Albert-Jan Roskam wrote: (Sorry for top-posting) Could it be related to this? ... I don't think so, since the mails in question are getting as far as the mailman server moderation queue. If the users weren't on moderation I assume they would have been forwarded on as usual (

Re: [Tutor] Missing posts

2015-11-15 Thread Albert-Jan Roskam
(Sorry for top-posting) Could it be related to this? https://www.emailonacid.com/blog/article/industry-news/could_yahoo_and_aols_dmarc_policies_destroy_your_deliverability Albert-Jan > To: tutor@python.org > From: alan.ga...@btinternet.com > Date: Sun, 15 Nov 2015 00:08:37 + > Subject: [Tut