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
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
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 ?
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!
_
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! __
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
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
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
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
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
10 matches
Mail list logo