Error running a Python script on the web via PHP -
i'm facing not understandable error when i'm launching python script on ftp server via php, following:
traceback (most recent call last): file "./data.py", line 9, in import urllib.request file "/home/www/urllib/request.py", line 88, in import http.client file "/home/www/http/client.py", line 1063 chunk = f'{len(chunk):x}\r\n'.encode('ascii') + chunk \ ^ syntaxerror: invalid syntax syntaxerror: invalid syntax
would have idea? have no clue this. i've checked out "http.client.py" can't find issue part of code.
many thanks
Comments
Post a Comment