Jump to content

Recommended Posts

I have a question for Winny, how and why is the particular reason she choose or decided to go with Python, while there are so many other programming languages out there?

Share this post


Link to post
Share on other sites

I am using windows 10. I am unable to start a new terminal (python 3) on Jupyter.

This is the feedback I get when I try to open a new terminal.

Unexpected error while saving file: Untitled.ipynb [Errno 2] No such file or directory: 'C:\\Users\\Abugre\\Desktop\\pythonforjournalists\\Untitled.ipynb'

Share this post


Link to post
Share on other sites

This is a suggestion, not a question. In the final module of "Python for journalists," Winny has this line for making the soup:

soup = BeautifulSoup(page.content, 'html.parser')

It would be better to have this instead:

soup = BeautifulSoup(page.text, 'html.parser')

The difference between text and content (from the Requests library) is explained here: 

https://stackoverflow.com/questions/17011357/what-is-the-difference-between-content-and-text 

Great course! Very useful. 

Share this post


Link to post
Share on other sites

Hi there, I have installed conda but it is not working when I open my Windows prompt. Only works when I type in the Anaconda Prompt. Is that ok?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


subscribe figure
×
×
  • Create New...