Open oglops opened 1 year ago
In maya 2023 ( python 3.9) f-string is not working when using Send Python Code to Maya
Send Python Code to Maya
To Reproduce Steps to reproduce the behavior:
MC.commandPort(name=":7001", sourceType="mel", echoOutput=True) MC.commandPort(name=":7002", sourceType="python",echoOutput=True)
x=1 print(f"your value: {x}")
and error is
# Error: line 1: invalid syntax # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # File "<string>", line 3 # print(f"your value: {x}") # ^ # SyntaxError: invalid syntax #
Expected behavior print your value: 1
Screenshots N.A
Desktop (please complete the following information):
In maya 2023 ( python 3.9) f-string is not working when using
Send Python Code to Maya
To Reproduce Steps to reproduce the behavior:
and error is
Expected behavior print your value: 1
Screenshots N.A
Desktop (please complete the following information):