Re: [Tutor] Additionally

2018-09-07 Thread Steven D'Aprano
On Fri, Sep 07, 2018 at 03:54:04PM -0400, Chip Wachob wrote: > Sorry admin, I don't know how to append a message I already sent: The same way you append to a paper letter you've already posted... by sending a new letter, with enough context to understand what you're talking about. -- Steve

Re: [Tutor] Help with building bytearray arrays

2018-09-07 Thread Cameron Simpson
On 07Sep2018 15:45, Chip Wachob wrote: Basically I'm trying to write a block of unsigned bytes to the device and read back an equal sized block of unsigned bytes. There's a function that is provided called transfer(data_to_send, num_of_bytes) that handles the heavy lifting. Unfortunately

[Tutor] Additionally

2018-09-07 Thread Chip Wachob
Sorry admin, I don't know how to append a message I already sent: the transfer function expects an input of a bytearray and returns the same: def transfer(self, data): """Full-duplex SPI read and write. The specified array of bytes will be clocked out the MOSI line, while

[Tutor] Help with building bytearray arrays

2018-09-07 Thread Chip Wachob
Hello, I've been struggling with this for the last day or so and I can't seem to figure out how to make it work. I'll start out by saying that if there's a better approach, then I'm all ears. I'm using the Adafruit Breakout board for the FTDI FT232H part. Along with this comes the Python

[Tutor] No module named uno in virtual environment

2018-09-07 Thread Jim
Mint 18.1 System python3 3.5.2 Python3-uno is available to the system python3. How can I make it available to python 3.6.5 in a virtual environment I installed using venv? (env36) jfb@jims-mint18 ~ $ python Python 3.6.5 (default, May 3 2018, 10:08:28) [GCC 5.4.0 20160609] on linux Type

Re: [Tutor] Writing for loop output to csv

2018-09-07 Thread Peter Otten
Cameron Simpson wrote: > On 06Sep2018 12:32, Brandon Creech wrote: >>Hi, I am working to forecast the temperatures for the next 5 days using an >>API and a for loop. I would like write the output of this loop to a csv in >>this format:: >> >>Columns: City, min1, max1, min2,