by Python
            Yoshiori SHOJI




2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
!?
2009   12   12
2009   12   12
name:$>




2009   12   12
Yoshiori SHOJI



2009   12   12
email:$>




2009   12   12
yoshiori@gmail.com



2009   12   12
site:$>




2009   12   12
http://yoshiori.org/



2009   12   12
company:$>




2009   12   12
DWANGO Co.,Ltd.



2009   12   12
2009   12   12
P y t h o n
2009   12   12
P y t h o n
2009   12   12
yoshiori $




2009   12   12
import this




2009   12   12
The Zen
                     of
                 Python
                  Python   ’   ’
2009   12   12
2009   12   12
Python




       Unicode




2009   12   12
Python    http
                     ://ja
                          .wik
                              iped
              ...
2009   12   12
Guido

                                                   !!

                                                        !!

...
Ruby
            LL        C


            Scala   Groovy            JVM
                        JavaScript
              ...
2009   12   12
2009   12   12
!!
2009   12   12
!?
2009   12   12
?

                 if(foo == bar){foo.hoge();}
                     bar.hoge();
                 foo.hoge(bar);bar.hoge(f...
2009   12   12
2009   12   12
2009   12   12
!?
2009   12   12
end = None
                 :
                 :
                 def foo():
                     print ‘hoge’
           ...
end = None
                 :
                 :
                 def foo():
                     print ‘hoge’
           ...
end = None
                 :
                 :
                 def foo():
                     print ‘hoge’
           ...
!! Python
                 ”   ”


                         ”   ”


2009   12   12
2009   12   12
2009   12   12
!?
2009   12   12
def foo():
                     return 'hoge'



                 foo()




                 foo




2009   12   12
(call            )
                 def foo():
                      return 'hoge'

                 def bar(func):
      ...
(
                 )
2009   12   12
2009   12   12
self

2009   12   12
!?
2009   12   12
class Hoge(object):
           pass

       hoge = Hoge()

       hoge.a = 10     // hoge   a
       hoge.b = 'hoge'

    ...
def initialize(obj, a, b):
      obj.a = a
      obj.b = b

  class Hoge(object):
      pass

  hoge = Hoge()
  initialize...
class Hoge(object):
      def initialize(obj, a, b):
          obj.a = a
          obj.b = b

  hoge = Hoge()
  Hoge.initi...
class Hoge(object):
      def initialize(obj, a, b):
          obj.a = a
          obj.b = b

  hoge = Hoge()
  Hoge.initi...
class Hoge(object):
      def __init__(obj , a, b):
          obj.a = a
          obj.b = b

  hoge = Hoge(10,'hoge')
  //...
class Hoge(object):
      def __init__(obj , a, b):
                     self
          self.a == aa
          obj.a
     ...
this


                   ?


2009   12   12
2009   12   12
PHP      Perl




2009   12   12
!?
2009   12   12
!!




2009   12   12
!!




2009   12   12
2009   12   12
2009   12   12
P y h o n




2009   12   12
P y h o n




2009   12   12
2009   12   12
5




2009   12   12
5
                 nil




2009   12   12
5
                 nil
                 true




2009   12   12
5
                 nil
                 true
                 false


2009   12   12
5
                 nil
                 true
                 false
                 this

2009   12   12
5
                 nil
                 true
                 false
                 this
                 super
2009   12...
5
                 nil         None
                 true        True
                 false       False
                 ...
5
                 nil         None
                 true        True
                 false       False
                 ...
ALGOL




2009   12   12
DRY




2009   12   12
2009   12   12
2009   12   12
help(fizzbuzz)




2009   12   12
help(fizzbuzz)




2009   12   12
help(fizzbuzz)




2009   12   12
2
2009   12   12
"Battery Included"



2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
2009   12   12
Guido



2009   12   12
2009   12   12
Upcoming SlideShare
Loading in …5
×

世界一言語トークス by Python

4,138 views

Published on

0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,138
On SlideShare
0
From Embeds
0
Number of Embeds
195
Actions
Shares
0
Downloads
30
Comments
0
Likes
9
Embeds 0
No embeds

No notes for slide

世界一言語トークス by Python

  1. 1. by Python Yoshiori SHOJI 2009 12 12
  2. 2. 2009 12 12
  3. 3. 2009 12 12
  4. 4. 2009 12 12
  5. 5. 2009 12 12
  6. 6. 2009 12 12
  7. 7. 2009 12 12
  8. 8. !? 2009 12 12
  9. 9. 2009 12 12
  10. 10. name:$> 2009 12 12
  11. 11. Yoshiori SHOJI 2009 12 12
  12. 12. email:$> 2009 12 12
  13. 13. yoshiori@gmail.com 2009 12 12
  14. 14. site:$> 2009 12 12
  15. 15. http://yoshiori.org/ 2009 12 12
  16. 16. company:$> 2009 12 12
  17. 17. DWANGO Co.,Ltd. 2009 12 12
  18. 18. 2009 12 12
  19. 19. P y t h o n 2009 12 12
  20. 20. P y t h o n 2009 12 12
  21. 21. yoshiori $ 2009 12 12
  22. 22. import this 2009 12 12
  23. 23. The Zen of Python Python ’ ’ 2009 12 12
  24. 24. 2009 12 12
  25. 25. Python Unicode 2009 12 12
  26. 26. Python http ://ja .wik iped ia.o rg/w iki/P Unicode ytho n 2009 12 12
  27. 27. 2009 12 12
  28. 28. Guido !! !! !! "Battery Included" 2009 12 12
  29. 29. Ruby LL C Scala Groovy JVM JavaScript prototype 2009 12 12
  30. 30. 2009 12 12
  31. 31. 2009 12 12
  32. 32. !! 2009 12 12
  33. 33. !? 2009 12 12
  34. 34. ? if(foo == bar){foo.hoge();} bar.hoge(); foo.hoge(bar);bar.hoge(foo); if(hoge != foo) hoge.hoge(); foo.hoge(); 2009 12 12
  35. 35. 2009 12 12
  36. 36. 2009 12 12
  37. 37. 2009 12 12
  38. 38. !? 2009 12 12
  39. 39. end = None : : def foo(): print ‘hoge’ end 2009 12 12
  40. 40. end = None : : def foo(): print ‘hoge’ end 2009 12 12
  41. 41. end = None : : def foo(): print ‘hoge’ end 2009 12 12
  42. 42. !! Python ” ” ” ” 2009 12 12
  43. 43. 2009 12 12
  44. 44. 2009 12 12
  45. 45. !? 2009 12 12
  46. 46. def foo(): return 'hoge' foo() foo 2009 12 12
  47. 47. (call ) def foo(): return 'hoge' def bar(func): print func() bar(foo) # ‘hoge’ 2009 12 12
  48. 48. ( ) 2009 12 12
  49. 49. 2009 12 12
  50. 50. self 2009 12 12
  51. 51. !? 2009 12 12
  52. 52. class Hoge(object): pass hoge = Hoge() hoge.a = 10 // hoge a hoge.b = 'hoge' print hoge.a // 10 print hoge.b // hoge 2009 12 12
  53. 53. def initialize(obj, a, b): obj.a = a obj.b = b class Hoge(object): pass hoge = Hoge() initialize(hoge, 10, 'hoge') // print hoge.a // 10 print hoge.b // hoge 2009 12 12
  54. 54. class Hoge(object): def initialize(obj, a, b): obj.a = a obj.b = b hoge = Hoge() Hoge.initialize(hoge, 10, 'hoge') // print hoge.a // 10 print hoge.b // hoge 2009 12 12
  55. 55. class Hoge(object): def initialize(obj, a, b): obj.a = a obj.b = b hoge = Hoge() Hoge.initialize(hoge, 10, 'hoge') hoge.initialize(10,'hoge') // print hoge.a // 10 print hoge.b // hoge 2009 12 12
  56. 56. class Hoge(object): def __init__(obj , a, b): obj.a = a obj.b = b hoge = Hoge(10,'hoge') // print hoge.a // 10 print hoge.b // hoge 2009 12 12
  57. 57. class Hoge(object): def __init__(obj , a, b): self self.a == aa obj.a self.b == bb obj.b hoge = Hoge(10,'hoge') // print hoge.a // 10 print hoge.b // hoge 2009 12 12
  58. 58. this ? 2009 12 12
  59. 59. 2009 12 12
  60. 60. PHP Perl 2009 12 12
  61. 61. !? 2009 12 12
  62. 62. !! 2009 12 12
  63. 63. !! 2009 12 12
  64. 64. 2009 12 12
  65. 65. 2009 12 12
  66. 66. P y h o n 2009 12 12
  67. 67. P y h o n 2009 12 12
  68. 68. 2009 12 12
  69. 69. 5 2009 12 12
  70. 70. 5 nil 2009 12 12
  71. 71. 5 nil true 2009 12 12
  72. 72. 5 nil true false 2009 12 12
  73. 73. 5 nil true false this 2009 12 12
  74. 74. 5 nil true false this super 2009 12 12
  75. 75. 5 nil None true True false False this self super super 2009 12 12
  76. 76. 5 nil None true True false False this self super super 2009 12 12
  77. 77. ALGOL 2009 12 12
  78. 78. DRY 2009 12 12
  79. 79. 2009 12 12
  80. 80. 2009 12 12
  81. 81. help(fizzbuzz) 2009 12 12
  82. 82. help(fizzbuzz) 2009 12 12
  83. 83. help(fizzbuzz) 2009 12 12
  84. 84. 2 2009 12 12
  85. 85. "Battery Included" 2009 12 12
  86. 86. 2009 12 12
  87. 87. 2009 12 12
  88. 88. 2009 12 12
  89. 89. 2009 12 12
  90. 90. 2009 12 12
  91. 91. 2009 12 12
  92. 92. 2009 12 12
  93. 93. 2009 12 12
  94. 94. Guido 2009 12 12
  95. 95. 2009 12 12

×