Magic commands in IPython denote a set of specific syntactic options that allow for considerably convenient APIs that make working with IPython seamless. Here, we will be going over some of these magic commands to get a feel of the options that IPython offers:
- object_name?: Say you are using an IPython console to execute a sequence of Python commands, and at one point, you'd like to inspect the value of a variable that was created earlier. You can use the variable view right next to the console, but you can also take advantage of the object_name? command in IPython to list detailed information about that variable.
For example, as illustrated in the following screenshot, number 1 was assigned to the a