Memorandum (conceptual design and program division)

** You can automate it with python, right? Nice to meet you, so I'll do my best Record Part 4 ** 2020/9/25 revised The content has changed to something completely different. A problem occurs and I

String summary 1

# String -Python has str type as the data type that handles character strings. # String arithmetic ``` a="note" b="book" a+b ``` #### **`Execution result`** ```text "notebook" ``` # Output elemen

Notes for setting up pydicom on macOS

[Official setup procedure](https://pydicom.github.io/pydicom/stable/tutorials/installation.html) has a part that assumes a Debian-based Linux environment, so the procedure when setting up on macOS Le

Fold Pytorch Dataset in layers

When N-folding an existing `Dataset`, 1,2, ... N, 1,2, ..., N, 1,2, ..., N, 1,2 ,. .. and split the dataset. It is used to prevent the data from being biased to a specific month or season when dividi

How to check / extract files in RPM package

### Use scene * If you want to check the files in the rpm package. * If you want to retrieve the files in the rpm package without installing them. ### Execution command --rpm2cpio = Command to con

Make the model a string on a Django HTML template

I had been worried about it for a long time, and I was trying to compare the people who handed it over to the template in the dictionary type, but it didn't work. I finally solved it. The solution

Register / update / acquire using GAE (Python3) Cloud NDB.

# Purpose of this time GAE (Python3) enables data registration update / acquisition using Cloud NDB. Basically, use [github samples](https://github.com/GoogleCloudPlatform/python-docs-samples). Thi

Aiming to acquire E qualification ~ Part 1

E I am posting irregularly to get my qualification. ## Status --Reading Chapters 1 to 7 of Deep Learning from scratch, Chapter 8 halfway --Learning Chapter 2 of Deep Learning from scratch --Take

Codeforces Round # 486 (Div. 3) Bacha Review (9/23)

# This time's results ![スクリーンショット 2020-09-23 16.46.13.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/331393/cb8971a4-894e-4371-1850-a4ff4d31e520.png) # Impressions of this t

Codeforces Round # 671 (Div. 2) Bacha Review (9/22)

# This time's results ![スクリーンショット 2020-09-22 12.58.55.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/331393/0957d36f-5d54-5007-8580-874d70b3d381.png) # Impressions of this

Data cleansing 3 Use of OpenCV and preprocessing of image data

[Aidemy](https://aidemy.net) 2020/9/23 # Introduction Hello, it is Yope! I'm a liberal arts college student, but I'm interested in the AI field, so I'm studying at the AI-specialized school "Aidemy".

The story that Japanese output was confused with Django

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/76504/ede49923-fcd5-47c4-c353-2a472c5adea9.png) For the time being, I was using Django to output from the DB, but it doesn't

[Voice analysis] Collect bird song data with xeno-canto

## What is [xeno-canto](https://www.xeno-canto.org)? Bird bark database. There is [API](https://www.xeno-canto.org/explore/api) that can be handled by json. This time, I used Python to collect all t

Comprehension notation

# Comprehension notation Python has a notation called comprehension. Comprehension is synonymous with list comprehension. There are three types, but I will explain from the list comprehension. A

Machine Learning: Supervised --Linear Discriminant Analysis

# Target Understand Fisher's linear discriminant analysis with mathematical formulas and try it with scikit-learn. It is assumed that you have already learned calculus and linear algebra. # theor

I wrote the stack in Python

What is a stack in the first place? Yes, store and retrieve data. That's all. However, I want to be able to retrieve the last stored data first. Σ(oдΟ;) For example, as shown below, while stackin

Measure SIM signal strength with Raspberry Pi

## Overview It became necessary to measure the radio wave strength of the place where the radio wave reaches the limit with LTE SIM communication, and first I measured the radio wave strength of SIM

Scraping with selenium

# Scraping dynamically written sites with selenium If it is a site written in JS etc., you may not be able to scrape it with Beautiful Soup. Selenium can be used in such cases. ## Get chrome drive

INSERT into MySQL with Python [For beginners]

◎ Refer to the following and try the connect to DB and SELECT statement. Package uses mysqlclient [How to connect to MySQL with Python [For beginners]](https://techacademy.jp/magazine/18691) If y

Mount image data containing multiple partitions

# Mount image data containing multiple partitions ## Sample to mount image data containing multiple partitions and check the contents Here is an example of mounting the second partition of image da

[Tweepy] Re: Twitter Bot development life starting from zero # 1 [python]

# at first We will proceed on the assumption that the installation of tweepy has already been completed. * Mainly beginners with several months of programming experience. The lack of knowledge may

Guarantee of reproducibility with keras (as of September 22, 2020)

# Introduction When reproducing learning with keras, the information that comes out first when searching and the official Japanese document is the old version method, and now the method is changed, s

What to do with Magics install

# I couldn't find a solution ## What is Magics Magics is ECMWF's weather plotting software that can be accessed directly with python or with Metview. ## function It supports plotting of isobars,

[Python] Create multiple directories

# Introduction I found it cumbersome to create a directory for 15 lessons each time a university class started, so I decided to create multiple directories in Python. # code #### **`multiple_dir.py

USB boot on Raspberry Pi 4 Model B

The Raspberry Pi 4 has a microSD card slot, and it seems that the official usage is to insert a microSD card with Linux installed in it. Although microSD has advantages such as low cost and low powe

[Various image analysis with plotly] Dynamic visualization with plotly [python, image]

# Let's analyze the image easily with plotly ![dd.gif](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/275572/2d3b3b41-f1e2-a36b-3fcc-0db5838d6ef5.gif) # environment python=

[python] What to do when an error occurs in send_keys of headless chrome

When running chrome headless with python selenium, I got an error with send_keys, so I will write a method to deal with it. I got an error with send_keys even though I matched the versions of chrom

About the virtual environment of python version 3.7

> Command to install Python 3.7 series with anaconda ``` conda create --name "myenv" python=3.7 ```

Output the time from the time the program was started in python

It just prints the time from the time you start the program in python. #### **`test.py`** ```python #-*- using:utf-8 -*- import time if __name__ == '__main__': start_time = time.time()

GUI automation with Python x Windows App Driver

# [Introduction] Originally it seems that the plan was to have WinActor used in the field, I had a contract for a while, but I couldn't recover the investment, so I cut the entire budget of RPA incl