2010-02-01から1ヶ月間の記事一覧
Python 2.6.4 >>> import datetime >>> print datetime.datetime.now() 2010-03-01 01:32:48.258902 irb(main):001:0> p Time.now Mon Mar 01 01:24:46 +0900 2010 => nil
■環境 Ubuntu 9.10 Ruby 1.8.7 Aptana Studio 2.0.3.1265134283Apatana起動時に、RubyGemのアップデートをインストールすると、 以下のエラーがでる ERROR: Failed to build gem native extension.
■環境 Ubuntu 9.10 Ruby 1.8.7 「たのしいRuby 第二版」23章の郵便番号で、gdbmがロードできないって。 `require': no such file to load -- gdbm (LoadError)これは楽しくない。
wxPythonの導入と同時に、wxPythonのDemoを導入する。 Demoは、wxPythonの動作確認できる同時に、ソースを参照できる。 Ubuntu ■環境 Ubuntu 9.10 Python 2.6.4 wxPython2.8.10.1 aptコマンドでインストール sudo apt-get install python-wxtools wx2.8-exam…
環境依存も否定できないが、動かない。 RegisterHotKeyが成功すれば、Trueを返すらしいので、試して見たところ、Falseしか返ってこない。 Note This function is currently only implemented under Windows. It is used in the Windows CE port for detectin…
wx.Frameのテンプレート■環境 Ubuntu 9.10 Python 2.6.4 wxPython2.8.10.1
※wxPythonも参考になる。 公式 メイン http://wxruby.rubyforge.org/wiki/wiki.pl リファレンス http://wxruby.rubyforge.org/doc/ メソッド一覧 http://wxruby.rubyforge.org/doc/wx_functions.html 定数一覧 http://wxruby.rubyforge.org/wiki/wiki.pl?Bui…
※wxRubyも参考になる。 公式 メイン http://www.wxpython.org/ リファレンス 2.8.9.2 http://www.wxpython.org/docs/api/ wxPython 2.8.9.1 Documentation http://xoomer.virgilio.it/infinity77/wxPython/index.html※Pythonと同じsphinxを使用しており、検…
キーイベントのサンプル wxPython Demoから一部改修■環境 Windows XP Python 2.6.x wxPython2.8.x