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