#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    New to python need help with math lib


    i am trying to learn python using beginning python

    in one of the exercises it says to load math lib
    >>>import math

    i get error messages

    i have searched the python lib folder for the math lib and not found it

    i am using an amd 64 pit processor on windows 7 professional.
    i have put the python directory in my path.
    any suggetions about my problem would be appreciated.

    mike
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,890
    Rep Power
    481
    import math



    You wrote
    >>>import math
    which is either careless or your problem.



    import math
    math.cos(0.739085)
    [code]Code tags[/code] are essential for python code and Makefiles!
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0
    thandks for the help

    dislexia strikes again
    no realy, big time dislexia, this is the reason that i dont program profesioonaly only on an amature basis

    mike

IMN logo majestic logo threadwatch logo seochat tools logo