This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gi | |
gi.require_version('GdkPixbuf', '2.0') | |
from gi.repository import GdkPixbuf, GLib | |
gi.require_version("Gtk", "3.0") | |
from gi.repository import Gtk, Gdk | |
from PIL import Image | |
import requests | |
imggif = Image.open(requests.get("https://www.hamqsl.com/solar101pic.php", stream=True).raw) | |
imggif.load() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from urllib.request import urlopen | |
import bs4 as BeautifulSoup | |
import time | |
import re | |
import datetime | |
import psycopg2 | |
import pickle | |
import sys | |
try: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import psycopg2 | |
import re | |
import datetime | |
idmax = 2462 | |
try: | |
conn = psycopg2.connect("dbname='noelfic' user='postgres' host='localhost' password='root'") |