Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Table Maker Class
Post: RE: Table Maker Class
(Apr-10-2019, 02:34 PM)iMuny Wrote: Ran the original through pylint and made some changes. Some pylint warnings are still there which i don't understand how to remove.
Using a <YourScript.py> ... |
|
Ceegen |
Code sharing |
5 |
3,380 |
Apr-12-2019, 11:02 AM |
|
|
Thread: Table Maker Class
Post: RE: Table Maker Class
PEP8 my dudes. It does help lol. Sure helped me! |
|
Ceegen |
Code sharing |
5 |
3,380 |
Apr-09-2019, 08:39 PM |
|
|
Thread: Access-Control Tracker - My Tkinter GUI...
Post: RE: Access-Control Tracker - My Tkinter GUI...
Fixed a few things, and stuff. Also, a lot of the notes in here were just for me, but I left them in just in case anyone had questions that those notes might answer.
"""
Scope of project:
'Access ... |
|
Ceegen |
Code sharing |
1 |
2,366 |
Apr-08-2019, 10:34 PM |
|
|
Thread: Access-Control Tracker - My Tkinter GUI...
Post: Access-Control Tracker - My Tkinter GUI...
This is the full code thus far of something I am working on right now.
Would love a critique and suggestions for improvements.
Been attempting to learn as I go using only free materials, and I am very... |
|
Ceegen |
Code sharing |
1 |
2,366 |
Apr-05-2019, 12:30 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
Okay, so is that how classes instantiate variables for an instance, when an instance of it is created?
Specifically where in the second Python example you said to use "self.tab_one"?
As opposed to my... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-31-2019, 09:37 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
Okay new question, still related to classes and tkinter though:
How do I display the contents of a frame from object A, in another frame from object B?
Example...
import tkinter as tk
import tkinter.... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-30-2019, 07:13 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
(Mar-23-2019, 10:47 PM)Yoriz Wrote: Here are some buttons added to two different frames, 1 button is added inside the class the other is added outside of it.
That helped a lot, actually. Thank you! |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-25-2019, 09:00 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
(Mar-22-2019, 11:33 PM)Larz60+ Wrote: Quote:I am trying to understand the process by which widgets are added to the GUI using classes in this manner.
You really should spend some time learning about... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-23-2019, 10:22 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
Sorry, no example can be provided. It was a bad line of questions on my part.
I am trying to understand the process by which widgets are added to the GUI using classes in this manner. Each widget wil... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-22-2019, 09:05 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
Okay, so simply indenting code doesn't just magically change things into classes. I am now getting errors related to the __init__ method when attempting to insert code into the build() method(?) of th... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-14-2019, 10:42 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: RE: Help me understand this... (Classes and self).
Question about this part... (pseudo-code):
class IsntImportant(Object):
def __init__(self, parent):
self.parent = parentSpecifically lines 2 and 3, if it were not clear. 100% not sarcasti... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-12-2019, 01:12 PM |
|
|
Thread: Help me understand this... (Classes and self).
Post: Help me understand this... (Classes and self).
The original question I had was about making a Tkinter label display the time, here. The reply [below, in code] that helped me with my problem, also provided me more problems. After two months of atte... |
|
Ceegen |
General Coding Help |
15 |
8,239 |
Mar-12-2019, 07:56 AM |
|
|
Thread: Tkinter error for a scheduled event
Post: RE: Tkinter error for a scheduled event
(Jan-14-2019, 06:42 AM)woooee Wrote: This one is not. A new one is being created in the function without being attached to a label or other widget.
def update_clock():
tab1_labeltxt = ... |
|
Ceegen |
GUI |
5 |
6,136 |
Jan-14-2019, 09:24 PM |
|
|
Thread: Tkinter error for a scheduled event
Post: RE: Tkinter error for a scheduled event
The variable is being used by the label as the source for its' text. |
|
Ceegen |
GUI |
5 |
6,136 |
Jan-14-2019, 05:20 AM |
|
|
Thread: Tkinter error for a scheduled event
Post: Tkinter error for a scheduled event
Scheduled a variable to be updated with the current time for display in a label.
...
def update_clock():
tab1_labeltxt = StringVar(time.strftime('%H %M %S'))
brass_io.after(1000, update_cloc... |
|
Ceegen |
GUI |
5 |
6,136 |
Jan-12-2019, 04:43 AM |
|
|
Thread: Staying motivated? Share your story.
Post: RE: Staying motivated? Share your story.
"I think mekire is right. If your doing the same type of programming and never jumping into the unknown, your not learning....and it can get boring."
I just started programming -- It isn't that I'm b... |
|
Ceegen |
Web Scraping & Web Development |
10 |
5,817 |
Oct-18-2018, 07:43 AM |
|
|
Thread: Staying motivated? Share your story.
Post: RE: Staying motivated? Share your story.
(Sep-19-2018, 06:50 PM)WuchaDoin Wrote: I began 2 weeks ago. Never looked into Python before then. I re-wrote my jobs invoice system using Python which was fairly easy due to the language being far ... |
|
Ceegen |
Web Scraping & Web Development |
10 |
5,817 |
Oct-17-2018, 08:37 AM |
|
|
Thread: Staying motivated? Share your story.
Post: RE: Staying motivated? Share your story.
(Sep-15-2018, 06:37 AM)Mekire Wrote: I definitely go through stages of burnout.
As the fitness folks say, you need discipline, not motivation.
You will always have times where you lack motivation bu... |
|
Ceegen |
Web Scraping & Web Development |
10 |
5,817 |
Sep-15-2018, 11:53 AM |
|
|
Thread: Staying motivated? Share your story.
Post: RE: Staying motivated? Share your story.
I like programming, and so far have had quite a bit of fun. It's just that I currently feel like a dog that finally caught something, like a squirrel or car, and have no idea what to do with it. That ... |
|
Ceegen |
Web Scraping & Web Development |
10 |
5,817 |
Sep-15-2018, 01:52 AM |
|
|
Thread: Staying motivated? Share your story.
Post: Staying motivated? Share your story.
Hello everyone.
I've been learning to program in Python on my own. Reading the docs, watching videos and doing a few projects. So far I've made a simple text combat-adventure game, and a program that... |
|
Ceegen |
Web Scraping & Web Development |
10 |
5,817 |
Sep-14-2018, 11:45 PM |