I want to open a github raw CSV file with the Python built-in open() function but I am getting a [Errno 2] No such file or directory error:
url = 'https://raw.githubusercontent.com//snowformatics//Bioinformatics//master//python_course092021//test_data//test.csv'
data = open(url, 'r')
With Pandas everything works:
df1 = pd.read_csv(url)
I want to avoid Pandas or urlopen because I am using it for a course and want to stick to built-in open() function. Any way to open an url with the Python built-in open() function?