Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Multi-Image Crop Tool</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
from dataclasses import dataclass, asdict, field
import requests
from typing import Callable
import pprint
import openai
import json
import wikipedia
openai.api_key = "sk-INPUT-KEY-HERE"

Keybase proof

I hereby claim:

  • I am thornewolf on github.
  • I am thornewolf (https://keybase.io/thornewolf) on keybase.
  • I have a public key ASDI_5L_4ngLGrM-R9NwhkCTqIKYPwTzucsEmMHk1kCIrQo

To claim this, I am signing this object:

[Unicode]
Unicode=yes
[System Access]
MinimumPasswordAge = 3
MaximumPasswordAge = 30
MinimumPasswordLength = 8
PasswordComplexity = 1
PasswordHistorySize = 5
LockoutBadCount = 3
ResetLockoutCount = 30
def dog():
print("Hello World!")
COMP:PythonTuts USER$ python3 pip.py
Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
Collecting wheel
Downloading wheel-0.26.0-py2.py3-none-any.whl (63kB)
100% |████████████████████████████████| 65kB 1.1MB/s
Installing collected packages: wheel
Successfully installed wheel-0.26.0
COMP:PythonTuts USER$ pip
-bash: pip: command not found
import urllib.request
import re
import os
response = urllib.request.urlopen('http://www.reddit.com')
read = response.read()
y = re.compile('href="(http://.*?)".*?" tabindex="1" >(.*?)</a>')
links = y.findall(str(read))
os.system('clear')
myList = [[1,2,3],[4,5,6],[7,8,9]]
for subList in mylist:
for i in sublist :
print(i+1)