PerlまたはJavaScriptの質問です。Pythonではtype(obj)でオブジェクトのタイプ(整数とかリストとか)がわかり、dir(obj)でそのオブジェクトが持っているフィールドやメソッドの名前がわかります。PerlやJavaScriptに似たような機能はありますか?
PerlまたはJavaScriptの質問です。Pythonではtype(obj)でオブジェクトのタイプ(整数とかリストとか)がわかり、dir(obj)でそのオブジェクトが持っているフィールドやメソッドの名前がわかります。PerlやJavaScriptに似たような機能はありますか?
目次 1.0.0 Python から Javascript への変換規則 1.1.0 String and Array 1.2.0 文字列 1.3.0 正規表現 1.4.0 配列 1.5.0 辞書 2.0.0 誤解を受けやすい問題 2.1.0 Javascript の undefined 2.2.0 配列、辞書 2.2.1 x in a 3.0.0 役に立つ関数 3.1.0 属性やメソッドの一覧 4.0.0 Reference Python 使いのための Javascript に関するノート Python と Javascript はシンタックスの上で大きな違いがあるが、内面ではこの二つはよく似ている。 Python から Javascript への変換規則 String and Array このテーブルは単なる僕のメモ 全く不十分である * Python Javasript comme
スクリプト言語用のデバッガの使い方 - Ruby, Python, Perl スクリプト言語用の CUIのデバッガの使い方を簡単にまとめました。対象言語は Ruby, Python, Perl です。 私は C, C++ でプログラムを書いているときはデバッガ (主に GNU/Linux 上の gdb) を頻繁に利用します。しかし、スクリプト言語ではそれほどでもありません。これはおそらく次のような理由によります。 ビルドが不要なので printf デバッグが容易 (ある程度大きい C++ のプログラムではビルド時間が長いので printf の挿入はしんどい) 異常終了時にスタックトレースが表示される (Ruby, Python なら自動、Perl の場合は use Carp; $SIG{__DIE__} = \&Carp::confess; など) オブジェクトのインスペクトが簡単 (Ru
您请求的页面包含一些不合理的内容,已被网站管理员设置拦截! 可能原因:您请求的页面包含一些不合理的内容 如何解决: 1)检查请求的页面内容; 2)如网站托管,请联系空间提供商; 3)普通网站访客,请联系网站管理员;
This work is licensed under the Creative Commons Attribution 2.0 License You are free to copy, distribute, and display the work, and to make derivative works (including translations). If you do, you must give the original author credit. The author specifically permits (and encourages) teachers to post, reproduce, and distribute some or all of this material for use in their classes or by thei
Welcome to the DrPython home page. DrPython is a highly customizable text editor geared towards writing programs in Python quickly and easily. It is written in Python using the wxPython toolkit (which makes use of the Scintilla text control internally). DrPython can be found in a host of places online, and in many Linux distributions (for example on a Debian/Ubuntu box, you can "apt-get install dr
http://www.divmod.org/projects/pyflakes pythonコードの文法チェッカ。 PyCheckerと違ってimportされたモジュールまでは実行しないため高速。スタイルのチェックは行わず、論理的なエラーのみを指摘する。
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く