Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Issue with 'if' and datetime
Post: RE: Issue with 'if' and datetime

Thanks for all the help. You're right deanhystad, Quote:You need to learn how to debug your code. I developed too much of a dependency on the forum. After seeing the solution I totally could've figu...
blakefindlay General Coding Help 6 2,825 Feb-08-2021, 01:44 AM
    Thread: Issue with 'if' and datetime
Post: RE: Issue with 'if' and datetime

Thanks for catching that math error lol. Quote:As the month is currently 2, I would expect the conditional to fail and the else section to be run. I actually copied the wrong if statement. Here's whe...
blakefindlay General Coding Help 6 2,825 Feb-08-2021, 12:33 AM
    Thread: Issue with 'if' and datetime
Post: Issue with 'if' and datetime

I'd like my gui to have a different background based on the current hour and month. I've imported datetime. Its not returning any errors but returns the else statement. second_now = datetime.dateti...
blakefindlay General Coding Help 6 2,825 Feb-07-2021, 11:31 PM
    Thread: Subprocess window won't open on Mac
Post: Subprocess window won't open on Mac

So I've been working on a rental form program for my work. Long story short I am using tkinter gui and I've set up a subprocess to open the specific rental form program from the main menu. Each .py ...
blakefindlay GUI 1 2,184 Feb-05-2021, 11:42 PM
    Thread: Clicker count increase by 1 each time
Post: Clicker count increase by 1 each time

Trying out making a clicker game and wondering what the likely simple fix to this is. I'm not quite sure how to approach it but I want to have the clicker count increase by 1 each time. Thanks in ad...
blakefindlay General Coding Help 1 5,691 Feb-02-2021, 11:37 PM
    Thread: Having issues with some 'if' statements
Post: Having issues with some 'if' statements

The goal here is to have the if statements check the time and date and if those conditions are met I want to subtract $15 off the rental price def ski_save_click(): #Setting rental_period as ...
blakefindlay General Coding Help 2 1,609 Jan-31-2021, 02:44 AM
    Thread: Button in GUI linked to new python script
Post: RE: Button in GUI linked to new python script

(Jan-29-2021, 07:02 PM)deanhystad Wrote: If you can do something in Python you can have the button call the Python code that does the something. Starting with a crude way of doing things you could ...
blakefindlay GUI 5 13,859 Jan-30-2021, 02:02 AM
    Thread: Button in GUI linked to new python script
Post: Button in GUI linked to new python script

I am wondering if it's possible to set a button to open a new script which will subsequently open a second tkinter gui?
blakefindlay GUI 5 13,859 Jan-29-2021, 04:58 AM
    Thread: Checkbutton writing selection to file
Post: Checkbutton writing selection to file

I have 3 checkbuttons that are used to state the condition of ski poles, ski boots, and skis. My issue is that it is only outputting 'PY_VAR7'. Just wondering how to tackle this ski_number = Entry(...
blakefindlay GUI 1 2,121 Jan-28-2021, 06:42 AM
    Thread: Saving to a specific directory
Post: Saving to a specific directory

Just wondering what the best way is to open and save the file to a directory I have called 'out' C:\Users\blake\PycharmProjects\newb\out renter = open("renter_" + str(flname.get()) ...
blakefindlay GUI 2 1,658 Jan-28-2021, 03:40 AM
    Thread: Having trouble using photo for background
Post: RE: Having trouble using photo for background

Great thank you!
blakefindlay GUI 2 1,800 Jan-27-2021, 11:31 PM
    Thread: Having trouble using photo for background
Post: Having trouble using photo for background

Just wondering what I am doing wrong. I have a photo named overlander_sports.jpg in the newb folder which is the name of the project. I can't seem to get it as a background. from tkinter import * i...
blakefindlay GUI 2 1,800 Jan-27-2021, 05:41 AM
    Thread: Creating a calculation based on user entry
Post: RE: Creating a calculation based on user entry

Thank you so much, that fixed it!! I spent hours last night trying to figure it out. So glad I joined this forum not even 10 minutes ago. Seriously thank you haha
blakefindlay General Coding Help 2 2,018 Jan-26-2021, 06:21 PM
    Thread: Creating a calculation based on user entry
Post: Creating a calculation based on user entry

I am only days new to python so please bear with me. The issue I think I am running into is that when I launch the script, python immediately gets the entry which is nothing at launch. I want to inp...
blakefindlay General Coding Help 2 2,018 Jan-26-2021, 06:14 PM

User Panel Messages

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