pythonがこの先生きのこるには

■ このスレッドは過去ログ倉庫に格納されています
1七色波紋 ◆.VgGY5NKtU
垢版 |
2007/01/05(金) 20:26:11
$python kinoko.py this_teacher
2008/07/02(水) 00:28:46
>>> win=pyglet.window.Window()
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File "C:\Python30\lib\site-packages\pyglet\__init__.py", line 301, in __getattr__
__import__(import_name)
 File "C:\Python30\lib\site-packages\pyglet\window\__init__.py", line 1670, in <module>
from pyglet.window.win32 import Win32Platform, Win32Window
ImportError: cannot import name Win32Platform

Win32Platform -> Win32Display -> Win32Screen ->

try:
# Check for required extensions
if not wgl_info.have_extension('WGL_ARB_pixel_format'):
return []
return self._get_arb_pixel_format_matching_configs(template)

でコケる。またあとで調べる
2008/07/02(水) 02:10:19
素直にPython2.5で使えば良いと思うのだが
2008/07/02(水) 09:34:17
http://docs.python.org/dev/3.0/library/index.html
urllib.request ? extensible library for opening URLs
urllib.response ? Response classes used by urllib.
urllib.parse ? Parse URLs into components
urllib.error ? Exception classes raised by urllib.request
urllib.robotparser ? Parser for robots.txt

http://docs.python.org/dev/library/index.html
urllib ? Open arbitrary resources by URL
urllib2 ? extensible library for opening URLs

なんか標準ライブラリも、ちょこちょこ変わってる
あとで読む
2008/07/02(水) 21:36:28
3.0はライブラリも大改修してるねぇ
こりゃ移行は骨が折れるかも
2008/07/06(日) 16:12:08
http://coverage.livinglogic.de/index.html

urllib, CGIHTTPServer とか赤いな

tk 関連, opengl 関連, xml 関連,
distutil とか赤い

Repository timestamp 2008-03-28 05:00:22時点の
状況だからすこし前だけど、なんかオラ wktk してきたぞ…
みたいな
414デフォルトの名無しさん
垢版 |
2008/07/06(日) 19:54:14
sexless python age
2008/07/08(火) 09:40:45
http://python.markmail.org/

ここのメーリングリストビューワ
見やすいので張っとく。あとで読む

http://d.hatena.ne.jp/ryocotan/20080628

http://www-acc.kek.jp/WWW-ACC-exp/KEKB/control/Activity/Python/doc-j/pep-0007-J.html Created: 05-Jul-2001
http://www.henshi.net/k/hiki.cgi?GoogleCppStyleGuide

C拡張の書き方とか、にも影響があったりするんだろうか
インデント 'space vs tab' 論争
2008/09/08(月) 16:59:15
もう俺が欲しい機能はなんでもtracのプラグインにしちゃうからいいよ
2008/09/08(月) 18:35:06
ハードタブなんてもうmakefileかTSVでしかつかわんだろ。
418デフォルトの名無しさん
垢版 |
2008/10/27(月) 02:18:52
Rubyよりまし
419デフォルトの名無しさん
垢版 |
2008/11/05(水) 14:00:01
Pythonで3DCGで描けるの?
2008/11/05(水) 14:00:39
3DCGで何を?
2008/11/05(水) 14:21:16
描けるよ。
419には無理だけど。
2008/11/05(水) 21:49:40
povray とか使えばいいんじゃない?もっと良い方法あるかも知れんが。
2008/11/06(木) 23:02:50
pyOpenGLとか、Blenderの中で描かせるとか。
424デフォルトの名無しさん
垢版 |
2008/11/17(月) 02:59:51
>>> n=33;eval("["*n+"]"*n)
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
>>> n=34;eval("["*n+"]"*n)
s_push: parser stack overflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
MemoryError
425デフォルトの名無しさん
垢版 |
2008/11/17(月) 10:39:52
先生、きのこ!
426デフォルトの名無しさん
垢版 |
2008/11/17(月) 11:30:01
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
427デフォルトの名無しさん
垢版 |
2008/11/19(水) 12:54:38
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
428デフォルトの名無しさん
垢版 |
2008/11/19(水) 13:20:41
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
429デフォルトの名無しさん
垢版 |
2008/11/20(木) 10:18:15
土曜日夜8:00のTBS系ドラマ「ブラッディ・マンディ」で高校生ハッカーが使っている言語がPythonという噂があるのだが
今度見られる人は検証してちょんまげ。

