[Tutor] how to print random number multiply

2011-01-14 Thread walter weston
I have mostly studied python and now I'm ready to start writing code. I want to print random numbers a certain ammount of times I am using the code import random print (random.random()) I tried bind the print statement to a variable and when I call x for example I want it to print new

[Tutor] how come this doesnt work

2011-01-14 Thread walter weston
I generate a random number(supposedly a password, in my case its just a long floating point lol),I want the user to reinput that number and I want to print a string if the number entered is correct. so if m==num(num is the number generated and m is the variable which stores the input ) then I w

[Tutor] TKinter help

2011-01-15 Thread walter weston
I am just starting to learn Tkinter and I was wondering if I should just run tkinter in pythons new findow and run the program. Iv done this before and my python crashed.. plus I want to create a text widget that has a quit box. will pythons IDLE be able to handle this and display the widget ?

[Tutor] Anyone interested in making a Python Help hotline?

2011-01-15 Thread walter weston
I thought creating a Python help hotline would help programmers exponential! I think they should make a help hotline for every programming language. and since I havent discovered something similar It would probably be lucretive! _

[Tutor] Anyone interested in creating a python help hotline?

2011-01-15 Thread walter weston
I thought creating a Python help hotline would help programmers exponential! I think they should make a help hotline for every programming language. and since I havent discovered something similar It would probably be lucretive! __

[Tutor] Calaculating a monthly total of earning

2011-01-16 Thread walter weston
Heres my code: def income_report(yearly_income,hourly_income): """ this will count the average of your total monthly income""" sum_of_monthly=int(yearly_income/12)# his yearly income dividing by 12. minus_weekends=hourly_income*64 #the 64 is the two days off for the weekend(assuming

[Tutor] If I use this code will it delete my program fileS?

2011-01-20 Thread walter weston
I have a question I know the shutil module deletes directories, If I use this code will it delete all of my program files? import shutil shutil.rmtree('C:\Program Files (x86)') ___ Tutor maillist - Tutor@pyth

[Tutor] ideas for a simple program

2011-01-25 Thread walter weston
can I have some good ideas for simple programs, I have come to realize the hardest part of programming is not having a project to do and having to think of one haha ___ Tutor maillist - Tutor@python.org To

[Tutor] pywin32 help

2011-01-29 Thread walter weston
hello I am running python 2.7 , I am trying to install pywin32 version 2.7 when I run the setup.py file a black console windows pops up displays some text and dissappears before I can read any of the text . I dont know what says so I cant give details here is the link to pywin32 : http://sourcefor

[Tutor] noobie question,,,error related

2011-01-30 Thread walter weston
I get this error when I try and load the datetime module, Traceback (most recent call last): File "C:/Python27/TIMED_PROGRAM.py", line 2, in datetime.ctime() AttributeError: 'module' object has no attribute 'ctime' why is this? ___ Tutor maillis