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.0 KiB

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