ストーリーはグダグダで見るに堪えない人が多いと思うが・・・
430デフォルトの名無しさん
垢版 |
2008/11/20(木) 10:18:34
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
2008/11/20(木) 10:25:02
>>429
キャプもってこいや!
432デフォルトの名無しさん
垢版 |
2008/11/20(木) 10:37:35
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
433デフォルトの名無しさん
垢版 |
2008/11/20(木) 11:16:38
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
434デフォルトの名無しさん
垢版 |
2008/11/20(木) 11:23:30
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
先生、きのこ!
2008/11/20(木) 14:43:29
>>429
http://pc11.2ch.net/test/read.cgi/tech/1219510735/79-
436デフォルトの名無しさん
垢版 |
2008/11/21(金) 11:09:07
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
437デフォルトの名無しさん
垢版 |
2008/11/21(金) 11:16:45
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
438デフォルトの名無しさん
垢版 |
2008/11/21(金) 14:31:35
【明日には】国産松茸予約の特典フィギュア発送開始【ヤフオク】

JA○○では国産松茸の予約者に特典としてイメージ・キャラクターのフィギュアを付けたが、
予想をはるかに上回る予約が殺到し1週間遅れの19日に発送した。
早くもネットではオークションで高値が付くのではと話題になっている。

続きはこちら
http://gimpo.2ch.net/test/read.cgi/kinoko/1226245914/l25

画像
ttp://www.null-box.com/cgi-bin/so/No_17254.jpg
2008/11/21(金) 15:14:46
進化しすぎw
440デフォルトの名無しさん
垢版 |
2008/11/21(金) 21:52:02
騙されたはずがなぜかすがすがしい
441デフォルトの名無しさん
垢版 |
2008/11/22(土) 11:37:59
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
442デフォルトの名無しさん
垢版 |
2008/11/22(土) 16:07:56
>>438
フィギュアまでついてくるなんて!
どこで売ってるの?



買わないけど
443デフォルトの名無しさん
垢版 |
2008/11/23(日) 13:33:50
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
444デフォルトの名無しさん
垢版 |
2008/11/23(日) 13:50:28
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
445デフォルトの名無しさん
垢版 |
2008/11/23(日) 17:58:40
pythonはRubyに駆逐される言語なのだよ!
2008/11/23(日) 19:36:57
なんかCOBOLがVBで駆逐されるとか言う議論に似てるなぁ。
447デフォルトの名無しさん
垢版 |
2008/11/24(月) 04:52:27
違和感

>>> False
False
>>> 0
0
>>> False==0
True
2008/11/24(月) 05:47:24
>>> False is 0
False
2008/11/24(月) 07:15:02
May the False be with you.
450デフォルトの名無しさん
垢版 |
2008/11/24(月) 07:22:10
is と同じ意味で are が欲しい
2008/11/24(月) 11:54:29
>>447
お前アホだろ。
"equal"がstrictとかlooseとかdeepとかshallowとか、
種類あることも知らんのか。
2008/11/24(月) 12:44:08
マジレスきもい
2008/11/24(月) 13:37:43
きもい。
454デフォルトの名無しさん
垢版 |
2008/11/24(月) 13:42:07
>>451
そういう問題じゃない
2008/11/24(月) 13:48:39
違和感なんて曖昧な言葉使ってるのがいけないんだ
どんなレスつけられてもしょうがない
2008/11/24(月) 14:29:24
知識と知能が別物だと言うことが
よく分かる例になってしまったな。
457デフォルトの名無しさん
垢版 |
2008/11/24(月) 14:44:39
既出だろうけど、なんで、インデント強制なのに、ifとかwhileの後にコロン必須なん?
2008/11/24(月) 15:36:52
ボッチが作ったからだコロン
2008/11/24(月) 15:42:24
不意にレベル高すぎるわ
2008/11/24(月) 17:44:41
4.26 Why are colons required for the if/while/def/class statements?
http://www.python.org/doc/faq/general/#why-are-colons-required-for-the-if-while-def-class-statements
2008/11/24(月) 17:47:55
python VS Ruby
2008/11/24(月) 22:10:40
結局 "readability" か。気楽に自分なりに coding したいから indent とか
いろいろスタイル強要されるのは苦手だな。主観的な趣味だが窮屈に感じる。
2008/11/24(月) 22:12:23
みんな最初はそう言うんだよ
2008/11/24(月) 22:12:30
だれもオマエのコードなんて読まないから好きに書けばいいと思うよ。
2008/11/24(月) 22:28:30
>>464 python では好きに書いたら走らんと思うぞ…
2008/11/24(月) 23:16:03
Rubyやればイインダヨ
2008/11/24(月) 23:32:59
どんな言語つかっても関係ないよ。
オマエのコードなんて誰にも読まれないんだから。
2008/11/24(月) 23:56:32
未来の自分が読む
2008/11/25(火) 00:55:40
rubyは遅すぎるんだよなぁ
470デフォルトの名無しさん
垢版 |
2008/11/25(火) 11:10:32
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
471デフォルトの名無しさん
垢版 |
2008/11/25(火) 11:40:30
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
472デフォルトの名無しさん
垢版 |
2008/11/25(火) 11:41:13
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
2008/11/25(火) 20:25:51
>>469
pythonも似たようなもんだろ。
俺はrailsがあるrubyの方がいい。
2008/11/25(火) 21:48:24
最近聞かないな
2008/11/26(水) 01:26:57
>>473
似たようなもんじゃない。
体感出きるくらいrubyは遅い。
2008/11/26(水) 01:51:39
>>473
http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=all
2008/11/26(水) 09:14:19
>>476
rubywww
2008/11/26(水) 09:31:58
haskellやるじゃん
というかatsって何もの?
479デフォルトの名無しさん
垢版 |
2008/11/26(水) 10:59:25
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
480デフォルトの名無しさん
垢版 |
2008/11/26(水) 11:10:38
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
481デフォルトの名無しさん
垢版 |
2008/11/26(水) 11:14:17
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
2008/11/26(水) 20:00:47
>>476
rubyって1.9で速くなるの?
2008/11/26(水) 20:59:01
>>476
おもしろいね。俺は Ruby 使うけど、速さが必要なところでは使わない
からなぁ。普通に使う分には Ruby でも(他言語でも)十分速い。
ちょっと入り組んだもので速さ必要なら C++ で書いてる。
2008/11/27(木) 03:34:27
Zen of Python の Tim Peters が ML におもしろいこと書いてる

