サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
画力アップ
tibet.que.ne.jp
[メインページに戻る | 前のページ | 次のページ] 研究者が語る清・チベット関係 ■平野聡著『清帝国とチベット問題』(古屋大学出版会2004/07)は、筆者によると、時代に存在したというチベットと中国との間に存在した民族統合の歴史を、成立から瓦解まで述べたものである。本書が発表された際、依頼原稿により二つの書評を出した。現在、清とチベットの関係について、いろいろな言説が錯綜しているため、新たな文を書こうかと思ったが、煩わしいため、この二つの書評を転載して清・チベット関係を歴史資料に基づいて研究する者の見解を述べたい。 最初の書評が『歴史学研究』に掲載されたもので、後の書評が『東洋史研究』に掲載されたものである。清朝史の研究者、杉山清彦氏も『史学雑誌』(115-9, 2006.9)に本書の書評をだしているため、そちらも併せて参照されたい。 『歴史学研究』(No.804, pp.57-59
\左右マージン{左マージンの長さ}{右マージンの長さ} † ページの左右の余白の長さを指定できる。綴じ込みをする場合など、左右の余白が均等ではバランスが悪く見栄えが悪くなるので左右別々で指定できるようになっている。デフォルトの値は左右ともに2.3cmとなっている。 ↑ \上下マージン{上マージンの長さ}{下マージンの長さ} † ページのテキスト領域と用紙幅との距離を指定できる。ヘッダーやフッターに関しては考慮されていないので、もしヘッダー、フッターを指定するのであれば、その分テキスト領域に対する余白を多めにとる必要がある。デフォルトの値は上は2.6cm、下は2.3cmとなっている。 ↑
福田洋一: 2004/12/20 1 簡単な掲示板を作る(その1) 1.1 PythonにおけるCGI 今回は、PythonでのCGIの作り方を勉強する。CGIの基本は、普通のプログラムで、コマンドラインの引 数を使って、プログラムにデータを渡すのを、HTMLのフォーム要素を使ってプログラムにデータを渡して 起動する、という点にある。そのように思い切ってしまえば、そのプログラムの入り口さえ置き換えれば、 あとは単純にHTMLをprint文で書き出していけばよく、普通のプログラムと何ら変わることはない。 それでは、Pythonでフォームから送られてくるデータを受け取る仕方はどうなるのか、というと、まず、 import cgi, cgitab cgitab.enable() form_data = cgi.FieldStorage() name = form_data.getfirst("
[メインページに戻る ] チベット問題の歴史淵源 中国のチベット問題の認識を示した原点『チベット問題』左の奥つけにあるように、1959年のチベット動乱の直後にだされたものだ。 (1) 日本人の貧困なチベット観 夏休みが近づくと学生から「チベットに行きたいのですが、チベット大使館はどこにあるのですか」などの質問を受け、脱力することがある。ご存じの通りチベットは中国に併合されチベット大使館なるものは存在しない。しかし、このような基本的な事実すら知らない日本人は決して少なくない。日本人の大多数はチベットへの旅にあこがれ、その宗教文化を称えるにも関わらず、恐ろしい程、チベットの歴史と現状に無知である。この状況はチベットを謎とロマンでしか語れないお粗末なテレビ番組と、何か事件がおきるまでは問題の所在すら知ろうともしない報道現場の無知が手に手を取ってつくりあげてきたものだ。 中国にとってチベット問題
[ 講義ノートへ戻る ] プログラミング演習1 福田洋一 2006年度 第一回 電卓としての利用。四則計算の方法。print文。変数と代入。[ html | pdf ] (2006/4/10) 第二回 文字列の計算。文字列と数値の違い。関数の呼び出し。[ html | pdf ] (2006/4/17) 第三回 リストというデータ型[ html | pdf ] (2006/4/27) 第四回 場合を分けて処理する[ html | pdf ] (2006/5/8) 第五回 繰り返す[ html | pdf ] (2006/5/15) 第六回 リストの繰り返し処理[ html | pdf ] (2006/5/22) 第七回 電卓と九九の表[ html | pdf ] (2006/5/25) 第八回 行を数える。[ html | pdf ] (2006/6/8) 第九回 自分で関数を作る[ ht
福田洋一: 2004/8/2 1 Pythonでの正規表現:例 例題1 まず、いくつかのサンプルを入力し、実行してみよう。#以下は説明なので入力しないでもよい。ファイ ル名は好きな名前をつけるように。必ず自分で入力して実際に動かしてみて、期待した結果が出るかどう かを確認しよう。 import re # reは、正規表現の機能を提供するライブラリ。それを必ずインポート宣言する。 tex_file_name = "sample.tex" text_file_name = re.sub(r`\.tex$', `.txt', tex_file_name) output_file = open(text_file_name, "w") # "w" は「書き込み」の意味。書き込み用にファイルをオープンする。 for line in open(tex_file_name, "r"): output_
福田 洋一 2002年6月28日 1 はじめに オブジェクト指向プログラミング言語Ruby入門の補助教材として、簡単な練習問題を解きながら、Ruby の基礎的な事項を復習・確認していきましょう。 以下の問題のなかの下線部を適当な語句で埋めてみてください。# 以下の文は、コメント・説明です。 問題自身は簡単ですが、一応、模範解答を用意しました。ただ、 説明は省いてありますので、分からないときは、yfukuda@tibet.que.ne.jp まで「Rubyの練習問題の質問」 というような題名で質問メールを出してください。 定期試験の前に、しっかりとRubyの基礎事項を復習しておきましょう。 文字が大きすぎる場合には、Internet Explorerの「表示」メニューで「文字サイズ」を小さくして見 てください。印刷して見るときも同様です。 2 変数とデータ プログラムの中
■ 大谷大学 > 人文情報学科 > 福田ゼミ > 講義ノートメニュー > 2004年度Unix演習配付資料 2004年度Unix演習 福田洋一: 2004年11月30日更新 授業で配布するプリントです。HTML版と印刷用のPDF版があります。 「Knoppixの準備・シェル・最初のコマンド」4月12日(HTML | PDF) 「ファイル関連のコマンド」4月20日(HTML | PDF) 「復習・設定の保存・viの練習」5月11日(HTML | PDF) 「viの練習・シェルの設定、テキスト表示」5月18日(HTML | PDF) 「viの操作方の試験問題」5月25日(PDF のみ) 「各種コマンド」6月1日(HTML | PDF) 「ファイル名のワイルドカード展開」6月8日(HTML | PDF) 「正規表現1」6月15日(HTML | PDF) 「正規表現2」6月22日(HTML | P
福田洋一: 2004/12/6 1 ネットワーク・プログラミング インターネットを扱うプログラムを作ってみよう。今回はHTTPでwebサイトを次々と自動的に訪問し、そ のサイトに掲載されているURLを収集し、そのページに飛んで、そこでまたURLを収集する、という自動巡 回ロボットのようなプログラムを作る。 1.1 例外処理 Pythonは、プログラムを読み込む最中に、文法的なエラーを発見すると、実行する前にエラー・メッセー ジを出して終了する。これはミス・タイプなどが多いので、問題の行のあたりを見直して修正し、再実行 する必要がある。 しかし、プログラムは文法的には正しくても、実行している最中にエラーが起こることがある。たとえ ば、ファイルを開こうとして、そのファイルがなかったらエラーになってプログラムが止まる。これまで は、これもエラー・メッセージを見て、ファイルがないためのエラーで
■ 大谷大学 > 人文情報学科 > 福田ゼミ > 講義ノートメニュー > 2004年度プログラミング演習配付資料 2005年度Pythonプログラミング演習 福田洋一: 2005年1月25日更新 授業で配布するプリントです。HTML版と印刷用のPDF版があります。 「環境の整備・print文・変数の導入」4月12日(HTML | PDF) 「変数、ユーザーの入力を受け取る、条件判断」4月19日(HTML | PDF) 「課題1の講評」5月5日更新(HTML ) 「繰り返し処理(while)、部分文字列」5月10日(HTML | PDF) 「繰り返し処理(for)、リスト、コマンドライン引数」5月17日(HTML | PDF) 「テキストファイルを読み込む」5月24日(HTML | PDF) 「テキストファイルを読み込む2」5月31日(HTML | PDF) 「変数・代入・リスト・繰り返しの
このページを最初にブックマークしてみませんか?
『tibet.que.ne.jp』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く