Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: python crontab remove_all(comment="Minute*")
Post: python crontab remove_all(comment="Minute*")

Does anyone know if there's a way to remove a cronjob based on a comment with a wildcard in it? I'm using python-crontab
vvarrior General Coding Help 1 2,778 Aug-05-2018, 08:59 PM
    Thread: Newb Question - Threading in Crons
Post: RE: Newb Question - Threading in Crons

Thanks for confirmation, I was pretty sure after I pondered on the subject that was the case.
vvarrior General Coding Help 2 2,794 Jul-20-2018, 08:12 PM
    Thread: Newb Question - Threading in Crons
Post: Newb Question - Threading in Crons

I have been attempting to implement threading in an application I'm working on and I'm starting to wonder if I even need it. I run python 2.7 on raspberry pi zero. For the last couple of days I have ...
vvarrior General Coding Help 2 2,794 Jul-20-2018, 06:43 PM
    Thread: Line of file from string to list to tuple
Post: RE: Line of file from string to list to tuple

After reading another thread and doing some testing, I think I want: import ast sqlback = ast.literal_eval(line)Tuples should be: sqlback[0] = 'sql statement %s where id = %s' sqlback[1] = ['test','1'...
vvarrior General Coding Help 2 5,259 Jun-01-2018, 08:56 PM
    Thread: Line of file from string to list to tuple
Post: Line of file from string to list to tuple

How do I convert a line from a file into a tuple so I can input into mysql database? File: Output:['sql statement %s where id = %s', ['test','1']]I am struggling with tuple() and list() from a string ...
vvarrior General Coding Help 2 5,259 Jun-01-2018, 08:29 PM

User Panel Messages

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