0
!pip install -q hvplot

Why is there a "!"? What does "-q" mean? If I use Windows Command Prompt, shall I use the following code instead to make it work

pip install hvplot
Mehmaam
  • 573
  • 7
  • 22
Michael
  • 53
  • 5

1 Answers1

-1

! stands for history expansion in unix read more about it here.

-q stands for quiet it results in less code being logged in the terminal, you can also do --quiet for quiet

Harsh Gupta
  • 527
  • 1
  • 3
  • 13
  • Thanks, Harsh! I am not using unix. I am using windows. I guess I should type pip instead of !pip. Correct? – Michael Aug 20 '22 at 12:07
  • @Michael yes but if you want you can try -q but it is not neccessary. – Harsh Gupta Aug 20 '22 at 12:08
  • `!` could stand for history expansion in some unix shells but not in that case. Currently it means "run the command in a shell instead of Python" in a Jupyter Notebook: https://stackoverflow.com/q/65547021/7976758 – phd Aug 20 '22 at 12:41
  • @phd the question nowhere mentions jupyter notebooks – Harsh Gupta Aug 20 '22 at 12:43
  • That's because the question is quite bad. The OP saw somewhere the syntax without understanding it's a syntax for Notebooks. – phd Aug 20 '22 at 12:45