HU, Pili

Results 91 comments of HU, Pili

you can print list1 and student_list before the error line. Then you can verify whether x is in or not

They use a special font to display the numbers. However, those characters are not regular numbers. Need to find a way to "decode" numbers.

This is too hard for our students. Here's the quick solution. It is better to study with some other students together: https://github.com/hupili/python-for-data-and-media-communication/blob/master/scraper-examples/Qidian%20wordcount.ipynb

wget is not a module. It is a Linux/ Unix command. You need to search how to install this tool on your operating system.

@ConnorLi96 do you want to send a PR to week00 notes? May use it as an exercise to get familiar with GitHub collaboration. @FLYSTEPHEN have done that before. You can...

@lullabymia , does the medium article work? Seems it included a complete example to extract text from PDFs.

Don't dwell on `textract`. Actually `PyPDF2` alone already works as shown in [this comment](https://github.com/hupili/python-for-data-and-media-communication-gitbook/issues/116#issuecomment-443438281)

The solution is here: https://github.com/hupili/python-for-data-and-media-communication/blob/master/scraper-selenium/dianping%20comment%20number.ipynb The sample data is here: https://github.com/hupili/python-for-data-and-media-communication/blob/master/scraper-selenium/dianping.csv This case is too much beyond our curriculum. However, it is also good that you bring it up. The...