Sep-22-2016, 02:07 PM
I do not think that code button should be mention as to be used preserve Python's indentation.
Now that modification has been done(no PHP),i want all to use Python code button(look a lot better).
So here a picture that you may use.
[Image: vkYoys.jpg]
Python code block.
Now that modification has been done(no PHP),i want all to use Python code button(look a lot better).
So here a picture that you may use.
[Image: vkYoys.jpg]
Python code block.
import requests from bs4 import BeautifulSoup url = 'url' url_get = requests.get(url) soup = BeautifulSoup(url_get.content, 'lxml') tag = soup.find('title') print(tag.text) print(soup)Original Code block.
import requests from bs4 import BeautifulSoup url = 'url' url_get = requests.get(url) soup = BeautifulSoup(url_get.content, 'lxml') tag = soup.find('title') print(tag.text) print(soup)