Until dealing with python in Atom

I tried to handle python with Atom

Since I decided to study python this time, I will use python on my laptop I will make it possible to handle it, so I will summarize it! : yum:

1. Install python3

First, let's install python3!

: point_down_tone2: You can download it from this site. https://www.python.org/downloads/ Press the button labeled Download Python in yellow and it's OK!

1.PNG

Once downloaded, follow the steps to install!

I skipped this step without knowing that I needed this Trial and error in Atom: persevere: That's why python can't work (laughs)

2. Pass the Python environment variable Path

To be honest, it was difficult around here (laughs): relaxed:

For windows10, if you enter "environment variable" in "cortana" "Edit system environment variables" will appear, so go there.

Click "Environment Variables" in "Detailed Settings" to click "User environment variable of user name" and "System environment variable" Since it will appear, click "Path" in "System Variables" Click "Edit". "New" and reinstalled Enter the python path.

Probably the default C: \ Users \ "username" \ AppData \ Local \ Programs \ Python \ Python38-32 I think it is in (your user name is your user name).

You should now have passed the environment variable Path. As a test, if you enter "python" at the command prompt and various things come out The environment variable Path passes!

3. Install Atom

Finally Atom is installed. : grin:

: point_down_tone2: You can download it from this site. https://atom.io You can download it by clicking the button labeled "Download".

Once downloaded, follow the steps to install!

Once installed, the code cannot be executed as is. : disappointed_relieved: I didn't know this and tried and errored for a long time (laughs)

Click "Setting" of "File" on the menu bar, and click "Install". Choose. Then, in "Install Packages" There is a place where "Search paccages" is written, so there Enter atom-runner.

"atom-runner" will appear, so install it. You can now run python on Atom! : joy: When executing with atom-running, it can be executed with "alt" + "r" keys.

I got an error (crying)

I made it possible to execute python with Atom, but in the program When I used "input" I got an error and couldn't run: sob:

When I tried it at the command prompt, it ran without problems, so From now on, when I execute it, I will do it at the command prompt (laugh) (You can also get the command prompt by searching cortana.)

By the way, to execute at the command prompt, there is a file you want to execute Go to the directory ("cd folder path") and "python filename" You can do it with. Create the file to be executed with the extension ".py": kissing_smiling_eyes:

the end

I'm a person who doesn't have much knowledge, so it's an article that anyone can see I think it became (laughs)

This time there is a code that throws an error in Atom and the command prompt I ran it in, but I'd like to write another article if I find out how to improve it: relaxed:

Recommended Posts

Until dealing with python in Atom
Tips for dealing with binaries in Python
Dealing with "years and months" in Python
Python programming with Atom
Precautions when dealing with control structures in Python 2.6
Character encoding when dealing with files in Python 3
[Python] Dealing with multiple call errors in ray.init
Scraping with selenium in Python
Working with LibreOffice in Python
Scraping with chromedriver in python
Debugging with pdb in Python
Working with sounds in Python
Scraping with Selenium in Python
Scraping with Tor in Python
Tweet with image in Python
Combined with permutations in Python
Precautions when dealing with ROS MultiArray types in Python
Japanese output when dealing with python in visual studio
Number recognition in images with Python
Testing with random numbers in Python
GOTO in Python with Sublime Text 3
Working with LibreOffice in Python: import
CSS parsing with cssutils in Python
Until you put Python in Docker
Numer0n with items made in Python
Open UTF-8 with BOM in Python
Use rospy with virtualenv in Python3
Use Python in pyenv with NeoVim
Heatmap with Dendrogram in Python + matplotlib
Read files in parallel with Python
Password generation in texto with python
Until you run python with apache
Prepare Python development environment with Atom
Get started with Python in Blender
Working with DICOM images in Python
How to not escape Japanese when dealing with json in python
Write documentation in Sphinx with Python Livereload
Get additional data in LDAP with python
Spiral book in Python! Python with a spiral book! (Chapter 14 ~)
Stress Test with Locust written in Python
Python3> in keyword> True with partial match?
Exclusive control with lock file in Python
Device monitoring with On-box Python in IOS-XE
Try working with binary data in Python
Draw Nozomi Sasaki in Excel with python
Page cache in Python + Flask with Flask-Caching
Post Test 3 (Working with PosgreSQL in Python)
How to work with BigQuery in Python
Playing card class in Python (with comparison)
Follow Python style guides with Atom (flake8)
Process multiple lists with for in Python
Replace non-ASCII with regular expressions in Python
Connect with mysql.connector with ssh tunnel in Python 3.7
One liner webServer (with CGI) in python
Get Started with TopCoder in Python (2020 Edition)
Easy image processing in Python with Pillow
To work with timestamp stations in Python
Call APIGateWay with APIKey in python requests
Until you can use opencv with python
Read text in images with python OCR
Introduced sip-4.14 in python3.2.2 environment with MacOS 10.7.4