You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

210 lines
4.0 KiB

5 years ago
  1. <!DOCTYPE html>
  2. <html class="ocks-org do-not-copy">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
  6. <title>Comprehensive Python Cheatsheet</title>
  7. <link rel="icon" href="web/favicon.png">
  8. <link rel="stylesheet" href="web/default.min.css">
  9. <link href="https://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet">
  10. <meta name="twitter:card" content="summary">
  11. <meta name="twitter:title" content="Comprehensive Python Cheatsheet">
  12. <meta name="twitter:description" content="Exhaustive, simple, beautiful and concise. A truly pythonic cheat sheet about Python programming language.">
  13. <meta name="twitter:image" content="https://gto76.github.io/python-cheatsheet/web/image_twitter_card_2.jpeg">
  14. </head>
  15. <style>
  16. @import url(web/style.css);
  17. .join,
  18. .link,
  19. .node rect {
  20. fill: none;
  21. stroke: #636363;
  22. stroke-width: 1.5px;
  23. }
  24. .link {
  25. stroke: #969696;
  26. }
  27. .node rect {
  28. fill: white;
  29. }
  30. .link path,
  31. .node rect,
  32. .node text,
  33. .join {
  34. -webkit-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  35. -moz-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  36. -ms-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  37. -o-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  38. transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  39. }
  40. .node .element rect {
  41. fill: #bdbdbd;
  42. stroke: none;
  43. }
  44. .node .null rect {
  45. fill: none;
  46. stroke: none;
  47. }
  48. .node .null text {
  49. fill: #636363;
  50. }
  51. .node .selection rect {
  52. stroke: #e6550d;
  53. }
  54. .node .data rect {
  55. stroke: #3182bd;
  56. }
  57. .node .datum rect {
  58. fill: #d9d9d9;
  59. stroke: none;
  60. }
  61. .node .code text {
  62. font-family: monospace;
  63. }
  64. .node .key rect {
  65. fill: #a1d99b;
  66. stroke: none;
  67. }
  68. .link .to-key,
  69. .join {
  70. stroke: #a1d99b;
  71. }
  72. .join {
  73. stroke-dasharray: 2,2;
  74. }
  75. .link .to-null {
  76. stroke-dasharray: .5,3.5;
  77. stroke-linecap: round;
  78. }
  79. .link .from-data {
  80. stroke: #3182bd;
  81. }
  82. .play circle {
  83. fill: #fff;
  84. stroke: #000;
  85. stroke-width: 3px;
  86. }
  87. .play:hover path {
  88. fill: #f00;
  89. }
  90. .play.mousedown circle {
  91. fill: #f00;
  92. }
  93. .play.mousedown path {
  94. fill: #fff;
  95. }
  96. .play rect {
  97. fill: none;
  98. pointer-events: all;
  99. cursor: pointer;
  100. }
  101. code span {
  102. -webkit-transition: background 250ms linear;
  103. -moz-transition: background 250ms linear;
  104. -ms-transition: background 250ms linear;
  105. -o-transition: background 250ms linear;
  106. transition: background 250ms linear;
  107. }
  108. pre.prettyprint, code.prettyprint {
  109. background-color: #222;
  110. border-radius: 8px;
  111. font-size: 15px;
  112. }
  113. pre.prettyprint {
  114. width: 90%;
  115. margin: 0.5em;
  116. padding: 1em;
  117. white-space: pre-wrap;
  118. }
  119. #return-to-top {
  120. position: fixed;
  121. bottom: 20px;
  122. right: 20px;
  123. background: rgb(0, 0, 0);
  124. background: rgba(0, 0, 0, 0.2);
  125. width: 50px;
  126. height: 50px;
  127. display: block;
  128. text-decoration: none;
  129. -webkit-border-radius: 35px;
  130. -moz-border-radius: 35px;
  131. border-radius: 35px;
  132. display: none;
  133. -webkit-transition: all 0.3s linear;
  134. -moz-transition: all 0.3s ease;
  135. -ms-transition: all 0.3s ease;
  136. -o-transition: all 0.3s ease;
  137. transition: all 0.3s ease;
  138. }
  139. #return-to-top i {
  140. color: #fff;
  141. margin: 0;
  142. position: relative;
  143. left: 16px;
  144. top: 13px;
  145. font-size: 19px;
  146. -webkit-transition: all 0.3s ease;
  147. -moz-transition: all 0.3s ease;
  148. -ms-transition: all 0.3s ease;
  149. -o-transition: all 0.3s ease;
  150. transition: all 0.3s ease;
  151. }
  152. #return-to-top:hover {
  153. background: rgba(0, 0, 0, 0.35);
  154. }
  155. #return-to-top:hover i {
  156. color: #f0f0f0;
  157. }
  158. </style>
  159. <body>
  160. <header>
  161. <aside>March 14, 2018</aside>
  162. <a href="../" rel="author">Jure Šorn</a>
  163. </header>
  164. <a href="javascript:" id="return-to-top"><i class="icon-chevron-up"></i></a>
  165. <div id=main_container></div>
  166. <footer>
  167. <aside>March 14, 2018</aside>
  168. <a href="../" rel="author">Jure Šorn</a>
  169. </footer>
  170. <br>
  171. <br>
  172. <br>
  173. <script src="web/jquery-3.4.0.min.js"></script>
  174. <script src="web/script_2.js"></script>
  175. </body>
  176. </html>