MahmoudAbdelRahman / GH_CPython

CPython plugin for Rhino-Grasshopper
BSD 2-Clause "Simplified" License
175 stars 38 forks source link

[BUG] Invalid syntax caused by spaces in function name #50

Open Erythritee opened 1 year ago

Erythritee commented 1 year ago

Traceback (most recent call last): File "C:\GH_CPython\PythonFileWritten1.py", line 1, in exec('output = None\n_input = Referenced Mesh (V:152257 F:50991) \n\nclass fileInfo:\n def init(self):\n self.filePath = "E:/ZJJ/地形分区快/unnamed.gh"\n self.fileName = "unnamed"\nghenv = fileInfo()\n\n\n') File "", line 2 _input = Referenced Mesh (V:152257 F:50991) ^ SyntaxError: invalid syntax

image