简体   繁体   English

virtualenv和“virtualenv”之间的区别。

[英]Difference between virtualenv and “virtualenv .”

A command line instruction on this page https://github.com/plumi/plumi.app/blob/master/docs/INSTALL.rst 此页面上的命令行说明https://github.com/plumi/plumi.app/blob/master/docs/INSTALL.rst

is "virtualenv ." 是“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. 我找不到任何文件,以这种方式包括virtualenv之后的一段时间。

Do you think this matters, does it make no difference if one simply writes virtualenv without the period? 你觉得这很重要吗,如果一个人只是简单地写出没有这个时期的virtualenv,那没有什么区别吗?

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 . 正如搅拌机指出的那样,命令virtualenv . will make the virtualenv in the current directory 将在当前目录中生成virtualenv

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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