Skip to content

Instantly share code, notes, and snippets.

@glof2
glof2 / spacepaper.pyw
Last active July 4, 2020 21:52
Sets your wallpaper to NASA's picture of the day
import requests
from bs4 import BeautifulSoup
from os import path, getcwd
import ctypes
import time
def windowswallpaper(image):
SPI_SETDESKWALLPAPER = 20
ctypes.windll.user32.SystemParametersInfoW(SPI_SETDESKWALLPAPER, 0, image, 0)
#!python3
# Skrypt testowany na wersji 3.7 Pythona
# Potrzebne biblioteki:
# PySimpleGUI - Dokumentacja: https://pysimplegui.readthedocs.io/en/latest/
# Importuje potrzebne biblioteki
import time
import PySimpleGUI as sg
#A simple scraping program that provides up-to-date information about 100 cryptocurrencies
#
import requests
from bs4 import BeautifulSoup
import time
import os
from colorama import Fore, init
from os import system, name
import sys
#
@glof2
glof2 / main.py
Created December 31, 2019 01:17
Text character replacer with gui
import kivy
from kivy.app import App
from kivy.uix.label import Label
from kivy.uix.gridlayout import GridLayout
from kivy.uix.textinput import TextInput
from kivy.uix.button import Button
from kivy.config import Config
Config.set('input', 'mouse', 'mouse,multitouch_on_demand')
@glof2
glof2 / PassGen.py
Created December 23, 2019 17:25
Password Generator by MayooXD
# Simple password generator by MayooXD
import random
import datetime
from colorama import Fore, init
from os import system, name
init()
#
def clear():
# for windows
if name == 'nt':