Ask your own question, for FREE!
Computer Science 21 Online
OpenStudy (anonymous):

Python help!

OpenStudy (anonymous):

How do I increase the degree of accuracy in Python. Right now, for example:\[\frac{121}{3}=40.0000000\] How do I right this?

OpenStudy (anonymous):

http://packages.python.org/bigfloat/#id1 and how do I actually INSTALL this?

OpenStudy (rsmith6559):

>>> 121 / 3.0 40.333333333333336 To install that package, just unpack it (if needed) and cd into it's directory and run: python setup.py install

OpenStudy (anonymous):

Sorry, I'm useless- I don't know what that means! I've downloaded the zip files for bigfloat and and GMP and MPFR 'libraries' and extracted them onto my desktop. What do I do now?

OpenStudy (rsmith6559):

In Terminal (or Command Prompt), type "cd " (without quotes). Drag the folder that the downloaded files are in onto the window. That will give you the path to where the files are. Press enter/return. Type the following command, and press enter/return. python setup.py install You really need to learn command line stuff if you're going to program.

OpenStudy (anonymous):

I'm learning. Thanks!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!