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) |
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
| # add a sheet with 20 rows and 2 columns | |
| sheet.add_worksheet(rows=20,cols=2,title='runs') | |
| # get the instance of the second sheet | |
| sheet_runs = sheet.get_worksheet(1) |