I tried to display the altitude value of DTM in a graph

# What is DTM Abbreviation for Digital Terrain Map. This time, we will use the DEM data acquired by a camera called HiRISE mounted on the Mars probe MRO. # What is HiRISE One of the cameras equippe

Updated "Introduction to Python Web Application Homebrew for Slow 3rd Year Web Engineers"

# Updated the book Updated Chapter "Allow multiple HTTP requests to be answered repeatedly" (https://zenn.dev/bigen1925/books/introduction-to-web-application-with-python/viewer/daemonize) .. If y

[Golang] Check if a specific character string is included in the character string

## Overview Make a note of how to check if a variable like the one below contains a particular string ```go package main func main(){ str := "abcde" } ``` Basically you will use the `strings`

How to utilize Python with Jw_cad (Part 1 What is external transformation)

# How to use Python with Jw_cad (Part 1) I'm designing building equipment (electricity) I draw blueprints using free software called Jw_cad. Basically, I want to work comfortably, so I want to red

python3: How to use bottle (3)

How to use template. Folder structure ```text $ tree . ├── template.py └── views └── sample.html ``` #### **`template.py`** ```py #! /usr/bin/python # # template.py # # Nov/12/2020 # #

Split screen into 3 with keyhac

Windows has a "snap function" that allows you to split the screen into two left and right (four when including the top and bottom) by pressing the Win key and the arrow keys at the same time. This t

AtCoder devotion memo (11/11)

I will resume the memo of devotion. I will summarize it in a more fragile way than usual articles, and I will review it as soon as I solve it. [AGC014C - Closed Rooms](https://atcoder.jp/contests/

Python conda on cygwin

I tried to set it referring to the following article, but it didn't work so I adjusted it. https://qiita.com/iiou16/items/d4b6ddb03e06f527759b Many people who are doing machine learning are not acc

I get "sanity check" and "No module" errors in import numpy

# Cause: The problem with the "sanity check" error is that the numpy version is 1.19.4. The problem with the "No module" error is that numpy is stored in a different location. # environment Window

How to convert / restore a string with [] in python

# Thing you want to do I would like to convert a string defined as'[1,2,3,4]' to a list. ```python >>> a = [1, 2, 3, 4] >>> a = str(a) >>> print(a) [1, 2, 3, 4] >>> print(type(a)) <class 'str'> ```

Summary of differences between systemctl start, stop, restart, try-restart, reload, reload-or-restart, reload-or-try-restart

The subcommand of `systemctl` is only around the service start / stop reload, and although there are strangely many prepared subcommands, there are many points that I do not understand because the im

Python pywin32 (win32com) Excel operation memorandum

## Introduction A non-programmer amateur To let Python do the boring things It is a memorandum when considering pywin32. Since it is a confirmation with a narrow usage range and a low usage fre

Add the attribute of the object of the class with the for statement

If you want to create multiple attributes of an object, you can use the built-in function setattr. There are three arguments: the object to which the attribute is added, the attribute name, and the

How to determine the existence of a selenium element in Python

If you use an element that does not exist in Selenium, you will get a Message: Unable to locate element: xxx error. I want to check the existence of the element in advance. Occasionally, I see a m

I tried to create a simple credit score by logistic regression.

# motivation In October 2019, SAS Japan invited us to a conference called "SAS Analytics Experience @ Milano", and Dr. Terisa listened to a lecture on Credit Score. ![集合写真.jpg](https://qiita-image-s

Things to watch out for when naming dynamic routing in nuxt.js

# Precautions when using the dynamic routing function of nuxt # Conclusion It is better not to name the page or directory you want to dynamically route with mixed capital letters # environment nuxt

python3: How to use bottle (2)

I made it possible to execute the snippet here. This is a sample login. [Docs »Tutorial](https://bottl-translate-ja.readthedocs.io/en/latest/01_1_tutorial.html) #### **`login.py`** ```py #! /usr

Try normal Linux programming Part 7

It seems to be a famous book so I bought it <a target="_blank" href="https://www.amazon.co.jp/gp/product/4797328355/ref=as_li_tl?ie=UTF8&camp=247&creative=1211&creativeASIN=4797328355&linkCode=as2&t

[For beginners] How to study Python3 data analysis exam

## ■ What is the Python3 data analysis test? Name: [Python 3 Engineer Certification Data Analysis Exam](https://www.pythonic-exam.com/exam/analyist) Summary: A test that asks the basics and methods

Python error: ModuleNotFoundError: No module named'flask'

When I connected with Heroku at the stage of creating LINEbot for the first time in a long time, I got the following error. `ModuleNotFoundError: No module named 'flask'` There are many errors of

Eliminate password entry when running sudo ~~ on Linux PCs!

If you have a privately owned Linux PC, you will want to sudo su. It's a hassle to search many times, so I'll leave it here as a memo. # Please I think that each individual uses a PC differently.

Python pandas strip header space

```python import pandas as pd data = pd.read_csv('Data/JP225_H1.csv') data.columns = [c.strip().lower().replace(' ','_') for c in data.columns] data = data.set_index(data.local_time) data = data[['o

Python pywin32 (win32com) Excel Range.Offset Range.Resize Range.Address

```py print( ws.Range("A1").GetOffset(3, 3).GetAddress(False, False) ) print( ws.Range("A1").GetResize(3, 3).GetAddress(False, False) ) ``` Offset -> GetOffset Resize -> GetResize Address

PUT gzip directly to S3 in Python

### Thing you want to do * CSV creation of data obtained from Oracle * Compress CSV to gzip format * Save the file directly to S3 ### Sample code #### **`lambda_function.py`** ```py import csv

Specify upper directory / subdirectory with relative import of Python

# Reference link |URL| |---| |https://note.nkmk.me/python-relative-import/|

Delete all unnecessary Gmail emails with API

I wrote a previous article, "Getting mail from the Gmail API using Python" (https://qiita.com/orikei/items/73dc1ccc95d1872ab1cf). As an extension of that, I tried to delete all past emails using API

Erase certain colors with OpenCV + PySimpleGUI

# Introduction In order to make effective use of OpenCV, it is necessary to produce the desired result not only by one process but also by multiple processes and combination with other packages. This

Create graph with plotly button

# Thing you want to do --Create a button in the graph and press the button to show / hide the plot --Change the graph title, y-axis label, etc. when the button is pressed # environment - Mac OS - p

Clone using the dd command

# I want to clone to a new HDD / SSD 1. Shrink the partition so that it fits in the new one with [Method in CUI required] such as gnome's disk manager. 2. Clone using `dd` ```console # dd if

Take a screenshot of the LCD with Python-LEGO Mindstorms

When writing articles using LEGO Mindstorms EV3 (hereafter EV3), images may be inserted. You may want to use the EV3 screen display to explain the situation, such as when connecting the EV3 via Bluet