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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -