Skip to content

Instantly share code, notes, and snippets.

View CodeByAidan's full-sized avatar
💻
new semester 🔥🔥🔥

aidan CodeByAidan

💻
new semester 🔥🔥🔥
View GitHub Profile
@CodeByAidan
CodeByAidan / TP_Mac_Setup.markdown
Created June 24, 2023 13:00 — forked from nvgrw/TP_Mac_Setup.markdown
TurboPascal setup tutorial for Mac

TurboPascal on Mac

Note: probably 99% of this tutorial (excluding installation and folder structure) is DOSBox- and not Mac-specific. As long as your computer can run DOSBox you should be able to convert the steps to work on Windows.

1. Downloading & Installing DOSBox

DOS apps don't run natively on OS X, so we use DOSBox to emulate DOS for us.

1a. Downloading DOSBox

Navigate to the official DOSBox download page

from selenium import webdriver
from selenium.webdriver.chrome.options import DesiredCapabilities
from selenium.webdriver.common.proxy import Proxy, ProxyType
import time
co = webdriver.ChromeOptions()
co.add_argument("log-level=3")
co.add_argument("--headless")