[Linux / Ubuntu] Check GPU type (full name) [For people whose name is cut off]
With the `nvidia-smi` command, the name was interrupted in the middle and could not be confirmed, so make a note of how to check the GPU name in full. # General confirmation method The `nvidia-smi`
Building a pyhon environment without using Anaconda (with easy startup)
# Building a pyhon environment without using Anaconda (with easy startup) ·environment -Windows10 ### ---------- ↓ Procedure ↓ ----------- #### 1. Install python ↓ The following articles are the st
Search / list synonyms using Japanese WordNet
I have created code to search for and list synonyms using Japanese WordNet. # What is WordNet in the first place? Please refer to the following article. [Knowing Japanese WordNet](https://qiita.com
Combine PDF pages, copy and paste series immediately
# Combine PDF files I use PDF merging occasionally, so I can use it immediately for myself. Requires pip installation of PyPDF2. that's all. #### **`merge_pdf.py`** ```py import PyPDF2 #Combin
When changing the table name with flask_migrate
If you use flask_migrate to change the table name in your python code, be sure to do db migrate / db upgrade. For example ``` class User(db.Model): id = db.Column(db.Integer, primary_key=True)
Ask you guys! Are you a programmer! !!
First of all, one Python story to avoid violations of the rules. The decorator is just syntactic sugar. So ```python def printer(f): def decorator(*args, **kwargs): return f(*args, **kw
Unravel the mystery of matplotlib specgram
I would like to keep here the knowledge I gained when I wrestled with matplotlib specgram in my research. Mainly on the following topics: ――Why is the upper limit of the frequency of the graph hal
How to implement Scroll View in pythonista 1
# Introduction Like when you're scrolling through a map Display a part of a large image on the screen and scroll it. This can be implemented by using the scroll view of the ui library. # environm
[Data science memorandum] Handling of missing values [python]
# Check for missing values. Use the ** isnull () ** function. `` Variable to which DataFrame is assigned .isnull () `` True if missing values are included, False otherwise. # Check the number of
Create a company name extractor with python using JCLdic
TL;DR Create a morphological analysis (MeCab) based company name extractor in python using Japanese Company Lexicon. The environment assumes the following. ``` macOS Catalina Homebrew 2.7.1 python
VBA user tried using Python / R: String manipulation (continued)
# Introduction I am a VBA user who started studying machine learning. As a memorandum, I would like to summarize the Python / R grammar while comparing it with VBA. **table of contents** * [St
python xlwings: Find the cell in the last row
It is a method to get / assign the value of the last row with an element from a specific column with xlwings of python. It is also calculated even if a line without elements is inserted in the middl
A little bit from Python using the Jenkins API
The environment hasn't settled yet, so I wrote a little. The test class is underway. # I want to get some information about Jenkins In short, I want to be able to get information with ChatOps with
Streamlit prevents list initialization
# Introduction It is a memorandum. Please let me know if there is any other good way. # Main subject Streamlit makes it easy to create drawing apps. You can also immediately reflect the source co
Mastodon Bot Creation Memo: Part 4 Summary
# Synopsis With Mastodon, a normal toot, a bot that makes a specific reply when a specific word is included when it is replied, a cloud, or a person that automatically runs on the network not only o
Addictive points when displaying logs with Tk.text
# at first I found an unexpected trap when I was investigating a memory leak problem at work, so I will post it. I think it will be a bit random, but please forgive me. # environment OS:Windows10
Remote terminal RiT
# Introduction Introducing a remote terminal using UDP communication of MH Software & Service. Some factory control devices and image sensors support UDP output. The signals output from these devic
Effective Python Learning Memorandum Day 15 [15/100]
# Introduction The other day I learned about 100 Days Of Code, which was popular on Twitter for a while. The purpose of this article is to keep a record and output how much I, as a beginner, can gro
[Grasshopper] When creating a data tree on Python script
If you want to output in data tree format, you need to load the library and do some processing. ## ① Load the library Please read below. ```python import System import Grasshopper.Kernel.Data.GH_P
Pygame2 for Multi touch device
If python's pygame works on Android, try it until you can operate it with a button ... When I was researching, kivy was a UI design language, so I thought that I could make it for Android with pyga
[Golang] Command to check the supported GOOS and GOARCH in a list (Check the supported platforms of the build)
> I want to check the list of `$ GOOS` and` $ GOARCH` that can be specified when doing `go build` with the ** command **. Somehow, it seems that the OS and architecture that can be built (supported
Get an access token by OAuth authentication
I wrote a script to break through OAuth authentication in Python and get an access token. I would like to add explanations later. I referred to https://qiita.com/kai_kou/items/d03abd6012f32071c1aa
[Blender] Modeling tips Summary Mesh Modeling
# table of contents 30. Edit multiple objects at the same time 31. Insert edges between vertices 32. Slide the sides 33. Merge vertices 34. Automatically merge vertices that are close together
VBA user tried using Python / R: conditional branching
# Introduction I am a VBA user who started studying machine learning. As a memorandum, I would like to summarize the Python / R grammar while comparing it with VBA. **table of contents** -[Con
Error when building mac python environment
I summarized it because it was difficult to find out how to deal with the error that occurred when building the python environment on mac. I entered the following command in the terminal when insta
Japan prefecture API
I created an API to get data about Japan I love Japanese culture and people! https://japan-api.github.io/docs/ ### How it works --Build on Python & Flask --Hosted on Heroku --Most of the data co
Installation of Intel oneAPI Base Toolkit + HPC Toolkit (Intel Fortran) (Linux version)
# Overview Following the [previous article](https://qiita.com/implicit_none/items/620b440ba6d6167a1b73), we have summarized the procedure for installing the Linux version of Intel Fortran (to be exac
Former image processing engineer tried to solve Saizeriya's spot the difference with OpenCV
# Introduction Since I was making settings for image processing used for industrial machines in my previous job, I was curious about the algorithm of [Spot the Difference in Saizeriya](https://qiita
Color page judgment of scanned image with python
# Overview * The program is available at https://github.com/rennone/is_color_page. I am doing self-catering of books, and I have digitized more than 1000 books (mainly manga). Due to the size of
A story that struggled to handle the Python package of PocketSphinx
# What is Pocket Sphinx? Pocket Sphinx is a speech recognition engine that performs continuous speech recognition. It only supports English, so it doesn't seem to be suitable for Japanese. (** Ther