DjangoでjQueryを使う Eclipse上のPyDev環境で、Djangoフレームワークを使ったプログラム開発の準備を行っています。 JavaScriptライブラリとしては、jQueryを使います。 使用するアプリケーションとバージョンは以下になります。 Eclipse + PyDev(Pleiades for Python)=3.4.1 Django=1.0.2 jQuery=1.3.2 ***《Djangoの設定》********************************** 1)PyDevプロジェクト「django」の作成 Eclipseメニューで、/ファイル/新規/PyDevプロジェクト/ djangoプロジェクトとsrcフォルダを作成 2)Djangoプロジェクト「manoush」の作成 >cd D:\pleiades-python\workspace\src >d
環境 この記事の内容は、Ubuntu 6.10, Python 2.4で確認しました。 現象 ユニコード文字列をstr関数に与えると、UnicodeEncodeErrorが発生します。 $ python Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02) [GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> s = u'ほげ' >>> str(s) Traceback (most recent call last): File "", line 1, in ? UnicodeEncodeError: 'ascii' codec
Using TextMate with Django TextMate is a popular text editor for OS X. http://macromates.com/ (For those of us not lucky enough to have a mac, check out e http://e-texteditor.com - lets you use TextMate bundles and many of TextMate's features on Windows.) One of the most interesting features is the ability to define "snippets", abbreviations which can be expanded into larger blocks of text conta
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く