Video tutorial for making a guess the number game in python

2013-05-04 Thread eli m
I made a video tutorial for making a guess the number game in python. You can check it out here: http://www.youtube.com/watch?v=0WSQb-7wMJQ -- http://mail.python.org/mailman/listinfo/python-list

Re: Small program ideas

2013-03-18 Thread eli m
Any other ideas? -- http://mail.python.org/mailman/listinfo/python-list

Re: Problem this random seed()

2013-03-18 Thread eli m
On Monday, March 18, 2013 6:57:30 PM UTC-7, NZach wrote: Hello everyone, i am using the MMK.py example from a SimPy tutorial, which can be found here: http://heather.cs.ucdavis.edu/~matloff/156/PLN/DESimIntro.pdf I have made very little changes to the code and i have upload it

Insert comma in number?

2013-03-06 Thread eli m
I have a python program that accepts input and calculates the factorial of that number, and i want to know if i can make it so commas get inserted in the number. For example: instead of 1000 it would say 1,000 -- http://mail.python.org/mailman/listinfo/python-list

Input wont work with if statement if it has a space

2013-03-05 Thread eli m
Hi guys, i have a program like this: (A lot of code is not included) run = 0 while run == 0: raw_input(Type in a function:) if function == Example: print (Hello World!) else: print (blah blah blah) The problem is that whenever i type in example with a space after it then it

Re: Input wont work with if statement if it has a space

2013-03-05 Thread eli m
On Tuesday, March 5, 2013 3:31:13 PM UTC-8, eli m wrote: Hi guys, i have a program like this: (A lot of code is not included) run = 0 while run == 0: raw_input(Type in a function:) if function == Example: print (Hello World!) else: print (blah blah blah

Re: Input wont work with if statement if it has a space

2013-03-05 Thread eli m
On Tuesday, March 5, 2013 3:47:31 PM UTC-8, emile wrote: On 03/05/2013 03:33 PM, eli m wrote: On Tuesday, March 5, 2013 3:31:13 PM UTC-8, eli m wrote: Hi guys, i have a program like this: (A lot of code is not included) run = 0 while run == 0: function

Store a variable permanently

2013-02-28 Thread eli m
So i have a variable called funds that i want to store the value of even after the program is exited. My funds variable holds the total value of funds i have. I add a certain number of funds each time i run the program by entering how much i want to add. How would i store the funds variable to

Display video in tkinter?

2013-02-27 Thread eli m
Is there a way to display video (an avi) in tkinter without having to download other modules? If not then are there any other options? -- http://mail.python.org/mailman/listinfo/python-list

How would you do this?

2013-02-27 Thread eli m
How would you find the slope, y intercept, and slope-intercept form equation for a line in python? -- http://mail.python.org/mailman/listinfo/python-list

Re: Small program ideas

2013-02-26 Thread eli m
On Monday, February 25, 2013 10:15:24 PM UTC-8, Dave Angel wrote: On 02/25/2013 10:48 PM, eli m wrote: On Friday, February 15, 2013 7:22:41 PM UTC-8, eli m wrote: Any small program ideas? I would prefer to stick to command line ones. Thanks. Thank you guys for the suggestions

Re: Small program ideas

2013-02-26 Thread eli m
On Tuesday, February 26, 2013 4:22:10 PM UTC-8, Joshua Landau wrote: On 26 February 2013 22:47, eli m techg...@gmail.com wrote: How hard would it be to change one file to another and would it be a small-medium sized program? How do you want to change it? Like rename a file

Re: Small program ideas

2013-02-25 Thread eli m
On Friday, February 15, 2013 7:22:41 PM UTC-8, eli m wrote: Any small program ideas? I would prefer to stick to command line ones. Thanks. Thank you guys for the suggestions. Any more? -- http://mail.python.org/mailman/listinfo/python-list

Import Question

2013-02-20 Thread eli m
How long does it take for the program to import something? I am asking this because i have like 7 imports at the beginning of my program and i am thinking thats the reason why it is slow to start up. Thanks in advance. -- http://mail.python.org/mailman/listinfo/python-list

Small program ideas

2013-02-15 Thread eli m
Any small program ideas? I would prefer to stick to command line ones. Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Small program ideas

2013-02-15 Thread eli m
On Friday, February 15, 2013 7:52:57 PM UTC-8, Mitya Sirenef wrote: On 02/15/2013 10:22 PM, eli m wrote: Any small program ideas? I would prefer to stick to command line ones. Thanks. How about these two: - simulation of a street crossing with green/red lights allowing cars

How would you do this?

2013-02-14 Thread eli m
I want to make a guess the number game (Which i have), but i want to make the computer play the game against itself. How would i do this? -- http://mail.python.org/mailman/listinfo/python-list

Re: How would you do this?

2013-02-14 Thread eli m
On Thursday, February 14, 2013 4:09:37 PM UTC-8, Oscar Benjamin wrote: On 14 February 2013 23:34, eli m techgeek...@gmail.com wrote: I want to make a guess the number game (Which i have), but i want to make the computer play the game against itself. How would i do this? Your

Pick random choice from variables

2013-02-10 Thread eli m
How do i make something with python that will ask the user for input, and then use the random.choice function to select a random choice from what the user entered. -- http://mail.python.org/mailman/listinfo/python-list

Re: Else statement executing when it shouldnt

2013-01-21 Thread eli m
On Sunday, January 20, 2013 9:56:59 PM UTC-8, alex23 wrote: On Jan 21, 2:40 pm, eli m techgeek...@gmail.com wrote: an else statement is running when it shouldnt be. It is on the last line. Whenever i am in the math or game function, when i type in main, it goes back to the start

Else statement executing when it shouldnt

2013-01-20 Thread eli m
an else statement is running when it shouldnt be. It is on the last line. Whenever i am in the math or game function, when i type in main, it goes back to the start of the program, but it also says not a valid function. I am stumped! Here is my code: #Cmd #Created By Eli M. #import modules

Re: Else statement executing when it shouldnt

2013-01-20 Thread eli m
On Sunday, January 20, 2013 8:54:13 PM UTC-8, René Klačan wrote: You have to break while loop not to execute else branch Rene Can you explain in more detail please. -- http://mail.python.org/mailman/listinfo/python-list

Re: Else statement executing when it shouldnt

2013-01-20 Thread eli m
Your else is lined up with while, not with if. -m -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ When a friend succeeds, I die a little. Gore Vidal Its lined up. It got messed up when i copied the code into the post. --

Re: Else statement executing when it shouldnt

2013-01-20 Thread eli m
On Sunday, January 20, 2013 8:40:47 PM UTC-8, eli m wrote: hint: Use the comments in the code to find out where my error is. Here is my code: #Cmd #Created By Eli M. #import modules import random import math gtn = 0 print (Type in help for a list of cmd functions

Re: Else statement executing when it shouldnt

2013-01-20 Thread eli m
On Sunday, January 20, 2013 8:52:12 PM UTC-8, Chris Angelico wrote: On Mon, Jan 21, 2013 at 3:40 PM, eli m techgeek...@gmail.com wrote: an else statement is running when it shouldnt be. It is on the last line. Whenever i am in the math or game function, when i type in main, it goes back