AI engineering glossary · Python advanced
What is future?
Future: An object representing a result that will be available later, either from an executor or the event loop. You can check whether it is done, wait for it or retrieve its result or exception.
Future: an example
future = executor.submit(train_model) returns immediately; future.result() waits and returns the outcome.
Related terms
More Python advanced terms
Where you learn it
Future is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.