xxxxxxxxxx
import pandas as pd
color_table = pd.read_table("/content/drive/My Drive/Site sharing/PSD Resources/Colors.txt")
print(color_table)
xxxxxxxxxx
# where f is the file alias
with open(r"path\to\file.txt", encoding='UTF8') as f:
contents = f.read()
print(contents)
xxxxxxxxxx
file = '/home/text/chapter001.txt'
f=open(file,'r')
data = f.read()
print('data =',data)