Your SlideShare is downloading. ×
0
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
(裏)世界一言語トークス by Python
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

(裏)世界一言語トークス by Python

1,381

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,381
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
20
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. by Python Yoshiori SHOJI 2009 12 14
  • 2. by Python Yoshiori SHOJI 2009 12 14
  • 3. Python 2009 12 14
  • 4. 2009 12 14
  • 5. 2009 12 14
  • 6. 2009 12 14
  • 7. 2009 12 14
  • 8. J a v a 2009 12 14
  • 9. J a v a 2009 12 14
  • 10. a s a k u s a . 2009 12 14
  • 11. a s a k u s a . 2009 12 14
  • 12. 2009 12 14
  • 13. !! 2009 12 14
  • 14. def hoge(): print 'foo' print 'bar' 2009 12 14
  • 15. def hoge(): print 'foo' print 'bar' def hoge(): print 'foo' print 'bar' 2009 12 14
  • 16. def hoge(): print 'foo' print 'bar' 2009 12 14 X def hoge(): print 'foo' print 'bar'
  • 17. 2009 12 14
  • 18. 2009 12 14
  • 19. 2009 12 14
  • 20. 2009 12 14
  • 21. 2009 12 14
  • 22. 2009 12 14
  • 23. 2009 12 14
  • 24. 2009 12 14
  • 25. 2009 12 14
  • 26. 2009 12 14
  • 27. irb(main):014:0> p 1 && 2 2 => nil irb(main):015:0> p 1 || 2 1 => nil >>> print 1 and 2 2 >>> print 1 or 2 1 2009 12 14
  • 28. irb(main):014:0> p 1 && 2 2 => nil irb(main):015:0> p 1 || 2 1 => nil >>> print 1 and 2 2 >>> print 1 or 2 1 2009 12 14
  • 29. 2009 12 14
  • 30. 2009 12 14
  • 31. foo() and bar() 2009 12 14
  • 32. foo() and bar() 2009 12 14
  • 33. foo() and bar() 2009 12 14
  • 34. foo() and bar() [ foo() ] and bar() 2009 12 14
  • 35. foo() and bar() [ foo() ] and bar() 2009 12 14
  • 36. 2009 12 14
  • 37. [ foo() ] and bar() 2009 12 14
  • 38. [ foo() ] and bar() 2009 12 14
  • 39. [ foo() ] and bar() [foo(), bar(), hoge(),] 2009 12 14
  • 40. if A : foo() bar() 2009 12 14
  • 41. if A : foo() bar() [ foo() ] and [ bar() ] if A else True 2009 12 14
  • 42. if A : foo() bar() [ foo() ] and [ bar() ] if A else True 2009 12 14
  • 43. 2009 12 14
  • 44. [[ foo() ] and [ bar() ] if A else True ] 2009 12 14
  • 45. [[ foo() ] and [ bar() ] if A else True ] 2009 12 14
  • 46. [[ foo() ] and [ bar() ] if A else True ] [A and [ foo() ] and [ bar() ]] 2009 12 14
  • 47. 2009 12 14
  • 48. 2009 12 14
  • 49. for x in range(10) : foo( x ) 2009 12 14
  • 50. for x in range(10) : foo( x ) [ foo( x ) for x in range(10) ] 2009 12 14
  • 51. 2009 12 14
  • 52. def hoge( data ): return [foo()] and bar( data ) 2009 12 14
  • 53. def hoge( data ): return [foo()] and bar( data ) 2009 12 14
  • 54. def hoge( data ): return [foo()] and bar( data ) hoge = lambda data :([foo()] and bar ( data ) ) 2009 12 14
  • 55. 2009 12 14
  • 56. import sys;[sys.stdout.write(data)] globals().__setitem__("setitem", globals().__setitem__) 2009 12 14
  • 57. 2009 12 14
  • 58. 2009 12 14
  • 59. import sys,os,urllib,time;[[[globals ().__setitem__('url','http://www.bijint.com/ jp/img/photo/%02d%02d.jpg' % (i, j))] and [globals().__setitem__('file',open (os.path.basename(url), 'wb'))] and [file.write(urllib.urlopen(url).read())] and [file.close()] and [time.sleep(5)] for j in range(60)] for i in range(24)] 2009 12 14
  • 60. import sys;[globals().__setitem__("setitem", globals().__setitem__)] and [setitem('isSun',lambda : sys.platform.find('java') > -1)] and [setitem('p',lambda data :(isSun() and ([globals().__setitem__ ('java',__import__('java'))] and [java.lang.System.out.write (java.lang.String(data).getBytes("utf-8"))] and [sys.stdout.write ('n')]) or [sys.stdout.write(data + 'n')]))] and [setitem ('fizbuz',lambda i :([setitem('fiz','Fiz')] and [setitem('buz','Buz')] and [setitem('ret','')] and [isSun() and ([setitem('fiz',' ')] and [setitem('buz',' ')])] and [i % 3 == 0 and setitem('ret', globals().get('ret') + fiz)] and [i % 5 == 0 and setitem('ret', globals().get('ret') + buz)] and [len(globals().get('ret')) == 0 and setitem('ret', str(i))] and ret))] and [p(fizbuz(i)) for i in xrange (20)] 2009 12 14
  • 61. 2009 12 14
  • 62. !! 2009 12 14
  • 63. !! 2009 12 14
  • 64. 2009 12 14

×