Introduction‎ > ‎

News

EV3dev Python v2 is out!

posted 5 Oct 2018, 12:07 by Nigel Ward

It is so superior to version 1 that this new website has been created for the new version. Read about the improvements and how to modify your version 1 scripts to take advantage of the new features HERE.

Great new EV3 Python programming workflow!

posted 17 Jun 2018, 07:01 by Nigel Ward   [ updated 17 Jun 2018, 07:01 ]

Since May 2018 a fabulous new way of writing and running EV3 Python programs has become available! The new workflow has many advantages over all previous workflows. Click HERE to learn about the new workflow which is based on the free code editor Microsoft Visual Studio Code (VS Code) which is compatible with Windows, Mac OS and Linux.

Possible bug in MobaXTerm or Brickman?

posted 24 Mar 2017, 16:53 by Nigel Ward   [ updated 25 Mar 2017, 09:31 ]

I have recommended MobaXTerm Free Edition on this website but have recently become aware of a possible bug in the way that MobaXTerm and Brickman interact. That bug could be in either MobaXTerm or Brickman - more likely Brickman since it is still officially in a pre-release phase. If, in MobaXTerm, you use the 'Create New File' button in the SFTP sidebar or if you right-click the sidebar and choose 'New Empty File' to create a new python file then you can edit that file (including putting the shebang in the first line of the file) and make it executable but I believe the file cannot be opened correctly in Brickman until the EV3 brick has been restarted. Instead, a tiny text message flashes briefly on the LCD screen - it says something like 'Bad interpreter. Text File Busy.' The same file can be launched fine from the terminal or on the computer (using RPyC) - it is only when you try to run it from Brickman that this problem is apparent. 

If you experience this problem then simply create new python files some other way:
  • On the terminal you can create a new python file in the current folder with, for example, nano filename.py   (use the file name of your choice).
  • If you are using a python IDE on the computer (using RPyC to enable the running of the script in the computer in such a way that it appears to be running on the EV3) then use the IDE to make the new file. If you have mapped the EV3 to a Windows drive letter with SFTP Net Drive Free then you can save the new file directly to the EV3.
  • On my Windows 10 PC, if I right-click inside a file listing in Windows Explorer I can choose New>Python file. I don't suppose this is default behavior in Windows 10 and I don't know which app on my PC made this available. 

1-3 of 3