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.

224 lines
4.3 KiB

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