Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: OpenCV problem
Post: OpenCV problem

I am trying to create my own Haar Cascade classifier. I keep getting the "Invalid background description file." error. jogl@shacku:~/opencv$ opencv_createsamples -img slip5050.jpg -bg bg.txt -info in...
jogl Bar 1 2,608 Jun-23-2018, 04:08 PM
    Thread: plotting trend
Post: RE: plotting trend

This is where I started: https://pythonprogramming.net/matplotlib...-tutorial/
jogl General Coding Help 1 2,514 Sep-09-2017, 09:32 PM
    Thread: Decorator toy code throws syntax errors
Post: RE: Decorator toy code throws syntax errors

Check out Harrison's tutorial on decorator's here: https://pythonprogramming.net/decorators...-tutorial/
jogl General Coding Help 3 3,558 Sep-03-2017, 11:27 PM
    Thread: Am I capable of becoming a programmer?
Post: RE: Am I capable of becoming a programmer?

x__x: You sound like me.  I am an old time programmer, started on Commodore PET's Vic20's, etc, worked 20 years in automotive programming PLC's, robotics, PC's (mostly in Basic and C), some Fortran.....
jogl Bar 5 4,658 Sep-03-2017, 06:25 PM
    Thread: Tornado / Flask help needed
Post: RE: Tornado / Flask help needed

Snippsat; Thank you very much! Of course, it makes sense now. JP.
jogl Web Scraping & Web Development 2 4,991 Aug-27-2017, 10:21 PM
    Thread: Tornado / Flask help needed
Post: Tornado / Flask help needed

I am working on figuring out how to put a Matplotlib graph in a web page. I copied the following example from the Matplotlib examples: """ This example demonstrates how to embed matplotlib WebAgg int...
jogl Web Scraping & Web Development 2 4,991 Aug-27-2017, 06:25 PM
    Thread: inserting data into oracle db using python
Post: RE: inserting data into oracle db using python

Check on the %s placeholder.  You may need to use a different letter there.
jogl General Coding Help 9 19,442 May-22-2017, 03:45 PM
    Thread: inserting data into oracle db using python
Post: RE: inserting data into oracle db using python

This kind of thing works for me:                with conn2:                         cur2=conn2.cursor()                         cur2.execute("""INSERT INTO boiltbl VALUES(%s,%s,%s,%s,%s,%s,%s)""", (t...
jogl General Coding Help 9 19,442 May-22-2017, 03:28 PM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

This is the first few lines of what I have for remote access to database. # working live JP 20170312 # boilergraph.py to display boiler temperatures 20170502 import MySQLdb import time import datetim...
jogl General Coding Help 9 13,060 May-20-2017, 09:57 AM
    Thread: ssh + mysql connection python 3.4.3
Post: RE: ssh + mysql connection python 3.4.3

I think that you have user and password issues at the mysql server end.  I had the same.   I forget the details, but it boils down to userz@ip, and userz@localhost are not the same user in mysql's wo...
jogl General Coding Help 9 13,060 May-19-2017, 04:54 PM
    Thread: I hate text editors
Post: RE: I hate text editors

Whenever someone describes their ideal new editor I'm reminded of this: http://www.catb.org/~esr/writings/unix-k...-wars.html
jogl Bar 38 22,090 Oct-23-2016, 10:56 AM
    Thread: New Users Introduce Yourself
Post: I'm back

Thought you could shake me, eh?
jogl Bar 431 228,936 Oct-22-2016, 12:02 AM

User Panel Messages

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