Search Results

Showing results 1 to 23 of 23
Search took 0.01 seconds.
Search: Posts Made By: Arrorn
Forum: Python Jul 17th, 2009
Replies: 3
Views: 203
Posted By Arrorn
thanks for your help i'll try both out see what works for me....

Thank you so much.
Forum: Python Jul 17th, 2009
Replies: 3
Views: 203
Posted By Arrorn
How do I run a .py file from another python file....

I want a program depending upon the option you choose to run a different python program...

Ho do i do this...

I have tried:


import os
Forum: Python Jul 16th, 2009
Replies: 62
Views: 394,715
Posted By Arrorn
if you post what y our having problems with on the save function i could take a look at it...

not making any promises though...
Forum: Python Jul 16th, 2009
Replies: 11
Views: 2,220
Posted By Arrorn
there is no idle-python3.1 file for ubuntu it is still idle-python3.0... they just updated the syntax or something but it is still IDLE 3.0.... even though the interpreter is with version 3.1....
Forum: Python Jul 14th, 2009
Replies: 78
Views: 14,612
Posted By Arrorn
I made some minor changes to the program above but i don't feel like posting it with so little changes... the jist of what i changed is i changed:

#insert the lines of code in place of the...
Forum: Python Jul 14th, 2009
Replies: 11
Views: 2,220
Posted By Arrorn
under applications press add and remove...

search for IDLE

look for the IDLE with Python version 3 on it not the 2.5 or 2.6 version... add it and go to applications programming to run it... ...
Forum: Python Jul 14th, 2009
Replies: 11
Views: 472
Posted By Arrorn
That is want he wants to find out how to do....:idea:
Forum: Python Jul 13th, 2009
Replies: 11
Views: 472
Posted By Arrorn
dude... he may not be from an English speaking country and using a translator or what little knowledge they have to type in English... there are people like that on this site... and when have you...
Forum: Python Jul 13th, 2009
Replies: 11
Views: 2,220
Posted By Arrorn
Ok what you do is download the python 3.1 .tar.bz2 file here (http://sites.google.com/site/theunofficialguide/Home/Programs). extract it to your desktop. this is my website and its unfinished...
...
Forum: Python Jul 13th, 2009
Replies: 78
Views: 14,612
Posted By Arrorn
I just recently wanted to dabble in GUI programming so I took one of my older programs and added a GUI to it.

By the way: I'm using python 3.1 and the tkinter that comes with it... they changed...
Forum: Python Jul 9th, 2009
Replies: 2
Views: 237
Posted By Arrorn
Thank you soooo very much... spent 2 hours last night trying to update my python program but i couldn't with out that piece of info....

Thanks again..
Forum: Python Jul 9th, 2009
Replies: 2
Views: 237
Posted By Arrorn
How do I import a variable from another function in the same class


class W(object):
#my class
def variable(self):
#one of my functions
f = 5
def printf(self):
...
Forum: Python Apr 6th, 2009
Replies: 6
Views: 598
Posted By Arrorn
also for the last line of your code


index = index + 1

#you could simplify this to

index += 1
Forum: Python Apr 5th, 2009
Replies: 6
Views: 839
Posted By Arrorn
yes some more details would be more useful... such as what you are trying to shut down... a server or your program... and some snippets of code that you are having trouble with... that way we can see...
Forum: Python Apr 5th, 2009
Replies: 7
Views: 362
Posted By Arrorn
yes to compile the answers into one post there are three ways that me and my associates can think of:

putting:

#code here
input('Please press enter to close: ')
#raw_input() on any IDLE...
Forum: Python Apr 3rd, 2009
Replies: 15
Views: 1,495
Posted By Arrorn
your welcome...
glad to be of some assistance...
Forum: Python Mar 28th, 2009
Replies: 15
Views: 1,495
Posted By Arrorn
you must remember though that the easiest is not always the best solution... it could have a shortcut that will prevent you from adding to the code without having to rewrite the whole flippin...
Forum: Python Mar 28th, 2009
Replies: 4
Views: 325
Posted By Arrorn
don't know about creating a .txt but you can write in one, read one, and several other things i normally go about writing in one similar to vegaseat:


yourface = 1
f = open('randomfile.txt',...
Forum: Python Mar 28th, 2009
Replies: 2
Solved: pygame problem
Views: 264
Posted By Arrorn
you could also write a function such as:


import time

def function(self):
while :
time.sleep(1) #you put the time to wait in seconds here
#rest of function
Forum: Python Mar 28th, 2009
Replies: 15
Views: 1,495
Posted By Arrorn
if you want a program that tells you the total heads, tails, the percentage of both of these, prints the results in a easy format such as:

H
T
H
T

and allows you to export this data to a...
Forum: Python Mar 15th, 2009
Replies: 4
Views: 303
Posted By Arrorn
Thanks,

I didn't use your exact suggestion but line 15 of you suggested code gave me an idea that was far easier than rewriting my entire program.


while (dice < r):
while (counter < n):...
Forum: Python Mar 15th, 2009
Replies: 4
Views: 303
Posted By Arrorn
my code so far is:


import random
import time

print "Dice Roll Program"
print "\nProgrammed by Devon McAvoy"

r = int(raw_input("\nNumber of dice to roll: "))
Forum: Python Mar 15th, 2009
Replies: 4
Views: 303
Posted By Arrorn
I am writing a dice rolling simulation and i need help redefining a variable inside a loop.
Showing results 1 to 23 of 23

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC