Someday, Somehow, Someone's....
Special Thanks https://ch.nicovideo.jp/ebayan-blog/blomaga/ar1901577
Someday, Somehow, Someone's....
Special Thanks https://ch.nicovideo.jp/ebayan-blog/blomaga/ar1901577
import twitter | |
from pprint import pprint as pp | |
from time import sleep | |
# 1. twitterから全ツイートを取得する | |
# 2. grep \#ガンバリ事務次長 tweets.csv | grep IFTTT | cut -d ',' -f 1 | tr -d \" > gambari.txt | |
# 3. このスクリプト実行 | |
# twitterのアクセスキー等を設定する | |
auth = twitter.OAuth(consumer_key='', |
echo "scale=2036; sqrt(2016)"|bc | tr -d "\n"| tr -d '\\'| cut -c 4- | cut -c 2016-2035 |
__author__ = 'KIM_TPDN' | |
from logitechlcd import LogitechLcd | |
from time import sleep | |
if __name__ == '__main__': | |
lcd = LogitechLcd('朝鮮民主主義人民共和国') | |
lcd.set_text(0, '文字数は全角1文字=半角2文字') | |
lcd.set_text(1, '換算で、1行あたり半角29文字') | |
lcd.set_text(2, '文字数が一定を超えるとはみ出る') | |
lcd.set_text(3, '김정일 【ハングル対応】金正日') |
ユンケルスター
薬局名 | 税抜 | 税込 |
---|---|---|
桜ウエルシア | 2980 | 3218 |
桜カワチ | 2839 | 3066 |
デイズサンドラッグ | 2829 | 3055 |
駅イオン | 2839 | 3063 |
駅コクミン | 2362 | 2550 |
from urllib2 import urlopen | |
content = urlopen('http://www.ugtop.com/iphone/spill.shtml').read() | |
print(content) |
あ”! |
#pythonのmarkdownのtableをbootstrap対応にしてみる | |
#例: | |
#table = etree.SubElement(parent, 'table', {'class':'table'}) | |
#class='table'表記はclassが予約語なのでアウト | |
import markdown.extensions.tables as t | |
class TableProcessor(t.TableProcessor): | |
cssclass='table table-striped table-bordered' | |
def run(self, parent, blocks): |
all: | |
platex tech-jsample | |
platex tech-jsample | |
platex tech-jsample | |
dvipdfmx -p a4 tech-jsample | |
clean: | |
/bin/rm -f *~ *.log *.dvi *.blg *.aux *.out *.bbl tech-jsample.pdf |