Python won't import math module. It's fetching a file that isn't even there. What do I do?
===

    
    # quadratic.py
    # A program that computes the real roots fo a quadratic equation.
    # Illustrates the use of the math library
    # Note: This program crashes if the equation has no real roots

    import math	# math makes the library available

    def main():
   	    print "This program finds the real solutions to a quadratic"
	    print
	
	    a, b, c = input("Please enter the coefficients (a, b, c): ")
	    discRoot = math.sqrt(b * b - 4 * a * c)
	    root1 = (-b +discRoot) / (2 * a)
	    root2 = (-b +discRoot) / (2 * a)
	
	    print
	    print "The solutions are: ", root1 , root2 
	
    main()


  

Her's the error I'm getting:

Macintosh-7:python andrewmetersky$ python quadratic.py
The answer to my homework question: what is i+x+j =
Traceback (most recent call last):
  File "quadratic.py", line 6, in <module>
    import math	# math makes the library available
  File "/Users/andrewmetersky/Desktop/Programming/Python/math.py", line 5, in <module>
NameError: name 'jp' is not defined

The problem is, math.py isn't even a file in that location.  It was, but I deleted it because i figured Python was trying to fetch that and not the math module.  There is a file called math.pyc in that location...is that the module? why won't it fetch that.

Thanks

PS- Also,  how do I make that section i just pasted appear as code w/in stack overflow without having to press space 4x for each line.