Category : variables

I want to take the username variable from another class method and call it in another class. A summarised version of my code for a online banking system with login: class StartPage(tk.Tk): def __init__(self, *args, **kwargs): tk.Tk.__init__(self, *args, **kwargs) container = tk.Frame(self) container.pack(side="top", fill="both", expand=True) self.frames = {} for F in (Pages): page_name = F.__name__ ..

Read more

I have a text file (propertysummary_list.txt) with a list of url’s: https://atip.piercecountywa.gov/#/propertySummary/0420066001 https://atip.piercecountywa.gov/#/propertySummary/0320015000 https://atip.piercecountywa.gov/#/propertySummary/0420062184 https://atip.piercecountywa.gov/#/propertySummary/0320015000 https://atip.piercecountywa.gov/#/propertySummary/0320011014 https://atip.piercecountywa.gov/#/propertySummary/0420063052 I want to write a script that will open loop through this text file (propertysummary_list.txt) and pass each line (i.e. a single url) as a value to be used later in a selenium script. I have something like ..

Read more