When writing a program in Python

Python program

I feel that more and more people are writing Python programs these days. I like Python because it's easy to program and maintain. It is also attractive that there are many libraries. It's great that you can install it quickly with pip.

As soon as the version of PHP changes, it will not work, so you have to recreate the development environment at that time! Even the compiler for windows is no longer sold. .. .. The worst development environment. I don't want to get involved again.

** But with Python it doesn't matter! !! ** **

You can always create the environment at the time of development quickly. No, it ’s wonderful! !!

However, there are many people who cannot use it conveniently, so I will write a word!

Be careful when installing with pip!

When writing a program in Python, there are cases where various things are installed with pip. I think that SoftLayer CLI etc. will also be installed with pip. But don't think about anything

shell


#pip install softlayer

If you do it, you'll see it later! It's a world unrelated to people who like to fix strange errors or stuck. ..

If you touch the code in python, don't think about anything and use virtualenv! Otherwise, you will get strange errors and at worst it will not work.

When you execute it, please execute the command after entering the virtual environment with workon!

shell


(softlayer)....#pip install softlayer

I think that the screen looks like this with () in front of the terminal.

This will give you a happy Python life! !!

By the way, I think that there will be a lot of information on how to set virtualenv if you try google, so I will omit it here!

Recommended Posts

When writing a program in Python
A memorandum when writing experimental code ~ Logging in python
I made a payroll program in Python!
Precautions when pickling a function in python
[Tips] Easy-to-read writing when connecting functions in Python
A program that removes duplicate statements in Python
Summary of points to keep in mind when writing a program that runs on Python 2.5
A simple Pub / Sub program note in Python
Split files when writing vim plugin in python
I made a Caesar cryptographic program in Python.
Take a screenshot in Python
Create a function in Python
Attention when os.mkdir in Python
Draw a heart in Python
I made a prime number generation program in Python
Write a super simple molecular dynamics program in python
Receive dictionary data from a Python program in AppleScript
Try embedding Python in a C ++ program with pybind11
Things to note when initializing a list in Python
What's in that variable (when running a Python script)
Use communicate () when receiving output in a Python subprocess
Maybe in a python (original title: Maybe in Python)
Write a binary search in Python
A Python program in "A book that gently teaches difficult programming"
A general-purpose program that formats Linux command strings in python
[python] Manage functions in a list
Precautions when using pit in Python
Hit a command in Python (Windows)
Create a DI Container in Python
Behavior when listing in Python heapq
Draw a scatterplot matrix in python
ABC166 in Python A ~ C problem
Write A * (A-star) algorithm in Python
Compatibility diagnosis program written in python
A memo when creating a directed graph using Graphviz in Python
I tried "a program that removes duplicate statements in Python"
[GCP] A memorandum when running a Python program on Cloud Functions
Solve ABC036 A ~ C in Python
Convenient writing method when appending to list continuously in Python
Write a pie chart in Python
Write a vim plugin in Python
Write a depth-first search in Python
Precautions when creating a Python generator
A memo of writing a basic function in Python using recursion
Implementing a simple algorithm in Python 2
Create a Kubernetes Operator in Python
Solve ABC037 A ~ C in Python
Run a simple algorithm in Python
Draw a CNN diagram in Python
Reading and writing text in Python
When creating a matrix in a list
Create a random string in Python
Schedule a Zoom meeting in Python
The story of writing a program
Settings when writing Google App Engine / Python apps in Intellij Idea
[Python] Execution time when a function is entered in a dictionary value
Timezone specification when converting a string to datetime type in python
[Python ORM] Notation when writing SQL using subquery in IN clause in SQLAlchemy
A program that determines whether a number entered in Python is a prime number
I get a can't set attribute when using @property in python
"Value Error: Unable to configure handler'file_output_handler'" when starting a python program