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

2018-09-29 Thread Steven D'Aprano
On Wed, Sep 19, 2018 at 05:47:07PM -0400, Chip Wachob wrote: [...] > I've looked through the code in the FT232H.py file and found what I > believe to be the culprit. > > 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 w

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

2018-09-23 Thread Chip Wachob
Looks like I'm golden in this regard. My first path element is '' which is what I'd want if I'm including a modified library. Thank you, On Thu, Sep 20, 2018 at 6:14 PM, Mats Wichmann wrote: > On 09/19/2018 09:59 PM, Chip Wachob wrote: >> Mats, >> >> Silly question here.. >> >> But after usin

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

2018-09-20 Thread Mats Wichmann
On 09/19/2018 09:59 PM, Chip Wachob wrote: > 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

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