2018-01-01から1年間の記事一覧
概要 JetBrains さんの 各 IDE を普段めっちゃ使っているのですが、日本語化できるの全然知りませんでした。 WillBrainsさんのページをひょんなことで発見。 IntelliJ や PhpStorm などの日本語化 IDE がJavaで作成されているから、Pleiades で日本語化でき…
概要 普段お世話になっている pytest さんなのですが、ネットで情報みると py.testってなっているものと pytestってなっているものが あります。 バージョンが異なるのかなって思って見てみても $ py.test --version This is pytest version 3.3.0, imported…
概要 前回、前々回とpudbについて書きました。 devlights.hatenablog.com devlights.hatenablog.com pudbのdocument見ると、pytestからpudb起動も出来るとのこと。 Getting Started — pudb 2.0.1.7...1...4 documentation 普段からpytest使っているので、こ…
概要 前回の続き devlights.hatenablog.com 前回で、pudbスゲーってなって、いろいろ見てみると ipython とも連携できるみたい。 PuDB/IPythonIntegration - Andreas Klöckner's wiki 試してみる てことで、前回の環境には ipython いれてなかったので入れる…
概要 twitter で以下のようなツイートを発見。 Trying to find a bug in your script? Rerun it with pdb as followspython -m pdb example.py(example.py and output attached)Too complicated? The text-GUI debugger pudb is here to helppython -m https…
概要 以前、以下の記事で fish shell に切り替えたのですが devlights.hatenablog.com conda のバージョンをアップデートしたら、fish shell 上で activate できなくなりました。 $ conda --version conda 4.4.6 $ activate py3 Error: activate must be sou…
概要 知らなかったのでメモメモ。ドキュメントみたら、ちゃんと書いてあった。。。 大抵の言語では、文字列などに startswith / endswith みたいなメソッドが存在していますが pythonの場合は、タプルも受け付けてくれる。何気にすごい便利です。いちいちル…