This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Apr 30 10:58:53 2019 | |
""" | |
import logging | |
import os | |
import openpyxl | |
from openpyxl.styles import Alignment | |
from openpyxl.utils import get_column_letter, column_index_from_string |
This file contains hidden or 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
#コマンドライン引数で指定されたファイルを、ファイル名変換してからPW付で圧縮するバッチ | |
#ファイルを選択→バッチの上に持ってきてドロップすると、簡単に実行できる | |
#定数 | |
$now_yyyymmdd = (Get-Date).ToString("yyyyMMdd") | |
$sevenzip_path = "C:\Program Files\7-Zip\7z.exe" | |
$work_dir_name = "合体データ_" + $now_yyyymmdd | |
$result_file_name = $work_dir_name + ".zip" | |
$password = "114514" |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Aug 10 15:42:03 2019 | |
install command | |
pip install mysql-connector-python | |
document | |
https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html | |
""" |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sat Mar 9 16:28:14 2019 | |
@author: gologius | |
""" | |
from selenium import webdriver | |
import time |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Wed Apr 17 22:47:22 2019 | |
@author: gologius | |
""" | |
import os | |
PATH=r"sample" |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Apr 14 12:26:28 2019 | |
@author: gologius | |
""" | |
import datetime | |
import os | |
import pdf2image |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Nov 18 17:24:58 2018 | |
@author: gologius | |
""" | |
from googleapiclient.discovery import build | |
import requests | |
import urllib |
This file contains hidden or 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
ls -t /home/username/hogehoge/log | head -1 |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
import httplib2 | |
import base64 | |
import traceback | |
from googleapiclient import discovery | |
from oauth2client import client | |
from oauth2client import tools | |
from oauth2client.file import Storage | |
from email.mime.text import MIMEText | |
from email.utils import formatdate |
This file contains hidden or 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
Option Explicit | |
'セルを全て図形に変換する | |
Sub main() | |
Dim row As Long | |
Dim col As Long | |
Dim maxrow As Long | |
Dim maxcol As Long | |
'対象範囲指定 |
NewerOlder