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
Python 3.8.1 (default, Dec 31 2019, 18:44:59) | |
[GCC 5.4.0 20160609] on linux | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import datetime | |
>>> samoa = datetime.timezone(datetime.timedelta(hours=14)) | |
>>> before = datetime.datetime(2011, 12, 29, tzinfo=samoa) | |
>>> before + datetime.timedelta(days=1) | |
datetime.datetime(2011, 12, 30, 0, 0, tzinfo=datetime.timezone(datetime.timedelta(seconds=50400))) | |
>>> |
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
C:\Users\Asday>py -3 | |
Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32 | |
Type "help", "copyright", "credits" or "license" for more information. | |
>>> import wx | |
>>> class A(wx.Frame): | |
... def __init__(self): | |
... super().__init__(None) | |
... self.Show() | |
... | |
>>> A() |
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 collections import OrderedDict | |
from ctypes import sizeof | |
from ctypes.wintypes import ( | |
DWORD, | |
LONG, | |
WORD, | |
) | |
import pygame | |
from win32clipboard import ( |