Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: How to iterate through sub-children in TkTree?
Post: How to iterate through sub-children in TkTree?

for children in self.points_tree.get_children(): child = self.points_tree.item(children) print(child)This works perfectly for iterating through the parent c...
WuchaDoin GUI 0 6,848 Dec-21-2018, 07:00 PM
    Thread: Bind only fires off once?
Post: RE: Bind only fires off once?

**shocked** Oops, yes. "ComboboxSelected". I forgot to change that back when I was trying to find a solution. Mother.. **wall** I always - Always - find the solution as soon as I posted a question....
WuchaDoin GUI 3 4,423 Dec-18-2018, 07:34 PM
    Thread: Bind only fires off once?
Post: Bind only fires off once?

I have a combobox used with Tkinter I cannot get bind to execute appropriately. Currently I have: self.ap_reason.bind("<<ComboboxChanged>>", self.Callback())This executes the following (o...
WuchaDoin GUI 3 4,423 Dec-18-2018, 06:58 PM
    Thread: Community/Team Projects?
Post: RE: Community/Team Projects?

(Oct-24-2018, 06:27 PM)Larz60+ Wrote: if your url location is accurate, you must be near Lubbock Tx, If that's the case, you can take a look at: https://www.meetup.com/cities/us/tx/lubb...GPacYaKh62...
WuchaDoin News and Discussions 3 3,261 Oct-25-2018, 08:14 PM
    Thread: Best way to drop NA?
Post: Best way to drop NA?

I'm fairly familiar with python basics with regards to DataFrames and pandas. The problem I am encounter though is that I cannot properly drop NA values. The problem is I will have a simple DataFrame ...
WuchaDoin Data Science 1 2,121 Oct-25-2018, 06:25 PM
    Thread: Community/Team Projects?
Post: Community/Team Projects?

My learning curve is seeming to flat line, not because of lack of research, but from the constant effort of improving what's currently written, understanding why it's written the way it is as well as ...
WuchaDoin News and Discussions 3 3,261 Oct-24-2018, 05:06 PM
    Thread: Calling widget from another function?
Post: Calling widget from another function?

class Inv(tk.Frame): def __init__(self, parent, controller): tk.Frame.__init__(self, parent) table_frame = tk.LabelFrame(main_frame, bg='yellow', width=640, height=720) tk_table =...
WuchaDoin GUI 1 3,566 Oct-22-2018, 03:30 PM
    Thread: Why is this opening 2 windows/frames?
Post: Why is this opening 2 windows/frames?

from tkinter import * class App(Tk): def __init__(self, root): Tk.__init__(self) self.geometry("1280x720") MainFrame = Frame(self, width=30, height=40, bg='blue') ...
WuchaDoin GUI 2 3,254 Oct-17-2018, 06:55 PM
    Thread: Cannot get tree.select to work for the life of me.
Post: Cannot get tree.select to work for the life of me.

After finally getting my Tkinter Tree setup I have begun creating the rest of the layout for the GUI. Upon creating the rest of the layout, I knew I was going to have to setup a DoubleClick function f...
WuchaDoin GUI 0 1,545 Oct-16-2018, 06:27 PM
    Thread: Hardest time getting DataFrame to populate Tree Widget
Post: RE: Hardest time getting DataFrame to populate Tre...

The tree widget is splitting the data by spaces. If I assign the description column only, then it clearly shows that it is separating the data based on spaces, not column values. I would post a screen...
WuchaDoin GUI 4 7,293 Oct-15-2018, 08:06 PM
    Thread: Hardest time getting DataFrame to populate Tree Widget
Post: RE: Hardest time getting DataFrame to populate Tre...

(Oct-15-2018, 07:01 PM)nilamo Wrote: (Oct-15-2018, 06:45 PM)WuchaDoin Wrote: imp_df.loc[each_rec]Try printing that out inside your loop, so you can make sure it's actually what you expect it to be...
WuchaDoin GUI 4 7,293 Oct-15-2018, 07:02 PM
    Thread: Hardest time getting DataFrame to populate Tree Widget
Post: Hardest time getting DataFrame to populate Tree Wi...

I am very new to any GUI coding. I chose to work with Tkinter instead of PyQt. I have the basics down as far as the foundation of the GUI and have begun to make each separate frame. One of these frame...
WuchaDoin GUI 4 7,293 Oct-15-2018, 06:45 PM
    Thread: Best way to append data frame?
Post: Best way to append data frame?

I read by accident, somewhere online, recently that it is highly unsought to append/insert a data frame either row by row, or cell by cell (for iloc). I cannot recall which one exactly, but to the poi...
WuchaDoin Data Science 1 2,654 Oct-04-2018, 05:11 PM
    Thread: Better structure than this?
Post: RE: Better structure than this?

Just looked up DataFrame.apply. I am going to love this method. Surprised I haven't found/seen this sooner. Thanks.
WuchaDoin Data Science 5 3,178 Oct-03-2018, 03:53 PM
    Thread: Better structure than this?
Post: RE: Better structure than this?

(Oct-03-2018, 08:33 AM)volcano63 Wrote: pandas is about data processing - not about looping over data. The strength of pandas is to enable you to work on DataFrame - or its slices - as on a single o...
WuchaDoin Data Science 5 3,178 Oct-03-2018, 02:41 PM
    Thread: Better structure than this?
Post: Better structure than this?

After receiving some feedback on past posts, I have begun re-designing my code to be more object oriented. It's going great and is really fun finding the best ways to fit all the pieces, but I have co...
WuchaDoin Data Science 5 3,178 Oct-02-2018, 03:38 PM
    Thread: Resetting Global Variables?
Post: RE: Resetting Global Variables?

(Sep-28-2018, 08:34 PM)ichabod801 Wrote: I'm going to back down to simple things, and rewrite your three function example with parameters: def Main(CustomerIndex, LoadedSales, InxLoc): Customer...
WuchaDoin General Coding Help 11 11,439 Sep-28-2018, 08:41 PM
    Thread: Resetting Global Variables?
Post: RE: Resetting Global Variables?

I will explain as best I can (please ask if still I am missing something). We have a main DB. All of the information I have is directly from the Database. I then turn the information into invoices t...
WuchaDoin General Coding Help 11 11,439 Sep-28-2018, 07:50 PM
    Thread: Resetting Global Variables?
Post: RE: Resetting Global Variables?

(Sep-28-2018, 06:41 PM)nilamo Wrote: From these snippets, it looks like you're not really using functions at all. It looks like you're using a dict to hold some value, and then doing something with...
WuchaDoin General Coding Help 11 11,439 Sep-28-2018, 06:59 PM
    Thread: Resetting Global Variables?
Post: RE: Resetting Global Variables?

(Sep-28-2018, 05:14 PM)ichabod801 Wrote: (Sep-28-2018, 04:35 PM)WuchaDoin Wrote: How would you use a variable globally without being global? With parameters and return values: >>>> de...
WuchaDoin General Coding Help 11 11,439 Sep-28-2018, 05:20 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020