User Guide

  • 10/28/2019
  • Public Content

This section contains steps to create a new Python* project from a code sample.
  1. Choose File > New > Project from the menu to start the new project wizard.
  2. Expand Intel Application Development and select Python Project. Click Next.
  3. In the Code Samples list, navigate to and select the code sample you want to use to create your project, for example Hello World.
  4. The sample project name is displayed in the New Project Name field. If you wish to change the name, type over the displayed name.
  5. Click Finish.
    Note: If you haven't yet configured your Python interpreter, you'll see a "Python not configured" message. At this point, you must select a Python interpreter and will be unable to run the project until you do so. Click Config first in PATH, then follow the steps to configure Intel Distribution for Python .
  6. Your project is created and built. Expand the project folder to see the Python project files. If Python is not yet configured, you'll see a "Python not configured" message in the project folder.
  7. Expand the src folder and double-click the main.py file to open it.
  8. If you see the Default Eclipse preferences for PyDev dialog:
    1. You can choose whether to wait for any ongoing build to finish before launching the application. Do one of the following:
      • To launch the application without waiting, select the Wait for ongoing build before launching check box.
      • To wait for the ongoing build before launching the application, clear the Wait for ongoing build before launching check box.
        Note: JDT/CDT may require a build to compile before launch. Leave this option cleared if you use one of these plugins and want to automatically build before launching.
    2. You can choose whether to automatically build the application before launching it. Do one of the following:
      • To launch the application without building, select the Build (if required) before launching check box.
      • To automatically build the application before launching it, clear the Build (if required) before launching check box.
        Note: JDT/CDT may require a build to compile before launch. Leave this option cleared if you use one of these plugins and want to automatically build before launching.
    3. You can choose whether to display these options each time the PyDev editor opens. Do one of the following:
      • To see this dialog each time the PyDev editor is opened, select the Re-check whenever a PyDev editor is opened check box.
      • To open the PyDev editor without opening this dialog, clear the Re-check whenever a PyDev editor is opened check box.
  9. Click OK to apply your changes.
  10. The main.py file opens. To run the project, click the green Run icon from the toolbar.
  11. In the Run As dialog box, make sure Python Run is selected, then click OK.
  12. The project runs. Results are displayed in the Console.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804