<jupyter_start><jupyter_text>Django BasicsThis notebook explores the basic knowledge required for Django developments. 1. Python Basics: Data Structure<jupyter_code># Numericals
a = 1
b = 2
a*b

# Strings
s = 'hello'
s2 = ' world!'
s3 = s + s2
print(s3)

# List
names = []
names.append('Meyer')

# Function 
def exponentiation(a, b)
    return a**b<jupyter_output><empty_output><jupyter_text>2. Html basicsThis section explores the basics of html syntax. `` ```                        function test(){            alert(1234);        }        function demo(){            alert(1);        }                 Some text                                            1                2                                        3                4                            Google                ```  3. Web Crawler, Requests and Sockets<jupyter_code>import requests
from time import sleep
from bs4 import BeautifulSoup

req = requests.get()

soup = BeautifulSoup(req.text, 'html.parser')
layui_list = soup.find_all("div", attrs={"class": "layui-col-md12"})
for info_tag in layui_list[2:]:
    content = info_tag.find_all('div', attrs={"class": "content"})
    print(content.text)
    print("--"*100)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1116584564860427, 'fraction_numerical': 0.020525451559934318, 'mean_word_length': 2.1096938775510203, 'pattern_counts': {'":': 2, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '90949', 'license': 'MIT', 'n_tokens_mistral': 379, 'n_tokens_neox': 355, 'n_words': 96, 'path': '2. Django/Task1_Django Basics.ipynb', 'repo_name': 'conquerv0/Tools_WorkFlow', 'size': '1218'}