« first day (651 days earlier)      last day (1537 days later) » 

1:02 AM
0
Q: Checking for a win in connect four

jdoggI'm making a simple connect four game that I will eventually extend by creating an AI that the player can play against. Given that AI algorithms are reasonably complex, I find myself wanting to reduce the algorithmic complexity of my win-checker in order to maximize performance once the entire th...

 
 
5 hours later…
6:25 AM
0
Q: **kwargs wont accept event parameter in pygame

user91416Like the title says down here you can see that i have an event handler that accepts two parameters the event and the object but for some reason i get an error every time i run the application. I am missing something here? class Application(object): def __init__(self,screen): self.sc...

 
 
1 hour later…
7:29 AM
0
Q: python create a subprocess to dispatch work?

rogerI am doing something like this: main process just need to check is this task is ok, if ok just dispatch this job to other process. and the process is something complicated, it has two parts, this first part take not that long, so do it in a process is ok; then the second part is many many s...

 
 
8 hours later…
3:55 PM
-2
Q: How can i Develop a software that can translate audio to text just like youtube do

AlphaguyI want to develop something that can generate text from the video just like youtube subtitles. I am new to programming but i know python,c and c++. I have googled many things but not got any sufficient clue.Any suggestions how can i get started ? Thankyou

 
 
7 hours later…
10:50 PM
-1
Q: very complicated Python puzzle

MathewI do not have a lot of knowledge in python coding its still fresh for me. However i have been given a scenario which i want to share with you and maybe someone can HELP me getting start it.. much appreciated thanks. So basically there is a JEEP which is in a FOREST. its at its home where there a...

 
11:07 PM
0
Q: Finding all divisors of an integer

blackenedimport functools import itertools import operator def prime_generator(n): """ Sieve of Eratosthenes Create a candidate list within which non-primes will be marked as None. """ cand = [i for i in range(3, n + 1, 2)] end = int(n ** 0.5) // 2 # Loop over candid...

 

« first day (651 days earlier)      last day (1537 days later) »