I wrote a single python file that should create a csv file in the local directory when executed. The python file does not create a csv file in the local directory, even though execution completes successfully. My code and output screenshot are included below:
from selenium import webdriver
from bs4 import BeautifulSoup
import pandas as pd
import os
def web_scraper(self):
os.chdir(r"/Users/bsulin/PycharmProjects/StockNewsWebScraper/")
print("Hi print")
return("Hi return")