Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~13.1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for harrykokil

hi guys.. im new to this forum and im certain its here that all my problems will be solved. In fact I have a traffic simulation project in python. Im stuck at the very start since ive never programmed in python. I would like to know how to make an …

Member Avatar for TrustyTony
0
10K
Member Avatar for harrykokil

how do i set the input value to 150 as default? n if i enter non-integer value how can i validate it?? thanks [icode] from Tkinter import * root = Tk() lbl = Label(root, text = "Enter Number of vehicles", bg = 'blue', fg= 'white') lbl.pack() textbox = Entry(root, width="20", …

Member Avatar for vegaseat
0
85
Member Avatar for harrykokil

hi guys.. i want to disable a button in tkinter (this mean i can't click on that button) for 3 seconds if the user has already clicked on that button. how can i do that?

Member Avatar for vegaseat
0
114
Member Avatar for harrykokil

hi guys.. hw can i reset my whole software in tkinter?? as if to restart running the software?? thanks..

0
45
Member Avatar for harrykokil

hi everyone.. i have a face recognition project to do in any language.. i have no clues on how to begin this.. can anyone plz send me an algorithm on face recognition using neural networks?? thanks

Member Avatar for ithelp
0
108
Member Avatar for harrykokil

hi guys.. ive tried to integrate a timer code (which works fine) into a tkinter window but im having errors. can u plz fix it 4 me? thanks. this is the code i want to integrate. [icode] import Tkinter as tk import time def start(): global count_flag count_flag = True …

Member Avatar for jlm699
0
112
Member Avatar for harrykokil

hi every one i created a slidebar in tkinter. as i move it forward the value of a variable increases. but as i move it backwards, the value also increases. it should decrease. do u guys have a simple slidebar implemeted and which affect the value of an attribute? thanks

Member Avatar for vegaseat
0
104
Member Avatar for harrykokil

hi guys.. i implemented a stopwatch and as i run my software, the stopwatch starts. what i want is to implement a method to start the stopwatch and another method to stop the stopwatch. can u give me an example of this please? thanks..

Member Avatar for harrykokil
0
1K
Member Avatar for harrykokil

how can i create 50 apples at different positions on screen without having to each time call the constructor 50 times? [icode] import Tkinter as tk from Tkinter import * import time class Apple(object): def __init__(self, a,b,c,d): self.rect = canvas.create_oval(a,b,c,d) root=tk.Tk() canvas = tk.Canvas(root, width=300, height=300, bg="#FFFFFF") canvas.pack() for x …

Member Avatar for lllllIllIlllI
0
148
Member Avatar for harrykokil
Member Avatar for woooee
0
72
Member Avatar for harrykokil

hi guys.. hw can i set the position of a scale (slidebar) on screen in tkinter??

Member Avatar for sneekula
0
61
Member Avatar for harrykokil
Member Avatar for Gribouillis
0
50
Member Avatar for harrykokil
Member Avatar for Z8934
0
72
Member Avatar for harrykokil

how do I trigger a function after x seconds in pygame?? i have seen the "pygame.time.set_timer(event,ms), but i want to trigger a function instead of an event. hoping for a quick reply thanks...

Member Avatar for Arrorn
0
57
Member Avatar for harrykokil

how can threading in python help me in my traffic simulation project? can i use it to detect other cars?

Member Avatar for scru
0
63
Member Avatar for harrykokil

is pygame used for games only? or it is used for some application like traffic simulation? can we produce a slide bar in pygame?

Member Avatar for lllllIllIlllI
0
84
Member Avatar for harrykokil

hi everyone, i urgently need your help for my project. I need to implement collision detection in my program. I have been trying for a month but so far I haven't found any good solution. I'm providing my piece of code hoping you guys can help me out. Thanks [icode] …

0
55
Member Avatar for harrykokil

hi guys i have a small problem. the cars in my program collide against each other. it works when i don't have any class car. but now there's some confusion with the speed of the car. ive worked for hours on this but no solution found. i hope u guys …

Member Avatar for Stefano Mtangoo
0
93
Member Avatar for harrykokil

hello guys im stuck for quite a while with this problem and i badly need ur help. in fact i wanna make the red rectangle slow down when it comes close to the blue one. it would be nice if they both move at the same speed. ive tried several …

Member Avatar for harrykokil
0
74
Member Avatar for harrykokil

can u plz debug it for me?? thanks [icode] import Tkinter as tk import time import sys import datetime as dt from Tkinter import * root=tk.Tk() root.title("Traffic Simulation") canvas = tk.Canvas(root, width=1000, height=400, bg="#FFFFFF") canvas.pack() for x in range (1,10): print 'orange'+x canvas.update() root.mainloop() [/icode]

Member Avatar for harrykokil
0
91
Member Avatar for harrykokil

Hi guys.. Im stuck on my project and i urgently need ur help. i want to randomly generate some moving rectangles (one after another moving in the same direction). this should occur infinitely. So far i have only managed to create one moving rectangle. i hope u guys can help …

Member Avatar for harrykokil
0
460
Member Avatar for harrykokil

hi guys.. im having problems with my traffic lights. i want to execute the procesing of the traffic lights infinitely (i.e red to green to red continuously). im providing my code hoping to get a positive response soon. thanks.. [code=python] import Tkinter as tk import time import sys import datetime …

Member Avatar for sneekula
0
176
Member Avatar for harrykokil

hi guys am stuck with my project.. i want to make the car stop when the lights are red and then move when its green. im providing you my code hoping you can help me.. thanks.. [code=python] import Tkinter as tk import time import sys import datetime as dt from …

Member Avatar for Luckymeera
0
62
Member Avatar for harrykokil

hi guys.. is it appropriate to use tkinter for traffic simulation where there is a lot of movement (rotation) of cars taking into consideration its speed? thanks..

Member Avatar for sneekula
0
40
Member Avatar for harrykokil

hi everyone i wanna create a class in tkinter but im finding it very difficult to begin it as im new to python. i want a class traffic light that will operate continuously (that is red to green to red.... ). thanks..

Member Avatar for harrykokil
0
106