In [1]:
import requests
from bs4 import BeautifulSoup

In [6]:
r = requests.get("http://pythonforengineers.com/pythonforengineersbook/")

In [7]:
r.status_code


Out[7]:
200

In [11]:
data = r.text
soup = BeautifulSoup(data, "lxml")

In [15]:
soup.title


Out[15]:
<title>Python for Engineers Book - Python For Engineers</title>

In [ ]:
soup.find_all('p')

In [18]:
for p_elem in soup.find_all('p'):
    print(p_elem.get_text())


 

 
The Python for Scientists and Engineers course,  based on my highly successful Kickstarter, seeks to teach you advanced Python by building awesome projects.
Practice, not theory
The course will be heavily practical, with little or no theory. The goal is to get you using Python for real world engineering applications. For each topic, we will choose a real case scenario and build a quick solution in Python to solve our problem.
These are the topics we will cover:
Introduction to Python
I will cover the basics of the Python, specifically for the programmers wanting to use Python for engineering.This will be a quick introduction to Python for people who know at least one other programming language.
Image and Video processing


 
Audio
Create a sine wave, find its frequency, simple filtering

Analysis and plotting with Numpy, Scipy and Matplotlib
Learn how to work with and graph scientific data
 

 
Machine Learning
Build an Amazon like recommendation engine in Python.

 
Statistics and data manipulation
The Python pandas library is Python’s answer to R, and used extensively in financial analysis.
 
Turn your Raspberry Pi into a web server


Learn how to control your Pi via a web browser, using your laptop or even iPad:

Buy now:
Available on LeanPub.
 
· © 2016 Python For Engineers · Designed by Press Customizr · Powered by  ·

In [21]:
for p_elem in soup.find_all('a'):
    print(p_elem.get('href'))


http://pythonforengineers.com/
http://pythonforengineers.com/
http://pythonforengineers.com/data-science-lessons/
http://pythonforengineers.com/articles/
http://pythonforengineers.com/pythonforengineersbook/
http://pythonforengineers.com/python-for-hackers/
http://pythonforengineers.com/about/
http://pythonforengineers.com/contact/
http://pythonforengineers.com
http://i2.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/Python_for_Scientists-small.jpg
https://www.kickstarter.com/projects/513736598/python-for-science-and-engineering
http://i0.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/abba_face_detected.jpg
http://i0.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/motion2.jpg
http://i2.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/noisy4.png
http://i0.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/Marvin_HHGG.jpg
http://i0.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/300px-RaspberryPi.jpg
http://i2.wp.com/pythonforengineers.com/wp-content/uploads/2014/07/rpi.jpg
https://leanpub.com/pythonforengineers
/pythonforengineersbook/#respond
http://pythonforengineers.com
http://presscustomizr.com/
https://wordpress.org

In [ ]: