Relative Content

Tag Archive for pythonfunctiontkinter

I want to design .py file to lookup multiple columns from file

I am new to function in python.My requirement is
Select Main data file by user opening folder location using tkiter
Select Lookup file from location
Select common column from main data file.
select common column from lookup file
select multiple lookup columns separated by comma
and merge data and save file at desired location.

How to initialize a prewritten function within a function?

I have 2 functions: one that opens a certain window with buttons, and the other one that does stuff that I need and closes a window.
It works fine if I defy second function within the first one, but I need them to be separate, and that’s the problem.