[Tutor] call key on_press event multiple times when key is held down

2017-07-04 Thread Carlton Banks
I am trying to record from my microphone while i press down a button, problem is that the library I am using is not able to detect on hold event. It only detect on press, which happens once, which means that the microphone only records one sample.. import pyaudio import wave from pynput import

Re: [Tutor] Fwd: Re: call key on_press event multiple times when key is held down

2017-07-04 Thread Carlton Banks
> >> Interesting solution, but still find a bit "dirty hackish” >> to involve a timer in this.. I guess it just would be neat if >> it just worked as i thought it to be. But i guess i have to look into >> curses. > > A timer based loop is actually the standard pattern for > implementing a loo

Re: [Tutor] call key on_press event multiple times when key is held down

2017-07-10 Thread Carlton Banks
being recorded. Any suggestion on why? > Den 4. jul. 2017 kl. 14.45 skrev Carlton Banks : > >> >>> Interesting solution, but still find a bit "dirty hackish” >>> to involve a timer in this.. I guess it just would be neat if >>> it just worked as i

Re: [Tutor] call key on_press event multiple times when key is held down

2017-07-10 Thread Carlton Banks
Thanks for the response :) > Den 10. jul. 2017 kl. 10.54 skrev Peter Otten <__pete...@web.de>: > > Carlton Banks wrote: > >> So i tried a different solution, introducing two threads one handling the >> keyboard, and the other one is a while true, that keeps runnin

Re: [Tutor] help with macOS version 10.12.5

2017-07-10 Thread Carlton Banks
Have you tried brew install python3 Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (caskroom/cask, homebrew/core, homebrew/science). ==> Updated Formulae berkeley-dbhomebrew/science/nco percona-server bitrisehugo percon

Re: [Tutor] call key on_press event multiple times when key is held down

2017-07-13 Thread Carlton Banks
> On 04/07/17 13:45, Carlton Banks wrote: > >> Any suggestion on any GUI solutions? > > Here is a Tkinter solution that increments a counter > while the mouse button is pressed. It should give you the idea... > Obviously you need to replace the counter increment > with

Re: [Tutor] C++ or Python?

2018-07-03 Thread Carlton Banks
tir. 3. jul. 2018 18.25 skrev Bellamy Baron : > Hi, > > I have heard C++ is faster than python and I have a few questions > 1.Is there a way to make python run just as fast > Look Up cpython might be a bit faster 2.can I get in a serious game making team like 343 by using python > No > 3. if C++

Re: [Tutor] C++ or Python?

2018-07-04 Thread Carlton Banks
Yes i meant cython.. can see that my phone autocorrects to cpython for some reason.. ons. 4. jul. 2018 10.33 skrev Mark Lawrence : > On 03/07/18 17:30, Carlton Banks wrote: > > tir. 3. jul. 2018 18.25 skrev Bellamy Baron : > > > >> Hi, > >> > >> I have

Re: [Tutor] Python programming help!

2018-09-23 Thread Carlton Banks
Without having Seen the code, use og statements.. but please provide is the code... søn. 23. sep. 2018 15.26 skrev Bob Gailer : > On Sep 23, 2018 3:33 AM, "V E G E T A L" > wrote: > > > > Hello folks! So, I'm pretty much a noob still experimenting with basic > > commands. I wanted to make a code

Re: [Tutor] Help please

2018-10-11 Thread Carlton Banks
What are you trying to do? tor. 11. okt. 2018 18.33 skrev Holly Jo : > > I have no clue what I’m doing wrong, I’m a new student > > food_1=input("Sushi") > food_2=input("Quesdilla") > new_food=food_1+food_2 > print("Combining these foods will you,",new_food) > input("Press enter to continue") > >

Re: [Tutor] Help please

2018-10-11 Thread Carlton Banks
https://www.w3schools.com/python/ref_func_input.asp tor. 11. okt. 2018 18.51 skrev Carlton Banks : > What are you trying to do? > > tor. 11. okt. 2018 18.33 skrev Holly Jo : > >> >> I have no clue what I’m doing wrong, I’m a new student >> >> food_1=input

Re: [Tutor] pip install

2018-10-16 Thread Carlton Banks
I never had any success with Windows and python, and even the Ubuntu shell which Windows do offer as a feature isnt that good in my opinion. But a big googling gave me this tutorial.. http://timmyreilly.azurewebsites.net/python-pip-virtualenv-installation-on-windows Might be bit more useful ?

Re: [Tutor] Neutral Networks

2019-07-07 Thread Carlton Banks
perhaps something needs to be cleared? What do mean by identify, as in recognition or detection? what kind of network? What NN framework (Keras, tenser flow,caffee etc.) Are both people in the same frame? > Den 7. jul. 2019 kl. 04.49 skrev Rashmi Vimalendran > : > > Hi, > > I hope this email