简体   繁体   中英

Difference between virtualenv and “virtualenv .”

A command line instruction on this page https://github.com/plumi/plumi.app/blob/master/docs/INSTALL.rst

is "virtualenv ."

That is, there's a period after a space.

I can't find any documentation for including a period after virtualenv in this manner.

Do you think this matters, does it make no difference if one simply writes virtualenv without the period?

virtualenv --help
Usage: virtualenv [OPTIONS] DEST_DIR

From a forum post :

"." (dot) has many meanings:
In a pathname it means "current directory"--eg. ./filename
As a prefix to a filename, it causes it to be hidden--eg. .filename
It is a synonym for the "source" command--used to pull an executable file into a script.--eg: . execfile (note the space)
In a regular expression it matches any single character.

As blender pointed out, the command virtualenv . will make the virtualenv in the current directory

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM