This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
densi = int(input("\n原子番号:")) | |
tmp = densi | |
gensi = ["水素","ヘリウム","リチウム","ベリリウム","ホウ素","炭素","窒素","酸素","フッ素","ネオン","ナトリウム","マグネシウム","アルミニウム","ケイ素","リン","硫黄", | |
"塩素","アルゴン","カリウム","カルシウム"] | |
orbit_num = [2,2,6,2,6,2,10] | |
orbit_name = ["1s","2s","2p","3s","3p","4s","3d"] | |
orbit=[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RNA = input() | |
aminosan_list = { | |
"フェニルアラニン":["UUU","UUC"], | |
"ロイシン":["UUA","UUG","CUU","CUC","CUA","CUG"], | |
"イソロイシン":["AUU","AUC","AUA"], | |
"メチオニン":["AUG"], | |
"バリン":["GUU","GUC","GUA","GUG"], | |
"セリン":["UCU","UCC","UCA","UCG"], | |
"プロリン":["CCU","CCC","CCA","CCG"], | |
"トレオニン":["ACU","ACC","ACA","ACG"], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import os | |
#顔 | |
face_cascade_path = "haarcascade_frontalface_alt2.xml" | |
# カスケード分類器を作成 | |
face_cascade = cv2.CascadeClassifier(face_cascade_path) | |
# 保存先フォルダを作成 | |
if not os.path.exists("output"): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from twython import Twython, TwythonError | |
from requests_oauthlib import OAuth1Session | |
import urllib.request | |
import re | |
import time | |
import os | |
from glob import glob | |
import datetime | |
import emoji |
NewerOlder