Comments (12)
我們可以合作:D
from pyptt.
已經開了分支,Dev_0.8
from pyptt.
我們可以合作:D
OK. 我最近在忙, 有空就先改一些東西.
from pyptt.
No problem
from pyptt.
雖然還是有點忙但應該可以開始投入了.
先討論一下支援多種語系的實作方法.
我想到的是增加一個print_ptt_msg()的function or class
依照設定的值(語系)去讀對應的字串後印出.
關於這樣做, 你有什麼看法嗎?
from pyptt.
沒問題。
可參考
https://github.com/danhper/python-i18n
from pyptt.
嗨,今天有寫了一個架構,在 1.0 裡面了
from pyptt.
我寫好囉!!!最近會推上 pypi
from pyptt.
阿靠我都忘記我有答應要協作QQ. 太忙了. Sorry~
from pyptt.
我還以為你看到我的程式碼太醜就崩潰了,哈哈哈哈哈哈
from pyptt.
XDDDDD. 沒有這種事. 如果覺得寫得不漂亮但有用的東西更應該一起討論弄好一點.
話說我之前喵到有個:
def __WaterBallProceeor(self):
if self.__WaterBallHandler == None:
return
while len(self.__WaterBallList) != 0:
CurrentWaterBall = self.__WaterBallList.pop(0)
好像作法改成別的了.
不過還是提一下.
-
原則上不會用長度是否非0來判斷一個list是否還有用, 寫下面這樣
while self.__WaterBallList:
應該就可以. -
原則上list不使用pop(0).
因為pop()的時間複雜度是O(1), 而pop(0)的時間複雜度是O(n). n是list的長度.
pop(0)的時候會把後面的元素都搬到前面來.
如果需要pop(0), 會用deque取代list. 由於底層資料結構設計的不同. 時間複雜度也是O(1).
from pyptt.
又學到了,謝謝耶,我再多看看這之類的用法
from pyptt.
Related Issues (20)
- 新手問題(AttributeError: module 'PyPtt' has no attribute 'API') HOT 1
- 板主名單有特殊字元出錯 HOT 2
- 請問有辦法取得一定範圍的文章嗎? HOT 4
- 使用get_newest_index取book看板的newest_index不是最新的 HOT 3
- get_newest_index 用 search_list 搜特定關鍵字異常 HOT 7
- Dhggy
- 特定簽名檔會造成使用寄信功能後無法正常使用其他功能 HOT 2
- SingleLog 是否為必須的依賴? HOT 3
- 在抓我的最愛的時候,碰到分隔線就不繼續往下抓看板了 HOT 1
- 使用 PyPtt 的各位,有沒有意願加入 AI Labs
- 功能新增:匿名發文功能 HOT 8
- ConnectError: 連線失敗 HOT 3
- Failed to connect to PTT while PTT2 is Good HOT 1
- 編輯紅包袋 HOT 3
- code execution backdoor
- get_mail function will raise exception when mail without proper title HOT 3
- get_newest_index回傳2,但只有一篇文章(aid相同) HOT 1
- 新增功能;樂透功能 HOT 3
- comment 功能異常 HOT 1
- comment 功能異常 HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyptt.