No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
| |
im writing a personal program thats storing scores. The layout is done using Tkinter using labels buttons and entry widgets, however, because there are a lot of entry widgets needing created i just stuck their creation in a loop, [code] for m in range(1,10): self.input_score = Entry(frame,width=6) self.input_score.grid(column=5, row=m) [/code] … | |
Re:
Im only new to python but im trying to write a code that will allow me to randomly generate a number between 1 & 15, I know that part is import random def main(): number=random.randrange(15) + 1 But im not sure where I need to go to from here to … | |
Re:
Hi everyone, Just started programming in Python and iI'm already starting to like this language very much. I have a problem with a program I wrote last night - I'm trying to ping a certain host using [CODE]os.popen("ping xxx.xxx.xxx.xxx"[/CODE] and then read the %errorlevel% from my system using [CODE]result = … |