You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to M PLUS plug-in Q&A forum
Hello M+ Support Team,
I recently started to use M+ along with Astah Pro and it has now become a MUST to use for my Java and Python projects :)
I noticed that the ".py" files being generated are containing reference to Python (i.e.: #!/usr/bin/env python) and I would like to get them to reference Python3 (i.e.: #!/usr/bin/env python3). I understand that I could do a global find-and-replace but I would like to know if there is a way to get them generated with the Python3 header?
Have a great day :)
Jean Lamontagne
M PLUS development team
unread,
Aug 29, 2019, 9:51:59 AM8/29/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to M PLUS plug-in Q&A forum
Hi Jean,
The released versions do not help you do what you want.
So we made a new version to help you. Please try this.
M PLUS 2.5.1
Download the plug-in from here and add it to Astah. We will add this version to the download page soon.
Open the configuration file (m_plus.conf) and add PYTHON_VERSION info. ex. PYTHON_VERSION=3.7
Generate code. The python version is output to the shebang line.
We hope this plug-in will be useful for your project.
jean.lamon...@gmail.com
unread,
Aug 29, 2019, 3:36:41 PM8/29/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to M PLUS plug-in Q&A forum
Thank you so much M+ Dev Team, this new version 2.5.1 is working as expected :)