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.

249 lines
5.8 KiB

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