rssgentk.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  3. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
  5. <head>
  6. <!-- 2021-11-10 Wed 20:57 -->
  7. <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1" />
  9. <title>&lrm;</title>
  10. <meta name="generator" content="Org mode" />
  11. <style type="text/css">
  12. <!--/*--><![CDATA[/*><!--*/
  13. .title { text-align: center;
  14. margin-bottom: .2em; }
  15. .subtitle { text-align: center;
  16. font-size: medium;
  17. font-weight: bold;
  18. margin-top:0; }
  19. .todo { font-family: monospace; color: red; }
  20. .done { font-family: monospace; color: green; }
  21. .priority { font-family: monospace; color: orange; }
  22. .tag { background-color: #eee; font-family: monospace;
  23. padding: 2px; font-size: 80%; font-weight: normal; }
  24. .timestamp { color: #bebebe; }
  25. .timestamp-kwd { color: #5f9ea0; }
  26. .org-right { margin-left: auto; margin-right: 0px; text-align: right; }
  27. .org-left { margin-left: 0px; margin-right: auto; text-align: left; }
  28. .org-center { margin-left: auto; margin-right: auto; text-align: center; }
  29. .underline { text-decoration: underline; }
  30. #postamble p, #preamble p { font-size: 90%; margin: .2em; }
  31. p.verse { margin-left: 3%; }
  32. pre {
  33. border: 1px solid #ccc;
  34. box-shadow: 3px 3px 3px #eee;
  35. padding: 8pt;
  36. font-family: monospace;
  37. overflow: auto;
  38. margin: 1.2em;
  39. }
  40. pre.src {
  41. position: relative;
  42. overflow: visible;
  43. padding-top: 1.2em;
  44. }
  45. pre.src:before {
  46. display: none;
  47. position: absolute;
  48. background-color: white;
  49. top: -10px;
  50. right: 10px;
  51. padding: 3px;
  52. border: 1px solid black;
  53. }
  54. pre.src:hover:before { display: inline;}
  55. /* Languages per Org manual */
  56. pre.src-asymptote:before { content: 'Asymptote'; }
  57. pre.src-awk:before { content: 'Awk'; }
  58. pre.src-C:before { content: 'C'; }
  59. /* pre.src-C++ doesn't work in CSS */
  60. pre.src-clojure:before { content: 'Clojure'; }
  61. pre.src-css:before { content: 'CSS'; }
  62. pre.src-D:before { content: 'D'; }
  63. pre.src-ditaa:before { content: 'ditaa'; }
  64. pre.src-dot:before { content: 'Graphviz'; }
  65. pre.src-calc:before { content: 'Emacs Calc'; }
  66. pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
  67. pre.src-fortran:before { content: 'Fortran'; }
  68. pre.src-gnuplot:before { content: 'gnuplot'; }
  69. pre.src-haskell:before { content: 'Haskell'; }
  70. pre.src-hledger:before { content: 'hledger'; }
  71. pre.src-java:before { content: 'Java'; }
  72. pre.src-js:before { content: 'Javascript'; }
  73. pre.src-latex:before { content: 'LaTeX'; }
  74. pre.src-ledger:before { content: 'Ledger'; }
  75. pre.src-lisp:before { content: 'Lisp'; }
  76. pre.src-lilypond:before { content: 'Lilypond'; }
  77. pre.src-lua:before { content: 'Lua'; }
  78. pre.src-matlab:before { content: 'MATLAB'; }
  79. pre.src-mscgen:before { content: 'Mscgen'; }
  80. pre.src-ocaml:before { content: 'Objective Caml'; }
  81. pre.src-octave:before { content: 'Octave'; }
  82. pre.src-org:before { content: 'Org mode'; }
  83. pre.src-oz:before { content: 'OZ'; }
  84. pre.src-plantuml:before { content: 'Plantuml'; }
  85. pre.src-processing:before { content: 'Processing.js'; }
  86. pre.src-python:before { content: 'Python'; }
  87. pre.src-R:before { content: 'R'; }
  88. pre.src-ruby:before { content: 'Ruby'; }
  89. pre.src-sass:before { content: 'Sass'; }
  90. pre.src-scheme:before { content: 'Scheme'; }
  91. pre.src-screen:before { content: 'Gnu Screen'; }
  92. pre.src-sed:before { content: 'Sed'; }
  93. pre.src-sh:before { content: 'shell'; }
  94. pre.src-sql:before { content: 'SQL'; }
  95. pre.src-sqlite:before { content: 'SQLite'; }
  96. /* additional languages in org.el's org-babel-load-languages alist */
  97. pre.src-forth:before { content: 'Forth'; }
  98. pre.src-io:before { content: 'IO'; }
  99. pre.src-J:before { content: 'J'; }
  100. pre.src-makefile:before { content: 'Makefile'; }
  101. pre.src-maxima:before { content: 'Maxima'; }
  102. pre.src-perl:before { content: 'Perl'; }
  103. pre.src-picolisp:before { content: 'Pico Lisp'; }
  104. pre.src-scala:before { content: 'Scala'; }
  105. pre.src-shell:before { content: 'Shell Script'; }
  106. pre.src-ebnf2ps:before { content: 'ebfn2ps'; }
  107. /* additional language identifiers per "defun org-babel-execute"
  108. in ob-*.el */
  109. pre.src-cpp:before { content: 'C++'; }
  110. pre.src-abc:before { content: 'ABC'; }
  111. pre.src-coq:before { content: 'Coq'; }
  112. pre.src-groovy:before { content: 'Groovy'; }
  113. /* additional language identifiers from org-babel-shell-names in
  114. ob-shell.el: ob-shell is the only babel language using a lambda to put
  115. the execution function name together. */
  116. pre.src-bash:before { content: 'bash'; }
  117. pre.src-csh:before { content: 'csh'; }
  118. pre.src-ash:before { content: 'ash'; }
  119. pre.src-dash:before { content: 'dash'; }
  120. pre.src-ksh:before { content: 'ksh'; }
  121. pre.src-mksh:before { content: 'mksh'; }
  122. pre.src-posh:before { content: 'posh'; }
  123. /* Additional Emacs modes also supported by the LaTeX listings package */
  124. pre.src-ada:before { content: 'Ada'; }
  125. pre.src-asm:before { content: 'Assembler'; }
  126. pre.src-caml:before { content: 'Caml'; }
  127. pre.src-delphi:before { content: 'Delphi'; }
  128. pre.src-html:before { content: 'HTML'; }
  129. pre.src-idl:before { content: 'IDL'; }
  130. pre.src-mercury:before { content: 'Mercury'; }
  131. pre.src-metapost:before { content: 'MetaPost'; }
  132. pre.src-modula-2:before { content: 'Modula-2'; }
  133. pre.src-pascal:before { content: 'Pascal'; }
  134. pre.src-ps:before { content: 'PostScript'; }
  135. pre.src-prolog:before { content: 'Prolog'; }
  136. pre.src-simula:before { content: 'Simula'; }
  137. pre.src-tcl:before { content: 'tcl'; }
  138. pre.src-tex:before { content: 'TeX'; }
  139. pre.src-plain-tex:before { content: 'Plain TeX'; }
  140. pre.src-verilog:before { content: 'Verilog'; }
  141. pre.src-vhdl:before { content: 'VHDL'; }
  142. pre.src-xml:before { content: 'XML'; }
  143. pre.src-nxml:before { content: 'XML'; }
  144. /* add a generic configuration mode; LaTeX export needs an additional
  145. (add-to-list 'org-latex-listings-langs '(conf " ")) in .emacs */
  146. pre.src-conf:before { content: 'Configuration File'; }
  147. table { border-collapse:collapse; }
  148. caption.t-above { caption-side: top; }
  149. caption.t-bottom { caption-side: bottom; }
  150. td, th { vertical-align:top; }
  151. th.org-right { text-align: center; }
  152. th.org-left { text-align: center; }
  153. th.org-center { text-align: center; }
  154. td.org-right { text-align: right; }
  155. td.org-left { text-align: left; }
  156. td.org-center { text-align: center; }
  157. dt { font-weight: bold; }
  158. .footpara { display: inline; }
  159. .footdef { margin-bottom: 1em; }
  160. .figure { padding: 1em; }
  161. .figure p { text-align: center; }
  162. .equation-container {
  163. display: table;
  164. text-align: center;
  165. width: 100%;
  166. }
  167. .equation {
  168. vertical-align: middle;
  169. }
  170. .equation-label {
  171. display: table-cell;
  172. text-align: right;
  173. vertical-align: middle;
  174. }
  175. .inlinetask {
  176. padding: 10px;
  177. border: 2px solid gray;
  178. margin: 10px;
  179. background: #ffffcc;
  180. }
  181. #org-div-home-and-up
  182. { text-align: right; font-size: 70%; white-space: nowrap; }
  183. textarea { overflow-x: auto; }
  184. .linenr { font-size: smaller }
  185. .code-highlighted { background-color: #ffff00; }
  186. .org-info-js_info-navigation { border-style: none; }
  187. #org-info-js_console-label
  188. { font-size: 10px; font-weight: bold; white-space: nowrap; }
  189. .org-info-js_search-highlight
  190. { background-color: #ffff00; color: #000000; font-weight: bold; }
  191. .org-svg { width: 90%; }
  192. /*]]>*/-->
  193. </style>
  194. <script type="text/javascript">
  195. /*
  196. @licstart The following is the entire license notice for the
  197. JavaScript code in this tag.
  198. Copyright (C) 2012-2020 Free Software Foundation, Inc.
  199. The JavaScript code in this tag is free software: you can
  200. redistribute it and/or modify it under the terms of the GNU
  201. General Public License (GNU GPL) as published by the Free Software
  202. Foundation, either version 3 of the License, or (at your option)
  203. any later version. The code is distributed WITHOUT ANY WARRANTY;
  204. without even the implied warranty of MERCHANTABILITY or FITNESS
  205. FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
  206. As additional permission under GNU GPL version 3 section 7, you
  207. may distribute non-source (e.g., minimized or compacted) forms of
  208. that code without the copy of the GNU GPL normally required by
  209. section 4, provided you include this license notice and a URL
  210. through which recipients can access the Corresponding Source.
  211. @licend The above is the entire license notice
  212. for the JavaScript code in this tag.
  213. */
  214. <!--/*--><![CDATA[/*><!--*/
  215. function CodeHighlightOn(elem, id)
  216. {
  217. var target = document.getElementById(id);
  218. if(null != target) {
  219. elem.cacheClassElem = elem.className;
  220. elem.cacheClassTarget = target.className;
  221. target.className = "code-highlighted";
  222. elem.className = "code-highlighted";
  223. }
  224. }
  225. function CodeHighlightOff(elem, id)
  226. {
  227. var target = document.getElementById(id);
  228. if(elem.cacheClassElem)
  229. elem.className = elem.cacheClassElem;
  230. if(elem.cacheClassTarget)
  231. target.className = elem.cacheClassTarget;
  232. }
  233. /*]]>*///-->
  234. </script>
  235. </head>
  236. <body>
  237. <div id="content">
  238. <div id="table-of-contents">
  239. <h2>Table of Contents</h2>
  240. <div id="text-table-of-contents">
  241. <ul>
  242. <li><a href="#org087c77c">1. What is this script?</a></li>
  243. <li><a href="#org1876443">2. Imports</a></li>
  244. <li><a href="#orgfbc6c94">3. Variables</a></li>
  245. <li><a href="#org78f8b7e">4. Name</a></li>
  246. <li><a href="#orge0ab82d">5. Icon</a></li>
  247. <li><a href="#org4470b58">6. Window size</a></li>
  248. <li><a href="#org7e65a87">7. COLORS</a></li>
  249. <li><a href="#orgc2504d8">8. Label</a></li>
  250. <li><a href="#orgc17234b">9. Title pack</a></li>
  251. <li><a href="#org7e84163">10. Help.</a></li>
  252. <li><a href="#orgcc2e19e">11. THE ACTUAL THING</a></li>
  253. <li><a href="#orgd09e466">12. COPY, PASTE and SUBSTITUTE</a></li>
  254. <li><a href="#org95e56a0">13. RUN</a></li>
  255. <li><a href="#org8ad6de1">14. Conclusion</a></li>
  256. </ul>
  257. </div>
  258. </div>
  259. <div id="outline-container-org087c77c" class="outline-2">
  260. <h2 id="org087c77c"><span class="section-number-2">1</span> What is this script?</h2>
  261. <div class="outline-text-2" id="text-1">
  262. <p>
  263. This is a script to generate RSS from social media websites like librarian, mastodon and teddit. I would like to analyze this code and give some of my thoughts about it.
  264. </p>
  265. </div>
  266. </div>
  267. <div id="outline-container-org1876443" class="outline-2">
  268. <h2 id="org1876443"><span class="section-number-2">2</span> Imports</h2>
  269. <div class="outline-text-2" id="text-2">
  270. <p>
  271. Here are my imports for the script. The first one is very important because it imports TK so I actually have a GUI program. The second one is subprocess which I only use to run a basic shell command.
  272. </p>
  273. <div class="org-src-container">
  274. <pre class="src src-python"># Import all of tkinter GUI stuff
  275. from tkinter import *
  276. # Run shell commands
  277. import subprocess
  278. </pre>
  279. </div>
  280. </div>
  281. </div>
  282. <div id="outline-container-orgfbc6c94" class="outline-2">
  283. <h2 id="orgfbc6c94"><span class="section-number-2">3</span> Variables</h2>
  284. <div class="outline-text-2" id="text-3">
  285. <p>
  286. These are a variables for how the TK is run. I have no clue how that works. Then I have a variable for the browser.
  287. </p>
  288. <div class="org-src-container">
  289. <pre class="src src-python"># Important variable
  290. root = Tk()
  291. browser = 'c:\\users\\stanl\\appData\\local\\bravesoftware\\brave-browser\\application\\brave.exe'
  292. </pre>
  293. </div>
  294. </div>
  295. </div>
  296. <div id="outline-container-org78f8b7e" class="outline-2">
  297. <h2 id="org78f8b7e"><span class="section-number-2">4</span> Name</h2>
  298. <div class="outline-text-2" id="text-4">
  299. <p>
  300. This is the name of the program
  301. </p>
  302. <div class="org-src-container">
  303. <pre class="src src-python"># Name of window
  304. root.title("RSSgenerator")
  305. </pre>
  306. </div>
  307. </div>
  308. </div>
  309. <div id="outline-container-orge0ab82d" class="outline-2">
  310. <h2 id="orge0ab82d"><span class="section-number-2">5</span> Icon</h2>
  311. <div class="outline-text-2" id="text-5">
  312. <p>
  313. I ended up not having a icon because it was dificult for users of the script to use the icon. Also icons are kinda bloat.
  314. </p>
  315. <div class="org-src-container">
  316. <pre class="src src-python"># Set the icon
  317. # root.iconbitmap('freedomerss.ico')
  318. </pre>
  319. </div>
  320. </div>
  321. </div>
  322. <div id="outline-container-org4470b58" class="outline-2">
  323. <h2 id="org4470b58"><span class="section-number-2">6</span> Window size</h2>
  324. <div class="outline-text-2" id="text-6">
  325. <p>
  326. Here I say how big I want the the window to be when the app is ran.
  327. </p>
  328. <div class="org-src-container">
  329. <pre class="src src-python"># Window size
  330. root.geometry('650x650')
  331. </pre>
  332. </div>
  333. </div>
  334. </div>
  335. <div id="outline-container-org7e65a87" class="outline-2">
  336. <h2 id="org7e65a87"><span class="section-number-2">7</span> COLORS</h2>
  337. <div class="outline-text-2" id="text-7">
  338. <p>
  339. Colors are very cool. I just added a dark and classy background color so the user doesn't stare at a blaring WHITE.
  340. </p>
  341. <div class="org-src-container">
  342. <pre class="src src-python"># Color
  343. background_color = '#1A1919'
  344. root.configure(bg=background_color)
  345. </pre>
  346. </div>
  347. </div>
  348. </div>
  349. <div id="outline-container-orgc2504d8" class="outline-2">
  350. <h2 id="orgc2504d8"><span class="section-number-2">8</span> Label</h2>
  351. <div class="outline-text-2" id="text-8">
  352. <p>
  353. This label is spawned in to show the user what the script is.
  354. </p>
  355. <div class="org-src-container">
  356. <pre class="src src-python"># Title properties
  357. title = Label(root, text="----- \n RSS Generator \n ----- ",
  358. bg=background_color,
  359. fg='#ffffff',
  360. font='20')
  361. </pre>
  362. </div>
  363. </div>
  364. </div>
  365. <div id="outline-container-orgc17234b" class="outline-2">
  366. <h2 id="orgc17234b"><span class="section-number-2">9</span> Title pack</h2>
  367. <div class="outline-text-2" id="text-9">
  368. <p>
  369. This is important for actually putting the title on the screen.
  370. </p>
  371. <div class="org-src-container">
  372. <pre class="src src-python"># Place title on screen
  373. title.pack()
  374. </pre>
  375. </div>
  376. </div>
  377. </div>
  378. <div id="outline-container-org7e84163" class="outline-2">
  379. <h2 id="org7e84163"><span class="section-number-2">10</span> Help.</h2>
  380. <div class="outline-text-2" id="text-10">
  381. <p>
  382. Users don't know how to use the program so this teaches them.
  383. </p>
  384. <div class="org-src-container">
  385. <pre class="src src-python"># Help info
  386. help_ = Label(root, text = "Instructions: \n Enter a freedom respecting social media: \n mastodon - Twitter alternative \n teddit - Reddit viewer \n librarian - LBRY viewer \n \n Now enter a link you want the RSS of and it will open in your browser. \n ----- ",
  387. bg = background_color,
  388. fg='#ffffff',
  389. font='20')
  390. # Place help info on screen
  391. help_.pack()
  392. </pre>
  393. </div>
  394. </div>
  395. </div>
  396. <div id="outline-container-orgcc2e19e" class="outline-2">
  397. <h2 id="orgcc2e19e"><span class="section-number-2">11</span> THE ACTUAL THING</h2>
  398. <div class="outline-text-2" id="text-11">
  399. <p>
  400. This does many things first is a label.
  401. </p>
  402. <p>
  403. The label tells the user what the box they entering in does.
  404. </p>
  405. <div class="org-src-container">
  406. <pre class="src src-python"># Mastodon label
  407. label_mastodon = Label(root, text = "Put a Mastodon url:",
  408. bg = background_color,
  409. fg = '#ffffff',
  410. font='10')
  411. # Place mastodon label on screen
  412. label_mastodon.pack()
  413. </pre>
  414. </div>
  415. <p>
  416. This is the actual entry box.
  417. </p>
  418. <div class="org-src-container">
  419. <pre class="src src-python"># MASTODON
  420. feild_mastodon = Entry(root, width=50)
  421. feild_mastodon.pack()
  422. </pre>
  423. </div>
  424. <p>
  425. The button can run functions. With this I am able to get what the user inputs and print out a message that it was copied. I also store in a variable the new rss link value. Then using the tkinter tools I can copy stuff to the clipboard. Finally I use subprocess to launch the link in browser. This helps the user make sure the rss link is correct.
  426. </p>
  427. <div class="org-src-container">
  428. <pre class="src src-python">def click_mastodon():
  429. new = feild_mastodon.get() + ".rss"
  430. myLabel = Label(root, text=feild_mastodon.get() + ".rss is copied!")
  431. myLabel.pack()
  432. # Copy to clipboard
  433. root.clipboard_clear()
  434. root.clipboard_append(new)
  435. # Run the browser variable with the new url arg.
  436. subprocess.Popen([browser, new])
  437. button_mastodon = Button(root, text="Enter", command=click_mastodon)
  438. button_mastodon.pack()
  439. </pre>
  440. </div>
  441. </div>
  442. </div>
  443. <div id="outline-container-orgd09e466" class="outline-2">
  444. <h2 id="orgd09e466"><span class="section-number-2">12</span> COPY, PASTE and SUBSTITUTE</h2>
  445. <div class="outline-text-2" id="text-12">
  446. <p>
  447. I took all that code and copied pasted and substituted to the correct social media platform. i also put the specific text to get the rss of the given link.
  448. </p>
  449. <div class="org-src-container">
  450. <pre class="src src-python"># Nitter label
  451. label_nitter = Label(root, text = "Put a Nitter url:",
  452. bg = background_color,
  453. fg = '#ffffff',
  454. font='10')
  455. # Place nitter label on screen
  456. label_nitter.pack()
  457. # NITTER
  458. feild_nitter = Entry(root, width=50)
  459. feild_nitter.pack()
  460. def click_nitter():
  461. new = feild_nitter.get() + "/rss"
  462. myLabel = Label(root, text=feild_nitter.get() + "/rss is copied!")
  463. myLabel.pack()
  464. # Copy to clipboard
  465. root.clipboard_clear()
  466. root.clipboard_append(new)
  467. # Run the browser variable with the new url arg.
  468. subprocess.Popen([browser, new])
  469. button_nitter = Button(root, text="Enter", command=click_nitter)
  470. button_nitter.pack()
  471. # Librarian label
  472. label_librarian = Label(root, text = "Put a Librarian url:",
  473. bg = background_color,
  474. fg = '#ffffff',
  475. font='10')
  476. # Place librarian label on screen
  477. label_librarian.pack()
  478. # LIBRARIAN
  479. feild_librarian = Entry(root, width=50)
  480. feild_librarian.pack()
  481. def click_librarian():
  482. new = feild_librarian.get() + "/rss"
  483. myLabel = Label(root, text=feild_librarian.get() + "/rss is copied!")
  484. myLabel.pack()
  485. # Copy to clipboard
  486. root.clipboard_clear()
  487. root.clipboard_append(new)
  488. # Run the browser variable with the new url arg.
  489. subprocess.Popen([browser, new])
  490. button_librarian = Button(root, text="Enter", command=click_librarian)
  491. button_librarian.pack()
  492. # Teddit label
  493. label_teddit = Label(root, text = "Put a Teddit url:",
  494. bg = background_color,
  495. fg = '#ffffff',
  496. font='10')
  497. # Place teddit label on screen
  498. label_teddit.pack()
  499. # Teddit
  500. feild_teddit = Entry(root, width=50)
  501. feild_teddit.pack()
  502. def click_teddit():
  503. new = feild_teddit.get() + "?api&amp;type=rss"
  504. myLabel = Label(root, text=feild_teddit.get() + "?api&amp;type=rss is copied!")
  505. myLabel.pack()
  506. # Copy to clipboard
  507. root.clipboard_clear()
  508. root.clipboard_append(new)
  509. # Run the browser variable with the new url arg.
  510. subprocess.Popen([browser, new])
  511. button_teddit = Button(root, text="Enter", command=click_teddit)
  512. button_teddit.pack()
  513. </pre>
  514. </div>
  515. </div>
  516. </div>
  517. <div id="outline-container-org95e56a0" class="outline-2">
  518. <h2 id="org95e56a0"><span class="section-number-2">13</span> RUN</h2>
  519. <div class="outline-text-2" id="text-13">
  520. <p>
  521. The final thing is to run the TK stuff.
  522. </p>
  523. <div class="org-src-container">
  524. <pre class="src src-python"># Run stuff
  525. root.mainloop()
  526. </pre>
  527. </div>
  528. </div>
  529. </div>
  530. <div id="outline-container-org8ad6de1" class="outline-2">
  531. <h2 id="org8ad6de1"><span class="section-number-2">14</span> Conclusion</h2>
  532. <div class="outline-text-2" id="text-14">
  533. <p>
  534. I had a bunch of fun writing this script. I don't think it serves a purpose for many people. But I think it serves a purpose for myself in the off chance I want to add someone to my rss list.
  535. </p>
  536. <p>
  537. I hope you learned something new. The script is available on my codeberg.
  538. </p>
  539. </div>
  540. </div>
  541. </div>
  542. <div id="postamble" class="status">
  543. <p class="date">Created: 2021-11-10 Wed 20:57</p>
  544. <p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
  545. </div>
  546. </body>
  547. </html>