What would be the best way to do the following.
Enter a very long number, lets say 500,000 digits long without it going into scientific notation; and then am able to
Mathematica allows you to do such math and you can write complete programs in it.
Otherwise, what you seek is a "library" to extend the built-in functionality of another programming language, such as Python or Java.
In the case of Python, the decimal module enables you to specify a precision in which math operations will be peformed.