graphic_cards_details.mp4
from bs4 import BeautifulSoup as bs
import requests
# WebSite Page
Url = "Url Link"
results = requests.get(Url)
doc = bs(results.text, "html.parser")
# Local HTML File Inside Your Directory
with open("Filename.html", "r") as Alias:
doc = bs(Alias, "html.parser")
# Writes Down Changes into New Html file
for tag in tags:
tag['placeholder'] = "I changed you!" # Change The value in placeholder attr
# print(type(tag)) > Element
with open("v2CourseRegistration.html", "w") as file:
file.write(str(doc))
# dictionary that contains each item:{price, link}
sorted_items = sorted(items_found.items(), key=lambda x: x[1]['price'])
# looping through items to print them
for item in sorted_items:
print("-------------------------")
print(item[0])
print(f"${item[1]['price']}")
print(item[1]['link'])
print("-------------------------")
git clone https://github.com/iNightjar/Scalamp.git
cd Scalamp
git checkout master
rm -rf .git
git init .
git branch [branch-name] # make it descriptive
git add [file] # individual commits for each file are prefered
git commit -m "Your Commit Message"
python -m venv venv
source venv/bin/activate
Use .\venv\Scripts\activate
if on windows
(venv) python -m pip install pip --upgrade
(venv) python -m pip install -r requirements.txt
cd /path/Sclamp
code .