全体で統一されていればどちらでもよい。
「である調(常体)」の語尾は簡潔で説得力を持っている。
「ですます調(敬体)」は、柔らかく丁寧な印象を与える。
文字数に差が出るので、文字数制限内でよりPRしたければ常体を使うという手もある。
統一しなければならないのは文体に限らず、名詞や動詞においても同じことが言える。
| # -*- coding: utf-8 -*- | |
| import cv2 | |
| import glob | |
| import math | |
| import os | |
| import subprocess | |
| import sys | |
| diff --git a/client.py b/client.py | |
| index f832efc..18e44e0 100755 | |
| --- a/client.py | |
| +++ b/client.py | |
| @@ -117,6 +117,7 @@ class Client: | |
| """ | |
| def __init__(self, *, loop=None, **options): | |
| self.ws = None | |
| + self.email = None | |
| self.loop = asyncio.get_event_loop() if loop is None else loop |
| # -*- coding: utf-8 -*- | |
| import base64 | |
| import hashlib | |
| from Crypto import Random | |
| from Crypto.Cipher import AES | |
| from Crypto.Util import Padding | |
| class AESCipher(object): | |
| def __init__(self, key): | |
| self.key = (hashlib.md5(key.encode('utf-8')).hexdigest()).encode('utf-8') |
| # -*- coding: utf-8 -*- | |
| import hashlib | |
| import json | |
| import requests | |
| import random | |
| import string | |
| class TempMail: |
| <?php | |
| /** | |
| * PHP API Wrapper for temp-mail.org service | |
| * | |
| * Copyright (c) 2018 LOZTPX | |
| * | |
| * | |
| * The MIT License (MIT) | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a |
| // ==UserScript== | |
| // @name LINE Theme Downloader | |
| // @namespace https://twitter.com/A90 | |
| // @version 0.1 | |
| // @description Add download button to LINE STORE | |
| // @author LOZTPX | |
| // @match https://store.line.me/themeshop/product/* | |
| // @grant none | |
| // ==/UserScript== |
| # -*- coding: utf-8 -*- | |
| from bs4 import BeautifulSoup | |
| import requests | |
| username = 'sXXXXXXX' | |
| password = 'PASSWORD' | |
| print('Signing in to TGWIFI...') |
| // ==UserScript== | |
| // @name LINE Sticker Downloader | |
| // @namespace https://twitter.com/A90 | |
| // @version 0.1 | |
| // @description Add download button to LINE STORE | |
| // @author LOZTPX | |
| // @match https://store.line.me/stickershop/product/* | |
| // @grant none | |
| // ==/UserScript== |
| import base64 | |
| import json | |
| import msgpack | |
| import os | |
| import rijndael | |
| def new_key(): | |
| return base64.b64encode(os.urandom(24)) | |
| def clean_udid(s): |