Re: [Tutor] Problem compiling code from GitHub

2018-09-02 Thread Dave Hill
I now have 'odswriter' working, thank you. I, eventually, uninstalled all versions of python and cleaned out as many references to python and odswriter as I could find. I then installed 3.7, and odswriter using $ cd odswriter $ python setup.py install I guess that the first attempt a

Re: [Tutor] Problem compiling code from GitHub

2018-08-29 Thread Oscar Benjamin
On Mon, 27 Aug 2018 at 13:18, Dave Hill wrote: > > I have found 'odswriter' on GitHub > https://github.com/mmulqueen/odswriter which appears to provide what I > want. However, I have come to a halt, due to the limitation of my knowledge. > > I admit that I am confounded as to where/how to access t

Re: [Tutor] Problem compiling code from GitHub

2018-08-29 Thread Peter Otten
Dave Hill wrote: > I did as suggested but with the same result. Make sure that your script is *not* in the same directory as ODSWriter.py and that the directory containing ODSWriter is *not* in sys.path. Then try again. ___ Tutor maillist - Tutor

Re: [Tutor] Problem compiling code from GitHub

2018-08-28 Thread Dave Hill
I did as suggested but with the same result. I am now looking at extracting the code from the the separate files to form a single module, and hopefully get a result. On 27/08/2018 14:14, Steven D'Aprano wrote: Hi Dave, and welcome! On Mon, Aug 27, 2018 at 12:14:33PM +0100, Dave Hill wrote:

Re: [Tutor] Problem compiling code from GitHub

2018-08-27 Thread Mats Wichmann
On 08/27/2018 05:14 AM, Dave Hill wrote: > I get the following error > >    Traceback (most recent call last): >       File "C:\Code\Python\ODS_Writer\Test_ODS#1.py", line 5, in >         from OdsWriter import odswriter as ods >       File "C:\Code\Python\ODS_Writer\OdsWriter.py", line 7, in >

Re: [Tutor] Problem compiling code from GitHub

2018-08-27 Thread Steven D'Aprano
Hi Dave, and welcome! On Mon, Aug 27, 2018 at 12:14:33PM +0100, Dave Hill wrote: > I have found 'odswriter' on GitHub > https://github.com/mmulqueen/odswriter which appears to provide what I > want. However, I have come to a halt, due to the limitation of my knowledge. [...] > I get the fol

[Tutor] Problem compiling code from GitHub

2018-08-27 Thread Dave Hill
Hi, As a volunteer on a Welsh Heritage Railway I undertake their Electrical Equipment testing, for which I use a Megger PAT420. This device stores data in 'sqlite', which using Python I can read and generate a number of reports in 'csv' format. I now wish to collate asset data for various loc