Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-07-2019, 01:43 AM)SheeppOSU Wrote: I don't know if you pasted it wrong or something but - 1. You have def where it seems you are trying to call the function 2. Since the while loop is in the di...
kennethdean2010 General Coding Help 19 7,172 May-07-2019, 03:50 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-05-2019, 07:26 AM)SheeppOSU Wrote: (May-05-2019, 05:49 AM)kennethdean2010 Wrote: it just keeps looping That's because there is no break. You need to break it eventually. Here's an example of ...
kennethdean2010 General Coding Help 19 7,172 May-06-2019, 08:24 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

lol doh... of course. Thanks!!!
kennethdean2010 General Coding Help 19 7,172 May-05-2019, 01:59 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

Ok so the code below just keeps looping with 5 minutes still as an option, does not wait 5 mins either it just keeps looping what am I doing wrong with that counter? I am definately on the right track...
kennethdean2010 General Coding Help 19 7,172 May-05-2019, 05:49 AM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-04-2019, 09:04 PM)SheeppOSU Wrote: (May-04-2019, 08:00 PM)kennethdean2010 Wrote: But at the specified intervals: You want it to loop only at specific intervals? Like this? - count = 0 while ...
kennethdean2010 General Coding Help 19 7,172 May-05-2019, 04:01 AM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

Is there a way I could just add a counter to loop through the following code X amount of times: def display_prompt(): """Displays prompt to allow user to schedule update installation Args: ...
kennethdean2010 General Coding Help 19 7,172 May-04-2019, 08:00 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-03-2019, 10:18 PM)SheeppOSU Wrote: I've done a litte C++ which I've heard is similar to C#. In C++ classes are usually made in different files like you said. In Python in depends. When making a...
kennethdean2010 General Coding Help 19 7,172 May-04-2019, 03:53 AM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-02-2019, 10:13 PM)SheeppOSU Wrote: You could make a self in RestartChoices that takes the value of a parameter passed through and then update it with the value of display_prompt Should I create...
kennethdean2010 General Coding Help 19 7,172 May-03-2019, 10:12 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

(May-02-2019, 10:13 PM)SheeppOSU Wrote: You could make a self in RestartChoices that takes the value of a parameter passed through and then update it with the value of display_promptTy SheeppOSU I w...
kennethdean2010 General Coding Help 19 7,172 May-03-2019, 03:05 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

Sorry I copied and pasted the wrong function... I meant: How do I pass the value of: def display_prompt(): to class RestartChoices():
kennethdean2010 General Coding Help 19 7,172 May-02-2019, 10:02 PM
    Thread: Python script that calls jamfHelper binary
Post: RE: Python script that calls jamfHelper binary

Hi Yoriz, Ty for your response. So I assume I would somehow pass the output from def display_prompt(): to class ChoiceError(Exception): ??? I hope I tagged the code correctly Yoriz!!! Sorry for my ...
kennethdean2010 General Coding Help 19 7,172 May-02-2019, 03:10 PM
    Thread: Python script that calls jamfHelper binary
Post: Python script that calls jamfHelper binary

Hi I have a python script I am using to update my Macbooks at work that calls the jamfBinary to display a hud that allows the user to defer updates. At this time it only presents the hud once with 5...
kennethdean2010 General Coding Help 19 7,172 May-01-2019, 08:43 PM

User Panel Messages

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