Functions that can be used in for statements

Functions that can be used in for statements Python uses a for statement to iterate over. If you want to perform processing such as repeating by specifying the number of times, combine it with the

Text mining by word2vec etc. by python ([High school information department information II] teaching materials for teacher training)

# Introduction In the past article, I did a simple text mining based on the work of Aozora Bunko. https://qiita.com/ereyester/items/7c220a49c15073809c33 This time, I would like to use Word2vec to ex

Memorandum (difference between csv.reader and csv.dictreader)

** You can automate it with python, right? Nice to meet you, so I'll do my best Record Part 2 ** Used in record 1 (https://qiita.com/wellwell3176/items/8e9a31d1595cdde89498) I didn't understand "

[Python] Based on your favorite desktop image, let's automatically create a terminal / Vim / VS Code theme that suits your feelings with one command.

For example, like this ![91911058-435f2500-eceb-11ea-98c3-45ee1aab066a-min.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/257108/dba15946-8fd8-5b5e-d18a-f2d8bce48f3c.png) ![9217

Multi-stage SSH "holding private key locally" pattern and "holding on stepping stone" pattern

# Introduction There are many ways to set up multi-stage SSH if you google, but I stumbled upon the lack of information on the pattern of "having a private key on the platform", so I'll make a note

[Qualification] I passed LinuC Level 1, so I will write about how to study and how it was.

# [Qualification] I passed LinuC Level 1, so I will write about how to study and how it was. The other day, I took LinuC Level 1 and successfully passed both 101 and 102 exams, and I got LinuC Level

Build a simple WebDAV server on Linux

# Introduction I started thinking that I wish I could set up a file server more easily and quickly during the contest. The goal is an environment that can be quickly accessed by a client like WinSCP,

Memory Leak occurred after learning DQN with tensorflow == 2.0.0

# Introduction Recently, I implemented DQN used in research with some difficulty, and when I learned it, it was eating memory abnormally, and it took me a week to investigate the cause. I would like

I can't download images with Google_images_download

I wanted to do image recognition this time, so I decided to collect images using google_images_download. # Execution environment MacOS Google Chrome # Where it gets stuck [Tool "google-images-down

I want to set up a mock server for python-flask in seconds using swagger-codegen.

# Introduction Even though I'm not familiar with Web servers in my work We would like to introduce swagger-codegen to those who have been told to set up a web server for PoC (and in seconds). (It m

List of nodes in diagrams

# Introduction I started using diagrams, but I didn't understand the icon image, and when I searched the list, I couldn't find it, so I created the list myself. # List ## code <details> <summary>

Basic understanding of stereo depth estimation (Deep Learning)

I've summarized the flow of Depth (Disparity) estimation by Stereo Camera. See the previous article for general stereo matching https://qiita.com/minh33/items/55717aa1ace9d7f7e7dd <h1> Depth Esti

I get an error when I put opencv in pyautoGUI

# Overview To do RPA in python When using pyautogui There are times when you want to perform tolerances, grayscale recognition, etc. At that time, it will be necessary to insert opencv. However,

3. Natural language processing with Python 1-1. Word N-gram

* There are two methods for natural language processing. * The method of expressing words from statistical information is called "** count base **", and the method of neural network is called "** in

Use Psychtoolbox for low latency auditory stimulation from Psychopy (Audio)

Most of the options for audiovisual stimulation in neurophysiology are - Psychtoolbox - Psychopy (I have been using Psychopy recently). These libraries are not exclusive, and the use of the Psy

Memorandum (Countermeasures against Unicode Decode Error when reading CSV files)

** You can automate it with python, right? Thank you ~, so I'll do my best Record part 1 ** <details> <summary> ** ~~ Write only the conclusion first ~~ ** </ summary> When specifying with open (C

Extract edges with OpenCV (Laplacian, Sobel, Canny)

# Preprocessing of images used for machine learning In order for the computer to understand "what is in the image", the process of drawing the outline of the detection target and finding the feature

Django + Docker

# Introduction In this article, I will write about the errors that occurred in Django + Docker application development and how to deal with them. ERROR: No container found for web_1 I tried various

Write a depth-first search in Python

# Overview --I will write a depth-first search in Python for studying. --Depth-first search is used to calculate the route of a very simple maze. ――Since I was originally a graduate of a school in

Create a Django login screen

Last time, I felt like I couldn't register a new Staff because I didn't get the user information, so I will create a login screen. By logging in to the staff, we will create it in the staff app. M

Part 1 Running e-Gov using the SmartHR library kiji (e-Gov specifications)

# 1. 1. Introduction The library kiji built into SmartHR, a cloud personnel and labor software service, is an OSS created in Ruby, and anyone can obtain, modify, and redistribute it. [SmartHR kiji](h

Basics of Python x GIS (Part 2)

The first is <a href='https://qiita.com/chiefs_shio/items/ef86f89218865eb8bd4f'> here </a> Part 3 is [here](https://qiita.com/chiefs_shio/items/0efb5e21f718f5faf840) <a href='https://automating-gis

[WSL2] CentOS 8 VScode setting memo

> Operating environment #### **`PowerShell`** ```edita $ wsl --list --verbose NAME STATE VERSION * centos8 Running 2 ``` #### **`CentOS`** ```edita $ cat /etc/re

Problems and solutions when asked for MySQL db in Python 3

## problem `Pip install MySQL-Python` for installing` MySQLdb` is not compatible with Python3. * I try to execute ↓, ```python import ConfigParser ``` From Python3, it is ↓ (all lowercase lette

ModuleNotFoundError in Python: No module named story

# problem `pip install flask` throws a title error when ʻimport`. If anything, pandas also throws an error when ʻimport`. Run away, gyro! !! This is a stand attack! !! !! # spoiler It was Inksca

Django + Docker command

# Introduction In this article, I've summarized the commands used in Django + Docker development. startproject This is the command to start the project. #### **`terminal`** ```terminal #Build a

Save Pandas DataFrame as .csv.gz in Amazon S3

Note that I was a little addicted when trying to gzip the Pandas DataFrame and save it as a CSV file in an Amazon S3 bucket. ``` python import gzip from io import BytesIO import pandas as pd import

Put Python3 in Docker container of Amazon Linux2

```bash # docker run docker run -it --rm amazonlinux:2 bash ``` In the container ```bash yum update -y # install amazon-linux-extras install python3.8 -y # install devel # `amazon-linux-extras in

Python reference page

A list of web pages that I referred to when working with Python Python list comprehension https://note.nkmk.me/python-list-comprehension/ Basic type [Expression for arbitrary variable name in ite

Interactive plot of 3D graph

# Interactive plots in Jupyter Notebook I couldn't find a simple example, so I made it as a memo. See below for detailed instructions and setup. * [Create interactive 3D graphs on JupyterLab usi