Replies: 2 comments 2 replies
-
|
You have embedded it in an f string. The 3.10 version of Python, used in current Pythonista, does not allow quote marks of same type in the string. , so f””” is invalid. |
Beta Was this translation helpful? Give feedback.
-
|
That’s fair enough. I have never seen triple quoted strings in an f-string. I’d love a new version too. Would love scipy included! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
information_header = f"""Observed Body: {observed_body}
Observation time {observation_time} UTC
Calculation time {str(datetime.datetime.now(ZoneInfo('UTC')))} UTC
"""
The lines following the above code are highlighted as commented out, but it 'compiles' and runs OK.
Beta Was this translation helpful? Give feedback.
All reactions