http://mail.python.org/pipermail/python-3000/2008-November/015219.html


"Hey, Guido, what should we do about mixed-type comparisons against None?"

"Hmm ... what do you think?"

"Hmm ... OK, let's make None smaller than other types."

"Why?"

"Oh, why not?"

"Good enough -- but let's not document it -- it's an arbitrary
implementation detail."

"Of course!"
2008/11/27(木) 03:47:03
Dec-03に本当に出るのか?
486デフォルトの名無しさん
垢版 |
2008/11/27(木) 12:01:34
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
2008/11/27(木) 12:15:33
Ruby信者って本当にイタいな。
488デフォルトの名無しさん
垢版 |
2008/11/27(木) 21:00:14
pythonにはrailsみたいなフレームワークがないから流行らないんだよ。
2008/11/27(木) 21:20:48
ttp://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
2008/11/27(木) 22:58:03
C#が追い上げてきてるがな
2008/11/27(木) 23:34:52
pythonってこんなに上位にいるのに
日本だと全然聞かないな。なんなの?
2008/11/27(木) 23:50:32
Rubyってじり貧なのに
Ruby使っている奴らは相変わらずうるさいな。なんなの?
2008/11/27(木) 23:54:27
R u b y
2008/11/28(金) 01:04:26
>>489
49位の natural って何だろう・・・?
2008/11/28(金) 01:25:28
暇だから調べてみたが
このADABASというデータベース用の言語のことじゃないかねぇ(ソースはwikipedia!)
下位は一般的なプログラミング言語じゃないのがいろいろ入ってるね
まあ、激しくスレ違いな気がするが・・・

http://ja.wikipedia.org/wiki/ADABAS

http://www.softwareag.com/Corporate/products/natural/default.asp
2008/11/28(金) 02:20:46
それぽいですね!
2008/11/28(金) 02:44:37
Luaがotherに降格しそうじゃないか。
組み込み分野でpythonと覇を競ってたのにどうしたんだ。
498デフォルトの名無しさん
垢版 |
2008/11/28(金) 10:12:26
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
499デフォルトの名無しさん
垢版 |
2008/11/28(金) 11:31:50
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
500デフォルトの名無しさん
垢版 |
2008/11/28(金) 12:48:16
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ! 500get!
2008/11/28(金) 12:53:39
3-1で無限1upみたいだな
2008/11/29(土) 12:18:11
48位のCLでメシを食っている漏れは…
503デフォルトの名無しさん
垢版 |
2008/11/29(土) 13:49:23
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
504デフォルトの名無しさん
垢版 |
2008/11/29(土) 14:10:00
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
505デフォルトの名無しさん
垢版 |
2008/11/29(土) 14:16:18
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
506デフォルトの名無しさん
垢版 |
2008/11/29(土) 14:17:56
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
507デフォルトの名無しさん
垢版 |
2008/11/29(土) 14:20:19
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、きのこ!
この先生、うんこ!
この先生、きのこ!
この先生、きのこ!
508デフォルトの名無しさん
垢版 |
2008/11/29(土) 19:11:14
Rubyがこの先生きのこるには
2008/11/29(土) 21:39:15
rubyは最強だからそんな心配はいらない。
■ このスレッドは過去ログ倉庫に格納されています
5ちゃんねるの広告が気に入らない場合は、こちらをクリックしてください。

ニューススポーツなんでも実況