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

Hey, I have PyMySQL working however the result its printing has an unexpected character. #!/usr/bin/python import pymysql.cursors connection = pymysql.connect(     host='localhost',     user='test...
Dean Stackhouse General Coding Help 1 5,602 Oct-05-2016, 06:28 PM
    Thread: Connecting to MySQL
Post: RE: Connecting to MySQL

Thank-you everyone. I have gone with PyMySQL as it's compatible with the ARM processor in my Pi3 and seems to be maintained unlike some of the other options.
Dean Stackhouse General Coding Help 4 9,016 Oct-05-2016, 05:57 PM
    Thread: Connecting to MySQL
Post: Connecting to MySQL

Hey, Just wondering what the best way to connect and query an external MySQL database is. I have found a few different options, some of which look very outdated. Thanks.
Dean Stackhouse General Coding Help 4 9,016 Oct-04-2016, 10:31 AM
    Thread: Django, Background Scripts, Raspberry Pi and GPIO
Post: Django, Background Scripts, Raspberry Pi and GPIO

Hey, I'm quite new to python and Django so i'm uncertain if Django will be a good fit to what i need. I wish to develop a web interface to display sensor information, control outputs and run backgro...
Dean Stackhouse Web Scraping & Web Development 3 6,358 Sep-30-2016, 08:59 PM
    Thread: Remove Parts of a String
Post: RE: Remove Parts of a String

Thanks j.crater for the solution and thanks wavic for compressing the code. I ended up using the following line to query my EC sensor and convert the output to from μS/cm to CF output = float(AtlasI...
Dean Stackhouse General Coding Help 5 19,881 Sep-29-2016, 05:18 PM
    Thread: Remove Parts of a String
Post: Remove Parts of a String

Hello, I'm quite new to python and am attempting to do some coding on a Raspberry Pi. I have a sensor that gives an output in the following format. 628.6,339,0.30,1.000 I need to splice it so it ...
Dean Stackhouse General Coding Help 5 19,881 Sep-29-2016, 01:41 PM

User Panel Messages

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