This file contains hidden or 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 os | |
| import zipfile | |
| from PIL import Image | |
| def create_folders(): | |
| try: os.mkdir("IN"); print("1/2 IN") | |
| except: print("1/2 PASS IN") | |
| try: os.mkdir("OUT"); print("2/2 OUT") | |
| except: print("2/2 PASS OUT") |
This file contains hidden or 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/env python | |
| # vim:fileencoding=utf-8 | |
| from calibre.web.feeds.news import AutomaticNewsRecipe | |
| class BasicUserRecipe1711710897(AutomaticNewsRecipe): | |
| title = 'Küçüksaat Gazetesi' | |
| oldest_article = 1 | |
| max_articles_per_feed = 100 | |
| auto_cleanup = True |
This file contains hidden or 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/env python | |
| # vim:fileencoding=utf-8 | |
| from calibre.web.feeds.news import BasicNewsRecipe | |
| class AdvancedUserRecipe1711710566(BasicNewsRecipe): | |
| title = 'Çukurova Barış Gazetesi' | |
| oldest_article = 1 | |
| max_articles_per_feed = 100 | |
| auto_cleanup = True |
This file contains hidden or 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 pygame | |
| class Main: | |
| def __init__(self, screen_width: int, screen_height: int, fps: int, title: str): | |
| self.screen_width = screen_width | |
| self.screen_height = screen_height | |
| self.fps = fps | |
| self.title = title | |
This file contains hidden or 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 pygame | |
| class TextBox: | |
| def __init__( | |
| self, | |
| rect: pygame.Rect, | |
| dest: pygame.Surface, | |
| font: pygame.font.Font, | |
| text: str, |
This file contains hidden or 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
| { | |
| "assetIndex": { | |
| "id": "1.7.10", | |
| "sha1": "f90ca2878ba3141d32d949ea7f665855dd073c65", | |
| "size": 88096, | |
| "url": "https://launchermeta.mojang.com/mc/assets/1.7.10/f90ca2878ba3141d32d949ea7f665855dd073c65/1.7.10.json", | |
| "totalSize": 112220327 | |
| }, | |
| "assets": "1.7.10", | |
| "downloads": { |
This file contains hidden or 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
| # https://mcsp.wartburg.edu/zelle/python/graphics.py compressed version by BLINMATIC | |
| __version__ = "5.0" | |
| import time, os, sys | |
| import tkinter as tk | |
| class GraphicsError(Exception): pass | |
| OBJ_ALREADY_DRAWN = "Object currently drawn"; UNSUPPORTED_METHOD = "Object doesn't support operation" | |
| BAD_OPTION = "Illegal option value" | |
| _root = tk.Tk(); _root.withdraw(); _update_lasttime = time.time() | |
| def update(rate=None): | |
| global _update_lasttime |
This file contains hidden or 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 pygame | |
| pygame.init() | |
| screen = pygame.display.set_mode((600, 400)) | |
| resume = True | |
| f = pygame.font.Font('freesansbold.ttf', 20) | |
| while resume: | |
| for event in pygame.event.get(): | |
| if event.type == pygame.QUIT: | |
| resume = False | |
| screen.fill((255, 255, 255)) |
This file contains hidden or 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
| We're no strangers to love | |
| You know the rules and so do I | |
| A full commitment's what I'm thinking of | |
| You wouldn't get this from any other guy | |
| I just want to tell you how I'm feeling | |
| Gotta make you understand | |
| Never gonna give you up, never gonna let you down | |
| Never gonna run around and desert you |