我覺得一方面你有文章裡不少東西需要修正,另一方面常常大幅度改變網站主題對於瀏覽者而言也是種障礙。
還有現在開這種Blog真的只是自High跟別人可能找資料的時候不小心Google到爽一下而已。一坨人賴在社群網站上…建議也把文章連結丟上去看看,搞不好是能夠增加流量的。
因為我不喜歡這種平台,覺得一但串FB,會讓讀者有被查水表的問題
其實也是我想太多,擔心萬一有心人想人肉的情況
台灣酸民實在太多了
可是对接到 Java lang primitive type
还有残废的 subtyping 和 object trait
我只是看到 Twitter,lambda 竟然这么复杂写
我是說修改 TG Bot on Python 的 UI 欸
是說你知道python有 requirement.txt這東西嗎?
是說你知道python有 requirement.txt這東西嗎?
讀書會嗎?我的意思是可以進去觀望試試,能力有餘的話參加是不錯的。
雖然 python 的標準縮排是按 4 下 Space
def script(a):
print (a + "hello!")
script(byStarTW)`
import random
print(str(random.randint(0,1)), end=" ")
我記得我有一款還沒實驗過,它不是Open的,不過是Free
Media Composer First
剛才一知道今天星期五就馬上看見行事曆上一堆死線的記號。
算了…他那句話也算有道理。但是現在先救急,可能來不及馬上搞出錢弄好環境。
Um 我都是自幹的,因為內建的幾乎能肯定不符需求。
那你就試 OpenShot 吧,如果你是要時間軸剪輯的話
個人沒錢再買Adobe
考慮過威力導演,但怕買下去影像規格又升別的格式
最近找到三款合法且免費的軟體,但沒時間碰
我覺得偶爾也是要幫社內幹一點事情的啦 ._. 亂搞不優。
嗯 ...我可能要翻一下 Telepot 的說明文檔
那你不如直接看 telegram 的 web hook
...那會不會是因為一來是你在平日訂的,所以沒有週末問題,二來是住北部,所以寄送比較快
如果單純只想要得到 'name': 'hello' 的話
我查了一下 getUpdates 但還是不知道要怎麼應用
@bot.command(r'/admin')
async def admin(chat, match):
if not await isAdmin(chat.sender['id']):
logger.info("%s 查詢了管理員名單,遭到拒絕。", str(chat.sender))
await bot.send_message(logChannelID, str(chat.sender) + ' 查詢了管理員名單,遭到拒絕。')
await chat.send_text("存取遭拒。")
return
else:
logger.info("%s 查詢了管理員名單", str(chat.sender))
await bot.send_message(logChannelID, str(chat.sender) + ' 查詢了管理員名單')
raw = await getAdmin()
adminStr=''
i=0
while i<len(raw):
adminStr += raw[i]['first_name']+' '+raw[i]['last_name']+'\n'
i += 1
await chat.send_text(adminStr)
嗯 ...async 我剛查了一下資料還是不懂 ;S
可是 async 不是 Python 3 的東西?
我不確定 telepot 有沒有非同步
我看 aiotg 有非同步才用的(?
你可以用python-telegram-bot(?
感覺python-telegram-bot比較簡單(?
aiotg 就 @bot.command(過濾條件)
telepot 要自己 parse 感覺很討厭(
是說 Information Security 這個領域算每個寫程式的人都要學嗎
可是有些程式沒有洞可以鑽啊,像 Hello World
print("Hello World")
exit()
我不信這樣有洞
def yourname():
question = input ("What is your name: ")
If question == "":
print ("WTF You have not name!")
yourname()
print ("Hello, " + question)yourname()
`
def yourname():
question = input ("What is your name: ")
if question == "":
print ("WTF You have not name!")
yourname()
print ("Hello, " + question)
exit()
yourname()
OpenShift 新版一定要你的 container 在三天的週期內睡 18 小時 🌚
可是明明用docker和舊版資源使用量沒差多少不是嗎?
Container 開起來三十分鐘沒流量會自動休眠
以前就只要 watch curl 就會一直醒著了阿....
--來去部屬aria2 docker image--
我覺得 Sony 音效處理在開倒車....為什麼 24/96 的音樂可以輸出的這麼難聽...
def yourname():
question = input ("What is your name: ")
if question == "":
print ("WTF You have not name!")
yourname()
return
print ("Hello, " + question)
yourname()