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.

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