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 numpy as np | |
| import matplotlib.animation as animation | |
| from matplotlib import pyplot | |
| from random import randint | |
| fig, g = pyplot.subplots(figsize=(6,6)) | |
| pyplot.subplots_adjust(left = 0.0, right = 1.0, top = 1.0, bottom = 0.0) | |
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 wolframalpha | |
| client = wolframalpha.Client("lilpumpsaysnopeeking") | |
| import wikipedia | |
| import PySimpleGUI as sg | |
| sg.theme('DarkPurple') | |
| layout =[[sg.Text('Enter a command'), sg.InputText()],[sg.Button('Ok'), sg.Button('Cancel')]] | |
| window = sg.Window('PyDa', layout) |