I have this piece of code in my script on my Windows PC. How can I do the equivalent in PythonAnywhere? Is 'cd' even allowed in PythonAnywhere?
try:
complete_string = "cd C:\\Users\\Raymond\\Desktop\\Chess Bot\\tensorflow_chessbot-chessfenbot && tensorflow_chessbot.py --url %s" % (url)
r = str(subprocess.check_output(complete_string, shell=True, timeout=60))
except:
print("No chessboard detected in image below.")
raise AssertionError