In ATOM, when I run line 2 of a Python code separately from line 1, I'd like ATOM to remember the object created in the line 1. How?

Viewed 12

Imagine you want to run a Python code on ATOM in two separate parts, first the first line, then the second line. Eg:

x=5

print(x)

ATOM by default does not keep in memory the objects created in the first line, so if I run the above second line separately from the first it will not know what is x. How can I change that? In Jupyter I can build a code sequentially, is there no way to do that in ATOM? (I want to use it for BERT use, where the first part of the code takes 30min to run)

0 Answers
Related