What is the difference between python and ipython?

Asked 2 years ago, Updated 2 years ago, 20 views

This is a question from a beginner in Python Haha

Currently, we are planning to use TensorFlow and Keras in the lab

Eight hours of hard work on your laptop and computer with Jupiter laptops and anaconda, TensorFlow, Keras and

I've installed various packages.

As a result, I learned about iPython

For example, if you write a tensorflow test code as follows,

import tensorflow estf
a = tf.constant(10)
b = tf.constant(20)
sess = tf.Session()
print(sess.run(a+b))

It runs the same on both Python and iPython.

I think the grammar is the same and the Python codes that I already wrote are executed the same way, so why are the two different?

python

2022-09-22 13:59

1 Answers

Unlike regular Python, it can run on a per-block basis, making debugging easier and useful, such as %%time or %%cython.


2022-09-22 13:59

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.