[1st] I tried to make a certain authenticator-like tool with python

Secondary development. Self-directed learning. g --- I'm thinking of making something like Authenticator with python I made it for the time being. This is also the first time

Next, instead of putting the key or username directly in the source I will prepare it to have a systematic feel.

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import tkinter as tk
import pyotp


totp = pyotp.TOTP('ZAQWSXCDERFVBGT') #Key value
totp.now()

#Create window and title with tkinter
#Specify window size
root = tk.Tk()
root.title(u"g_authentication_tool")
root.geometry("300x200")

#Label for display
Static1 = tk.Label(text=u'user1')
Static1.pack(side='left')

Static2 = tk.Label(text=totp.now())
Static2.pack(side='left')

root.mainloop()

Recommended Posts

[1st] I tried to make a certain authenticator-like tool with python
[5th] I tried to make a certain authenticator-like tool with python
[2nd] I tried to make a certain authenticator-like tool with python
[3rd] I tried to make a certain authenticator-like tool with python
I tried to make a periodical process with Selenium and Python
I tried to make a 2channel post notification application with Python
I tried to make a todo application using bottle with python
I want to make a game with Python
Python: I tried to make a flat / flat_map just right with a generator
I tried to make a traffic light-like with Raspberry Pi 4 (Python edition)
Try to make a command standby tool with python
I tried to draw a route map with Python
I tried to automatically generate a password with Python3
I tried to make a periodical process with CentOS7, Selenium, Python and Chrome
I tried to make a simple mail sending application with tkinter of Python
[Patent analysis] I tried to make a patent map with Python without spending money
I tried to make various "dummy data" with Python faker
[Python] When I tried to make a decompression tool with a zip file I just knew, I was addicted to sys.exit ()
I tried to make a stopwatch using tkinter in python
I tried to make GUI tic-tac-toe with Python and Tkinter
I tried to make a real-time sound source separation mock with Python machine learning
I tried a functional language with Python
I tried to make a Web API
Rubyist tried to make a simple API with Python + bottle + MySQL
I tried to make a regular expression of "amount" using Python
[Python] I tried to implement stable sorting, so make a note
I tried to make a regular expression of "time" using Python
[Python] A memo that I tried to get started with asyncio
I tried to create a list of prime numbers with python
[Introduction] I want to make a Mastodon Bot with Python! 【Beginners】
[Python] Simple Japanese ⇒ I tried to make an English translation tool
I tried to make a strange quote for Jojo with LSTM
I tried to make an image similarity function with Python + OpenCV
I tried to make a mechanism of exclusive control with Go
[1 hour challenge] I tried to make a fortune-telling site that is too suitable with Python
I tried to make a generator that generates a C # container class from CSV with Python
I tried to get CloudWatch data with Python
Try to make a "cryptanalysis" cipher with Python
I tried to output LLVM IR with Python
I tried to automate sushi making with python
Try to make a dihedral group with Python
I tried running alembic, a Python migration tool
I want to write to a file with Python
I tried to make a ○ ✕ game using TensorFlow
I tried to communicate with a remote server by Socket communication with Python.
I made a tool to automatically browse multiple sites with Selenium (Python)
I tried to create a program to convert hexadecimal numbers to decimal numbers with python
I tried to make a calculator with Tkinter so I will write it
[AWS] [GCP] I tried to make cloud services easy to use with Python
I tried to discriminate a 6-digit number with a number discrimination application made with python
[Outlook] I tried to automatically create a daily report email with Python
I tried to build a Mac Python development environment with pythonz + direnv
A note I looked up to make a command line tool in Python
[Zaif] I tried to make it easy to trade virtual currencies with Python
I tried to make a url shortening service serverless with AWS CDK
I tried fp-growth with python
I tried to make a "fucking big literary converter"
I tried scraping with Python
I tried to create a table only with Django
I tried to implement Minesweeper on terminal with python
I tried to get started with blender python script_Part 01