endpoints.path: /
endpoints.endpoint_type: HTTP
endpoints.scan_time: 2025-10-03T14:18:43.466017
endpoints.uri: https://python.tkserv.eu/
endpoints.protocol: HTTP/1.1
endpoints.status_reason: OK
endpoints.key: Server
endpoints.headers: Caddy
endpoints.key: Date
endpoints.headers: <REDACTED>
endpoints.key: Accept-Ranges
endpoints.headers: bytes
endpoints.key: Alt-Svc
endpoints.headers: h3=":443"; ma=2592000
endpoints.key: Content-Length
endpoints.headers: 1824
endpoints.key: Content-Type
endpoints.headers: text/html; charset=utf-8
endpoints.key: Etag
endpoints.headers: "s9ftbe1eo"
endpoints.key: Last-Modified
endpoints.headers: Mon, 26 Feb 2024 00:28:26 GMT
endpoints.html_tags: <title>Python</title>
endpoints.body: 
  <html>
      <head>
          <title>Python</title>
          <style>
              body {
                  font-family: monospace;
                  background-color: #ccc;
              }
              h4 {
                  background-color: #aaa;
              }
          </style>
      </head>
  <body>
      
  <h1>Python Site</h1>
  <p>This page is being generated by a Python script.</p>
  <p>The purpose of this page is to learn Python</p>
  
  <h2>How to build this site and learn Python</h2>
  <ul>
      <li>cd ~/projects/python</li>
      <li>vim gen.py</li>
      <li>sudo python gen.py</li>
      <li>repo is here: 
  <ul>
      <li><a href="https://github.com/edwardtanguay/python-tkserv-eu/blob/dev/gen.py" target="_blank">gen.py</a></li>
      <li><a href="https://github.com/edwardtanguay/python-tkserv-eu/blob/dev/site_parts.py" target="_blank">site_parts.py</a></li>
      <li><a href="https://github.com/edwardtanguay/python-tkserv-eu/blob/dev/tools.py" target="_blank">tools.py</a></li>
  </ul>
      </li>
  </ul>
  <h2>Vim tips</h2>
  <ul>
      <li>SAVE AND PUBLISH: :!bash | sudo python gen.py | CTRL-D</li>
      <li>CREATE NEW TAB: :tabe {filename}</li>
      <li>CLOSE TAB: :tabclose</li>
  </ul>
  <h2>Todo</h2>
  <ul>
      <li>put each section in a function</li>
  </ul>
  <h2>Learning Resources</h2>
  <ul>
      <li><a href="https://www.w3schools.com/python/default.asp" target="_blank">W3Schools Python</a></li>
  </ul>
  <h3>W3Schools</h3>
                 
  <h4><a href="https://www.w3schools.com/python/python_comments.asp" target="_blank">Comments</a></h4>
  <p>both work</p>
  
  <h4>Function test</h4>
  this is from a function
  
  <h4>Slice</h4>
  
      <p>product code: 1234-Sunglasses</p>
      <p>product id: 1234</p>
      <p>product id2: 1234</p>
      
  
  <h4>function test</h4>
  This is a test
  
  <h4>get API data</h4>
  268 skills
  
  <h4>show random number between 1-3</h4>
  2
  
  </body>
  </html>
  
  
endpoints.html_title: Python
endpoints.supported_versions: HTTP/1.1
endpoints.banner: HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Alt-Svc: h3=":443"; ma=2592000
  Content-Length: 1824
  Content-Type: text/html; charset=utf-8
  Etag: "s9ftbe1eo"
  Last-Modified: Mon, 26 Feb 2024 00:28:26 GMT
  Server: Caddy
  Date:  <REDACTED>
  
endpoints.ip: 167.235.139.80
[binary data, 4 values, 119 bytes]