Binary

2007-06-08 Thread Brain Murphy
I am trying to make a programm that converts a decimal number like 79 to a binary number. where it asks you for a number then produces the binary. so far I have this: x = (input("Enter number: ")) b = 2.0 while x > 0: print x x = x/b I need it to show the remainder. like remainder 1 or 0

programs

2006-03-09 Thread Brain Murphy
I still dont know a lot about python, it seems that the only programs that i can write are like dos. I have some songs on my computer and was wondering if i could make it some that when a certain program is ran this song will play. Can i do this? can i make my programs look better looking when run

Re: New python.org website

2006-03-07 Thread Brain Murphy
I dont know, when i went to the web site i wasent sure i was in the right place, i prefer the old web site, it (no pun intendid) said Python all over it. the logog was good and i had no trouble finding anything when i first went there. BrianMichael Tobis <[EMAIL PROTECTED]> wrote: While the new o

Re: newbie question

2006-03-01 Thread Brain Murphy
i keep on getting this message that says socket error, then says that python was unable to connect to its start up process. what does this mean and how can i fix it? D <[EMAIL PROTECTED]> wrote: Yep, that should work. Just keep in mind that if python.exe is not inyour path, you will need to eith

newbie

2006-02-27 Thread Brain Murphy
I have some questions, 1) I am trying to have multiple def's but it is not working. for instance, i am using the tutoreals and am trying to combine the phone book as well as the grades..ect so that it would look somthing like this:   def print_options():     print "options:"   

python

2006-02-06 Thread Brain Murphy
I am new to python and programming but i was wondering, what can i program with python?? Brian Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo.-- http://mail.python.org/mailman/listinfo/python-list