Difference between revisions of "4 Pycharm IDE programming"
(→Install the MicroPython plug-in) |
(→Run a file) |
||
Line 42: | Line 42: | ||
=Run a file= | =Run a file= | ||
+ | *Once the plug-in is installed, start it in the project. | ||
+ | ::[[File:Py10.png]] |
Revision as of 19:11, 18 February 2019
Contents
Install Python 3.7
- get Python, the latest version is (3.7, 11/08/2018)
- use Windows click here to download
- setup interface is as follows!
- the system already has Python.
Install the pycharm community version
- Get pycharm
- Using the Windows system click here to download the 2018 - version 2.3 (community free of charge)
- Tip: 2018.3.3 change is too big, do not use, wait for me to compile repair. (2019/01/13)
- Important note 1: program installation and project under Windows must be under the system disk (path should be consistent)
- Important clew 2, Linux system if there is a serial connection, please kindly check whether the serial port for the average user permissions, if not sure, please check this instruction ` usermod - a - G dialout Username && sudo reboot `, Username is to point to your user name, not a Username.
- When the installation is complete, open it. Press the default Settings to enter the following interface.
Create a new project
- Click Create New Project to bring up the following interface.
- If you do not have Python installed, here is the interface
- Finally, you can see that the project has been established and completed.
- Refer to the official documentation of pycharm for more methods
Install the MicroPython plug-in
- Note: it is now recommended to use the intellij-mpfshell-1.1.1.1.zip plug-in version instead of the older version
- releases in the release directory intellij micropython - 1.1.0. Zip the plugin file, and information about the plug-in inofficial introduction and official GIT
- Download good ` intellij micropython - 1.1.0 ` plug-in, where you know, into the JetBrains pycharm Community Edition of File - > Settings - > plugins - > Install plugins from disk
- Tip: I offer this plugin is a modified version at the bottom of the interface, and haven't access to the official store, so still and the original plugin name, therefore the IDE prompts plug-ins need to upgrade or other repair, will be replaced back to the original, in this case, it is good to ignore, then replace the plug-in names again issued can be directly connected to the Internet in the shop for download.
- Latest revision: the latest intellij-mpfshell-1.1.1.1.zip is now available, which differs from the specified version above in that it cleanness unnecessary information display, the connection is more stable, also applies to esp8266, and plans to launch the store in the future.
Run a file
- Once the plug-in is installed, start it in the project.