Differences
This shows you the differences between two versions of the page.
Last revisionBoth sides next revision | |||
doc:pycram:language [2021/07/02 12:09] – created jdech | doc:pycram:language [2021/07/02 12:09] – [Using the Plan Language] jdech | ||
---|---|---|---|
Line 13: | Line 13: | ||
The next thing you should keep in mind is that you can't directly execute the file which imports the macro of the plan language. Instead you have to create another file which imports the activation method of MacroPy and then executes the code in the file which contains the macro. This can then look like this: | The next thing you should keep in mind is that you can't directly execute the file which imports the macro of the plan language. Instead you have to create another file which imports the activation method of MacroPy and then executes the code in the file which contains the macro. This can then look like this: | ||
- | < | + | < |
import macropy.active | import macropy.active | ||
import demo | import demo |