What is the significance of ! and % prefix in notebook cells?

what is the significance of ! and % prefix in notebook cells?

1 Like

Hey @rrka79wal, Welcome to the community.
The commands starting with % are known as magic commands, Magics are specific to and provided by the IPython kernel. Check the documentation here

The exclamation mark ! is used for executing commands from the underlying operating system(Terminal/cmd commands). This can be useful for many things such as getting information without having to open a Terminal/Command Prompt, or installing a conda package you are trying to use.

3 Likes

@birajde
Thanks a lot sir.

1 Like