tweet-in-python's People
tweet-in-python's Issues
tweet.pyと同じ階層のapi.yamlを参照するように変更する
現在tweet.py
を実行したディレクトリのapi.yaml
を参照しているのですが、tweet.py
と同階層のapi.yaml
を参照した方が使いやすいので修正を行う。
スペース込みのツイートをできるようにする
今まではスペースを入れると別の引数扱いになり、スペースより後ろの内容がツイートされませんでした。
複数の引数をスペースで繋げることで対応します。
自分が使いやすいようにexeを配布する
Releasesからexeの配布を行う。
Linuxとかの人はtweet.py
から良しなに作って欲しい。
スペース2つで改行されるように機能を追加
\n
と
(スペース2つ)で改行されるようにします。
(スペース1つ)の場合は改行せずに普通のスペースになります。
exeにした際にpathが取得されないバグを修正する
__file__
を使うとexe
にした際にpath
が取得されないので、sys.argv[0]
に変更する。
PythonでTweetする機能を実装する
PythonのOAuth1Session
でTwitterのセッションを作成しツイートを行います。
認証情報はTwitter API
を使う予定です。
引数で渡した文字列をツイートし、\n
の場所で改行を行います。
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.