Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

No support for python 3.6's f strings #7

Open
jivanyatra opened this issue Aug 15, 2018 · 2 comments
Open

No support for python 3.6's f strings #7

jivanyatra opened this issue Aug 15, 2018 · 2 comments

Comments

@jivanyatra
Copy link

The editor does not support syntax correction for python 3.6's new f strings.

s = f"The date and time is: {datetime.datetime.now()}"

shows an error: "invalid syntax (, line 1)"

This is also the case for the AWS version of cloud9.

@nightwing
Copy link
Member

In preferences>project settings there is python support section, and there is python version setting in it.
It is 2 by default. change it to 3.6

@jivanyatra
Copy link
Author

jivanyatra commented Aug 16, 2018 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants