Re: [Tutor] Best solution to modifying code within a distributed library

2018-09-19 Thread Chip Wachob
Mats, Silly question here.. But after using the git clone command, I've got a directory of the Adafruit project in the same directory as my project. When I import the library, will I get the 'installed' library, or do I get the library that is in the project directory? If I have to specify whic

Re: [Tutor] Best solution to modifying code within a distributed library

2018-09-19 Thread Chip Wachob
David, I should have pointed out that I've already posted to the forums there and there is only crickets. So, I've taken it upon myself to attempt to solve it for myself. But, as I noted, I'm very very new to Python and the whole .egg, pip, git thing, and that's what lead to my query here. Mats

Re: [Tutor] Best solution to modifying code within a distributed library

2018-09-19 Thread David Rock
> On Sep 19, 2018, at 18:51, Mats Wichmann wrote: > > On 09/19/2018 03:47 PM, Chip Wachob wrote: >> Hello once again, >> >> I would like to comment out line 340 (self.mpsse_write_gpio()) to >> prove that this is what is causing glitches that I do not want. >> > > You'll want to get the origin

Re: [Tutor] Best solution to modifying code within a distributed library

2018-09-19 Thread Mats Wichmann
On 09/19/2018 03:47 PM, Chip Wachob wrote: > Hello once again, > > I'm sure this is probably way outside my 'pay grade' but I would like > to try an experiment and I'm not sure how to go about it. > > I'm using the Adafruit FT232 libraries found here: > > https://github.com/adafruit/Adafruit_Pyt

[Tutor] Best solution to modifying code within a distributed library

2018-09-19 Thread Chip Wachob
Hello once again, I'm sure this is probably way outside my 'pay grade' but I would like to try an experiment and I'm not sure how to go about it. I'm using the Adafruit FT232 libraries found here: https://github.com/adafruit/Adafruit_Python_GPIO/blob/master/Adafruit_GPIO/SPI.py I'm experiencing

[Tutor] Fwd: How to roughly associate the values of two numpy arrays, or python lists if necessary

2018-09-19 Thread Alan Gauld via Tutor
Forwarded to list I have, I suspect, an elementary problem that I am too inexperienced to resolve. I have two numpy arrays, each representing the values of a specific property of a set of cells. Now, I want to associate the two values for each cell, that is fo