WEB application development using django-Development environment construction-
# Introduction I challenged a simple voting WEB application tutorial using django, which is one of the WEB application frameworks that is interested in WEB applications and can be easily created. ##
Create a model for your Django schedule
We will create an app to create a shift table. #### **`terminal`** ```django python3 manage.py startapp schedule ``` Add the app to your settings. #### **`config/settings.py`** ```python INS
How to deal with Django's Template Does Not Exist
TemplateDoesNotExist I got the above error when I ran the following code in Django. #### **`views.py`** ```python from django.template.response import TemplateResponse def product_list(request)
Line talk analysis with janome (OSS released)
# Introduction I have created a Python script that analyzes Line talk, so I will share it. There are many articles that analyze Twitter by natural language processing with janome, but I thought that
Implement the Django user extension and register the attached information
Last time, I was able to implement login and logout with the user that Django has. I did a lot of research to extend the user information from there, but in the end it often didn't work. Finally,
Gradient boosting tree modeling with xgboost
# What is a gradient boosting tree? One of the algorithms often used in data analysis competitions. Abbreviated as GBDT. G ・ ・ ・ Gradient = Gradient descent method B ・ ・ ・ Boosting = One of the e
Develop Windows apps with Python 3 + Tkinter (Preparation)
# Introduction Let's create a Windows GUI application using the standard Python library "[Tkinter](https://docs.python.org/ja/3/library/tkinter.html)". # Preparation ## Install eclipse This time
Overlay background diagram, contour diagram, vector diagram with python
# Thing you want to do In python, overlay 4 types of diagrams: background diagram, contour diagram, vector diagram, and color plot diagram. The background diagram uses shp files, contour diagrams, ve
[Python] Automatically generate an example animation list-like image.
<details> <summary> *** Click here for the anime list (updated 9/25) *** </ summary> <div> <details> <summary> *** 2021 Winter animation (as of 9/25) *** </ summary> <div> <img src="https://qiita-i
Building an HPC learning environment using Docker Compose (C, Python, Fortran)
I've always wanted to study HPC (High Performance Computing) once I got a GPU. However, building an environment is a very tedious task (in many ways). When I was wondering if I could easily build a l
Python Priority Queuing The mystery of the result of the heapify function that most people wouldn't be interested in
# Introduction I investigated the mysterious part of the behavior of the priority queue in Python. # Mysterious behavior <a href="https://qiita.com/ell/items/fe52a9eb9499b7060ed6"> Here </a>, when
Dijkstra's algorithm: I asked the problem of AOJ in Python based on the content of Kencho-san's article in the October issue of Software Design.
# Solved problem http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=DPL_2_A # Source + Note that the AOJ problem has a starting point specified + In the ant book, the flag was used to check
How to see the contents of the Jupyter notebook ipynb file
2020.09.20 Post ## necessity I often write code on a Jupyter notebook and say, "I want to copy the Jupyter code I made at that time!". It would be nice if the ipynb file happened to be under the di
Delete all libraries installed on pip with a single command
## Introduction Sometimes I want to delete all pip libraries, ```bash pip freeze > u.txt pip uninstall -r u.txt -y ``` Since it is troublesome to do, I thought about how to delete the library of on
AtCoder Beginner Contest 179 Review
# This time's results  # Impressions of this ti
[Selenium] Print without header and footer (forced) [Python / Chrome Driver]
# Do you operate the browser? Do you operate the same browser every day? Let's leave such browser operation to Selenium! By default, Google Chrome printing is set to display the header and footer
Template AtCoder ABC 179 Python (A ~ E)
# Summary Only A and B were solved. Performance has been declining recently. # problem https://atcoder.jp/contests/abc179 A. Plural Form  provides a functi
At the time of python update on ubuntu
update to python3.8 on ubuntu ``` sudo apt update sudo apt install python3.8 ``` After update, restart ubuntu. ``` sudo reboot ``` Then I got the following error ('ω') ``` System has not been
Create a simple textlint server
[textlint/textlint: The pluggable natural language linter for text and markdown\.](https://github.com/textlint/textlint) I will try to make inquiries with api. ## file organization Note that an
Study memo 1_eclipse (python) download, python execution, OpenPyXL download
★ 1 eclipse download This URL (https://www.sejuku.net/blog/73558) Start along with But https://mergedoc.osdn.jp/ Download "Eclipse 4.8 Photon" from It doesn't work unless Eclipse is started
Introductory table of contents for python3
I will summarize the introductory page of python. We recommend that you start from the front. # Part I [# 1 Learn basic knowledge](https://qiita.com/beatbox4108/items/165afa8017c51a9737d1 "# 1")
Shoot time-lapse from a PC camera using Python and OpenCV
# Introduction I decided to keep an ant. This is Camponotus japonicus. Nests and colonies will arrive on Wednesday. I want to observe them while I go to the laboratory! However, it is too inconvenie
Don't get angry with Git Bash's "stdout is not a tty"
# Introduction I've been worried about it for about a year, but I've just found a solution, so I'll report it. # phenomenon When I use redirects and pipes in GitBash, I get this message and it does
Try using [Tails], a purveyor of hackers (?), By USB booting.
# What is Tails -** Tracking measures ** can (probably) the strongest OS --All data can be deleted after use --By default, only tor browser can be used, and torproxy is set. --The Mac address will
Run Apache2 + WSGI + Flask
# environment * Sakura VPS (Ubuntu 18.04.2) * Python 3.6.9 * Apache2 # Setting setting file ``` /var/www/html/flask - Hello.py - test.wsgi /etc/apache2/sites-available - wsgi.conf ``` First of a
Redo everything for the Django login screen
I was researching various things from the function, but I made it by imitating it because it became difficult just to create a login screen. However, I recreated the project from scratch (laughs)
What is the difference between Unix and Linux?
It is often treated as ** Unix-like OS ** in the same category, but it is actually divided into two types, Unix-like and Linux-based, as shown below. --Unix: BSD, Solaris, AIX, HP-UX, Mac OS ...