I am getting the following errors when trying to run a piece of python code:
import: unable to open X server `' @ error/import.c/ImportImageCommand/366. from: can't read /var/mail/datetime ./mixcloud.py: line 3: syntax error near unexpected token `(' ./mixcloud.py: line 3: `now = datetime.now()' The code:
import requests from datetime import datetime,date,timedelta now = datetime.now() I really lack to see a problem. Is this something that my server is just having a problem with and not the code itself?