Python
Writing to CSV
To write to a CSV file import csv header = ['name', 'area', 'country_code2', 'country_code3']...
Creating and calling a Function
Single Argument def AFunctionSample(SampleArg): print(SampleArg) AFunctionSample("Hello Wor...
Taking a screenshot
Full Screen import pyautogui pyautogui.screenshot("C:\\Users\\Nicholas Goh\\Desktop\\test.png...
Generating a Timestamp
To generate a timestamp from datetime import datetime TimeStamp = datetime.now().strftime("%Y...