Re: [melbourne-pug] Inserting images into MSSQL using Python

2014-01-19 Thread David Crisp
into a database. dave On Mon, 2014-01-20 at 15:47 +1100, David Crisp wrote: Using Python, What is the best method for reading a small PNG file from disk then writing it to a MS SQL database (2008) and then retrieiving the binary data and writing it out to disk as a valid png file

Re: [melbourne-pug] Question about adding members to list : hypothetical just for interest kind of question

2014-02-20 Thread David Crisp
it as such. Regards, David On Fri, 21 Feb 2014, Ben Finney wrote: David Crisp dcr...@netspace.net.au writes: In this case I am reading in data from a SQL database query(pymssql) If you want to eliminate duplicates from your query, do so with ‘SELECT DISTINCT’. Then you don't ever get

Re: [melbourne-pug] Any Python-gnuPG success on Windows 7 and Python 3.3

2014-05-27 Thread David Crisp
to do this in the production environemnt. Regards, David On Tue, 27 May 2014, Sam Lai wrote: Without looking at the source code, could you try double-quoting the path, e.g. pathtobin = \C:\\Program Files (x86)\\GNU\\GnuPG\\pub\\GPG.exe\' On 27 May 2014 13:52, David Crisp dcr

[melbourne-pug] Python3 Soap Libraries Optionws

2014-05-28 Thread David Crisp
What SOAP modules have people used for client operations? Currently I am using suds and I'm not convinced it works properly. I am trying to interact with a usage monitor interface at Rackcorp.com My code snippet im starting with is the following: from suds.client import Client url =

[melbourne-pug] PyCharm - Accidently enabled Unit Tests and cant turn off

2014-08-26 Thread David Crisp
Hello, I know a few people here use PyCharm so I am hopeing sombody can answer my question: Somehow a little while ago I accidently enabled Unit Testing on my code and now every time I go to run my code it runs a unit test instead of just the code. I have no idea what button I pressed and

Re: [melbourne-pug] PyCharm - Accidently enabled Unit Tests and cant turn off

2014-08-26 Thread David Crisp
design* On Wed, 27 Aug 2014, David Crisp wrote: Hello, I know a few people here use PyCharm so I am hopeing sombody can answer my question: Somehow a little while ago I accidently enabled Unit Testing on my code and now every time I go to run my code it runs a unit test instead of just

[melbourne-pug] Variable Inheritence between modules. I have no idea!

2014-09-11 Thread David Crisp
. Again, if I havent asked the right questions, please guide and I will try and provide the information you need. Regards, David Crisp Three simplified files provided below. Module 1: test6.py import test8 import test7 if __name__ == '__main__': configuration = test8.client_configuration

[melbourne-pug] Python 3 and PySide shearing of properties from other classes

2017-05-07 Thread David Crisp
A problem in two parts with their own questions. What is the terminology for something, and then how would I do it. My problem is that I don't know the correct Pythonic (or even general programming terminology) term to use to search for what I am trying to do. This makes it very difficult to go

Re: [melbourne-pug] FroSolPy Fronius Inverter Data Collector / Code Feedback

2018-06-03 Thread David Crisp
Hi Dave, Thank you for these ideas.Since I posted this the code has got longer as I have dived in and added more comments and docstrings to all the properties. Once I have finished commenting and documenting the functional code I will look at breaking it out in to separate files. I could

Re: [melbourne-pug] FroSolPy Fronius Inverter Data Collector / Code Feedback

2018-06-03 Thread David Crisp
Please feel free to ask any questions you might have to the list and > I'm sure we're all happy to help. > > > > On 18/05/18 14:05, melbourne-pug-requ...@python.org wrote: > > -- > > Message: 1 > Date

[melbourne-pug] Fronius API and Python - queries about a third party module.

2018-04-19 Thread David Crisp
A couple of questions to the more experienced Python developers here. I have been working with my Fronius Symo solar inverter to extract data from the onboard API. It's actually a reasonably simple process of making a web request and then processing the resulting JSON. There is one third party