Run python with PyCharm (Windows)

Purpose of this document

Install PyCharm and make sure python works.

Advance preparation

  1. python is already installed

environment

Windows7  64bit

Install PyCharm

https://www.jetbrains.com/pycharm/download/#section=windows Download PyCharm. Download the Community version because the purpose is to run python.

図2.png

After the download is complete, start the installer shown below. 図3.png

Startup screen 図1.png

You will be asked where to put the configuration file. There is no problem if you proceed as it is. 図4.png

You need to check Create associations. PyCharm will read the extension ".py". 図5.png

You will be asked where to put the launch icon. There is no problem if you proceed as it is. 図6.png

Finish completes the installation. 図11.png

Run python inside PyCharm

Since the icon is not created on the desktop, search for the start icon with "JetBrains PyCharm Community Edition" from the Windows key and start it.

Startup screen. If you have an existing package that handles python files, select the package from "Open". This time, select "Create New Project" to create a new one. 図7.png

You will be asked where to create the python file and which python to use. This time, I created it as "untitled". 図8.png

After selecting Create, the folder you just created is displayed. image

To create a python file, right click on the folder "untitled" in the creation location Select "New"-> "Python File". 図10.png

Decide a file name and create a file. (This time test.py) 図12.png

After selecting OK, test.py was created under the folder and can be written on the right side of the screen. 図13.png

Traditional Hello World syntax 図14.png

To run python, select the file you want to start from "Run"-> "Run ..." at the top of the screen. Choice. 図15.png

"Hello World!" Is displayed at the bottom of the screen, and you can confirm that it is moving. 図16.png

Recommended Posts

Run python with PyCharm (Windows)
Run servo with Python on ESP32 (Windows)
Run Python with VBA
Run prepDE.py with python3
Run Blender with python
Python starting with Windows 7
Run iperf with python
Run Openpose on Python (Windows)
Run Python with CloudFlash (arm926ej-s)
Let's run Excel with Python
Run Label with tkinter [Python]
Use Python on Windows (PyCharm)
Time synchronization (Windows) with Python
Run DHT22 with RasPi + Python
Run a Python file with relative import in PyCharm
Face detection with YOLO Face (Windows10, Python3.6)
Run Rotrics DexArm with python API
Run mruby with Python or Blender
Run SwitchBot on Windows 10 with Bleak
Run XGBoost with Cloud Dataflow (Python)
Run Aprili from Python with Orange
Build mlpy with python3.3 (64bit) (windows 64bit)
Run python3 Django1.9 with mod_wsgi (deploy)
Use Windows 10 speech synthesis with Python
Until you run python with apache
Getting started with Python 3.8 on Windows
[Python] Creating multiple windows with Tkinter
[Python Windows] pip install with Python version
FizzBuzz with Python3
Scraping with Python
Statistics with python
Python on Windows
Scraping with Python
Python with Go
python windows environment
How to use Cmder with PyCharm (Windows)
Twilio with Python
Building a Python 3.6 environment with Windows + PowerShell
Integrate with Python
Python installation (Windows)
Play with 2016-Python
AES256 with python
Tested with Python
Develop Windows apps with Python 3 + Tkinter (Preparation)
python starts with ()
with syntax (Python)
Bingo with python
Zundokokiyoshi with python
Run a Python web application with Docker
Run (legacy) Windows apps with Windows Application Driver
Excel with Python
Microcomputer with Python
Cast with python
Rock-paper-scissors with Python Let's run on a Windows local server for beginners
Install and run Python3.5 + NumPy + SciPy on Windows 10
Put MicroPython on Windows to run ESP32 on Python
Building a Python environment with WLS2 + Anaconda + PyCharm
Python (Windows 10) Virtual Environment / Package with VS Code
GUI automation with Python x Windows App Driver
Install OpenCV 4.0 and Python 3.7 on Windows 10 with Anaconda
Python> Run with run-time arguments> Use import argparse