We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
% codon --version 0.15.5 % echo 'print("hello")' | codon run hello % echo 'print("{}".format(1.23))' | codon run <stdin>:1:7-24: error: 'str' object has no attribute 'format'
The text was updated successfully, but these errors were encountered:
Thanks for the report -- we do plan to add this in a future version. For now f-strings can be used as a workaround:
x = 1.23 print(f"hello {x:.6f} world") # hello 1.230000 world
Sorry, something went wrong.
I've experienced the same issue and appreciate the workaround. I'm hopeful that a permanent fix will be available soon.
Merging into #608 .
No branches or pull requests
The text was updated successfully, but these errors were encountered: