Hannari Python At the LT meeting in December, I made a presentation on "Python and Bayesian statistics".

This article is the 24th day article of Hannari [Python Advent Calendar 2020 --Qiita](https://qiita.com/advent-calendar/2020/hannari-python). The day before, @ masayuki14 said, "I started Kaggle, so

Think about architecture in python

## Introduction This article is the 24th day of the 2020 RevComm Advent Calendar. The day before was @ zoetaka38's "[Create a serverless API with Swagger with Serverless/Flask](https://qiita.com/zo

I tried LeetCode every day 121 Best Time to Buy and Sell Stock (Python, Go)

#### What is Leetcode [leetcode.com](https://leetcode.com/) This is the practice of coding interviews for software developers. A total of more than 1,500 coding questions have been posted, and it s

Creating an environment for OSS-DB Silver # 1_Create a Linux environment (CentOS7 virtual environment) with VirtualBox/Vagrant

# Introduction For learning OSS-DB Silver, we built an environment on a Windows PC. It is a record of the process. I can't find an article written by a programming beginner, probably because OSS-D

Exception handling using Python's ZeroDivisionError

# Introduction This time, the university report said, "Create some exception handling in Python!", So it's easy, but I created exception handling. I hope it will be helpful for those who are stuck w

Creating a python virtual environment on Windows

Create a virtual environment on Windows without using Anaconda. #### environment Windows10 home 64bit python:3.7.9 --- #### ① Install python on Windows Official Python site [Official Site](http

I implemented Python Logging

## Introduction I had the opportunity to implement Logging, so I'll summarize what I did. I used the print statement to check the process in a simple and debug-like manner, but I think that this im

Make it easy to install the ROS2 development environment with pip install on Python venv

# Introduction [ROS Advent Calendar 2020](https://qiita.com/advent-calendar/2020/ros) This is the article on the 22nd day. This year, ROS2 has become quite popular, and the transition to ROS2 has be

About the handling of ZIP files including Japanese files when upgrading from Python2 to Python3

# Introduction The other day I was involved in the task of raising the Python of the Django application from 2.7 to 3, but after releasing the Python3 source, the bug "** I can not download the file

Visualize long meetings in Python ~ Speaker identification by PyTorch ~

<font color = "Red"> 2020/12/26: Fixed because there was a mistake in preprocessing. At the same time, the silent part of the data set was deleted in advance. val_acc has improved a little to 91%. 2

[Python] Sort spreadsheet worksheets by sheet name with gspread

# background I write scraped data to a spreadsheet every day via gspread. The sheet name is the date of the data to be written (yyyy/mm/dd) If it continues to operate normally, the sheets should be

[Modint] Decoding the AtCoder Library ~ Implementation in Python ~

# 0. Introduction The official AtCoder algorithm collection [AtCoder Library](https://atcoder.jp/posts/517) (** ACL **) was released on September 7, 2020. I thought it was a good opportunity because

How to use Python with Jw_cad (Part 2 Command explanation and operation)

# How to use Python with Jw_cad (Part 2) [Part 1](https://qiita.com/maehira/items/e3455722548a9bcf068f) explains how to create and execute a .bat file for the external transformation function of Jw_c

Python + Selenium + Headless Chromium with aws lambda

I am making an application that periodically scrapes with Lambda and stores it in DynamoDB. If you google immediately, many articles will come out. Thank you. I was trying by referring to this art

Call a Python function from p5.js.

## Introduction --This article was written as the 21st day article of [ISer Advent Calendar 2020](https://adventar.org/calendars/4946). ## What is this article --For anyone who wants to call a Pyt

[Linux] I learned LPIC lv1 in 10 days and tried to understand the mechanism of Linux.

### Preface, notes ――For some reason, I learned LPIC 101 102 in a short-term intensive manner. ――I am learning with a feeling of grasping the concept, deepening my understanding of Linux rather th

Algorithm learned with Python 9th: Linear search

# #Algorithm learned in Python <Linear search> ## Introduction Implement the basic algorithm in Python to deepen your understanding of the algorithm. As the ninth bullet, we deal with linear search

Python numpy ignores very small values ​​and displays

``` python np.set_printoptions(precision=3, suppress=True) ```

[Python] I want to merge Excel files anyway (pandas.merge)

# Combine excel files I used the flow that I often used when I wanted to combine and concatenate Excel and CSV based on each specific column as a function. As a flow 1. Load the two Excel files y

A story I was addicted to when inserting from Python to a PostgreSQL table

# problem ```python import psycopg2 #DB connection information postgre_user_name = "admin" postgre_user_password = "password" postgre_server_port = 5432 postgre_database_name = "hogefuga" connection

Algorithm learned with Python 8th: Evaluation of algorithm

# #Algorithm learned in Python <Algorithm evaluation> ## Introduction Implement the basic algorithm in Python to deepen your understanding of the algorithm. The eighth is the evaluation of the algo

Memorize Python commentary 5 --Lists

`# A list stores values inside of the array. friends = ["Kevin", "Karen", "Jim"]` `# How can we access individual elements print(friends)` `# Refer to elements by their index. print(friends[0]) prin

Accelerometer Alan Variance Calculation in Python

# Alan distributed calculation in Python Alan dispersion is used to know the noise and bias characteristics of MEMS sensors such as angular velocity sensors. The sensor output obtained from the test

How to install wkhtmltopdf (Amazon Linux2)

I made a note because I stumbled on various things when I installed wkhtmltopdf in the Amazon Linux 2 environment on the container. Check the basic procedure below. https://laox.com/ja/9mcv Insta

EC2 (Amazon Linux) certbot-auto renew error /pkg_resources.DistributionNotFound: The'virtualenv == 15.1.0'

# Status LetsEncrypt certificate renewal error on EC2 server used since 2016 (certificate also used from 2016) * Since the same period, there is no problem with another server with almost the same

Let's observe the Python Logging cookbook SocketHandler

# Purpose In implementing logging using SocketHandlerL, I proceeded while observing packets with WireShark to understand the sample code of "Sending and receiving logging events over the network" des

Is the priority queue heapq in Competitive Pro (Python)? queue.PriorityQueue? Which one should I use?

There are two types of Python priority queues: I compared the speed. - heapq - queue.PriorityQueue # Introduction Glimpse, > class queue.PriorityQueue(maxsize=0) Priority queue constructor. maxs

Support for version upgrade migration of Amazon Linux, which is no longer supported (using Terraform)

# Purpose It will be soon, but by the end of 2020, Amazon Linux will expire and move to maintenance support. https://aws.amazon.com/jp/blogs/news/update-on-amazon-linux-ami-end-of-life/ > Maintenan

Competitive programming diary python 20201220

https://atcoder.jp/contests/abc186/ A - Brick ```py n, w = map(int, input().split()) print(n // w) ``` B - Blocks on Grid Match to the smallest number of all squares. Since it is an order of a

Git & Github & python & VScode Personal memorandum

It is a personal memorandum Git For Windows installation instructions https://opcdiary.net/technical/programming/%E7%A7%81%E5%AE%B6%E7%89%88-git-for-windows%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%8