[Tutor] IDLE Subprocess Startup Error

2016-07-29 Thread Darah via Tutor
Hello, I’ve been using Python’s IDLE for a couple of weeks now and it has been working fine but a few days ago I started getting this error message "IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess or personal firewall software is blocking the connection.” I tr

Re: [Tutor] IDLE Subprocess Startup Error

2016-07-29 Thread Alan Gauld via Tutor
On 29/07/16 05:24, Darah via Tutor wrote: > I’ve been using Python’s IDLE for a couple of weeks now and > it has been working fine but a few days ago I started getting > this error message > "IDLE's subprocess didn't make connection. > Either IDLE can't start a subprocess or personal firewall > s

[Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread Crusier
I am using Python 3 on Windows 7. However, I am unable to download some of the data listed in the web site as follows: http://data.tsci.com.cn/stock/00939/STK_Broker.htm 453.IMC 98.28M 18.44M 4.32 5.33 1499.Optiver 70.91M 13.29M 3.12 5.34 7387.花旗环球 52.72M 9.84M 2.32 5.36 When I use Google Chrom

Re: [Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread Alan Gauld via Tutor
On 29/07/16 08:28, Crusier wrote: > When I use Google Chrome and use 'View Page Source', the data does not > show up at all. However, when I use 'Inspect', I can able to read the > data. > > '1453.IMC' > '98.28M' > '3.12' > '5.34' > > Please kindly explain to me if the data is hide in CSS Style

Re: [Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread Walter Prins
Hi On 29 July 2016 at 08:28, Crusier wrote: > I am using Python 3 on Windows 7. > > When I use Google Chrome and use 'View Page Source', the data does not > show up at all. However, when I use 'Inspect', I can able to read the > data. > > Please kindly explain to me if the data is hide in CSS

Re: [Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread bruce
In following up/on what Walter said. If the browser without cookies/javascript enabled doesn't generate the content, you need to have a different approach. The most "complete" is the use of a headless browser. However, the use/implementation of a headless browser has its' own share of issues. Spe

Re: [Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread Alan Gauld via Tutor
On 29/07/16 23:10, bruce wrote: > The most "complete" is the use of a headless browser. However, the > use/implementation of a headless browser has its' own share of issues. > Speed, complexity, etc... Walter and Bruce have jumped ahead a few steps from where I was heading but basically it's an i

Re: [Tutor] Unable to download , using Beautifulsoup

2016-07-29 Thread bruce
Hey Alan... Wow APIs.. yeah.. would be cool!!! I've worked on scraping data from lots of public sites, that have no issue (as long as you're kind) that have no clue/resource regarding offerning APIs. However, yeah, if you''re looking to "rip" off a site that has adverts, prob not a cool thing to