Skip to content

Instantly share code, notes, and snippets.

View getmehire's full-sized avatar
🎯
Focusing

Ahmed Q. getmehire

🎯
Focusing
View GitHub Profile
@getmehire
getmehire / realEstateScrapper.py
Last active September 15, 2020 21:21
Real Estate Scraper with Python 3, Beautiful Soup and Pandas
from bs4 import BeautifulSoup
import requests
import random
import pandas
from random import randint
from time import sleep
targetURL = "https://www.zoopla.co.uk/for-sale/property/edinburgh/"
headers = {"Accept-Language": "en-GB, en;q=0.5"}
results = requests.get(targetURL, headers=headers)
@getmehire
getmehire / blackjack.py
Last active November 19, 2023 10:46
Python BlackJack Game
import random
# global variables
suits = ('Hearts', 'Diamonds', 'Spades', 'Clubs') # Tuples
ranks = ('Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Jack', 'Queen', 'King', 'Ace')
values = {
'Two':2,
'Three':3,
'Four':4,
'Five':5,
'Six':6,