質問編集履歴

1

モジュールのインポート部分のコードを追加しました

2017/12/19 22:09

投稿

I_am_4a
I_am_4a

スコア21

test CHANGED
File without changes
test CHANGED
@@ -40,6 +40,38 @@
40
40
 
41
41
  ```Python
42
42
 
43
+ # -*- coding:utf-8 -*-
44
+
45
+
46
+
47
+ from twitter import *
48
+
49
+ import sys
50
+
51
+ import urllib
52
+
53
+ import urllib.request, urllib.parse
54
+
55
+ import demjson
56
+
57
+ import os
58
+
59
+ sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), os.pardir))
60
+
61
+
62
+
63
+ from discordWebhooks import Webhook, Attachment, Field
64
+
65
+
66
+
67
+ arg = sys.argv
68
+
69
+
70
+
71
+ # Some Programs...
72
+
73
+
74
+
43
75
  url = "https://discordapp.com/api/webhooks/*****/*****"
44
76
 
45
77
  method = "POST"