This can be done by copying the Python file to a spot on the PYTHONPATH and appending a stanza such as the following to the configuration file.See listing 6a.
通过把Python文件复制到PYTHONPATH上的某一处并把诸如下面所示的一节附加到配置文件上,就可以做到这一点。
You can do another layer of versioning by appending version Numbers to the name of the BAR file.
您可以通过将版本号追加到BAR文件的名称中的方式执行另一层的版本定义。
For instance, most important system processes, such as E-mail transport and remote access, continuously log activity, appending each new entry to the end of the file.
例如,最重要的一些系统处理,如电子邮件传输和远程访问、持续日志记录活动,都会在文件的末尾添加新的条目。
You must ensure, for example, that you are appending, not overwriting, information to the log file (see Listing 6).
例如,您必须确保是将信息追加(而不是覆盖)到日志文件中(请参见清单6)。
The code in Listing 6 shows reading the ASCII-armor encrypted text file in, appending the stored date and time information, and resuming the quick-add text process.
清单6中的代码表示读入经ascii封装的加密文本文件(附带了存储日期和时间的信息),然后重新启动快速添加文本的过程。
You can easily do so in Python by appending 'b' to the file mode when you create the file object, as shown in Listing 7.
在创建file对象时,通过把'b'添加到文件模式中,可以很容易地用 Python 处理二进制数据,如清单7 所示。
'a' indicates that you want to write data to the file, appending to the end.
'a '表示要向文件写入数据,但是添加到当前内容尾部。
The name of this file is created by appending the pattern name with Description.html.
该文件的名字通过在模式名后附加Description . html生成。
The name of this file is created by appending the pattern name with Parameters.html.
该文件通过在模式名后增加Parameters . html命名。
Tip: If you are using Notepad, when you go to save the file, wrap the filename in double-quotes (for example, "hello.mxml") to stop Notepad from appending the .txt extension to your file.
提示:如果您使用的是记事本,在保存文件时用双引号括住文件名(例如,“hello.mxml”)以防止记事本给文件添加扩展名 .txt。
If you're appending only a single line instead of multiple lines or an entire file, you can use echo instead of cat.
如果您仅追加单行而不是多行或整个文件,您可以使用echo而不是cat。
The following example opens the file log.txt for appending and assigns the object to fid. A string is then redirected to the file, fid, using print
如下的例子会打开文件log.txt以便进行追加并将对象指定给 fid。
Its file name is created by appending the pattern name with Overview.html.
它的文件名是在模式名后面附加overview . html。
Now the file contents are the contents that were present at instance a and not when the other program finished whatever (appending assumed).
现在,文件内容是内容,是在提出一个实例,而不是在任何其他程序完成(追加假设)。
Creates a method in the code behind for a user's XAML file and enables appending statements to the method.
在程序码后置中为使用者的xaml档建立方法,并且让方法可以附加陈述式。
You are overwriting the data already on the file instead of appending it.
要覆盖已有数据的文件而不是将其。
How to copy multiple files and rename them at once by appending a string in between the file names in Unix?
如何复制多个文件重命名他们立刻通过追加一个字符串在UNIX文件名之间?
How to copy multiple files and rename them at once by appending a string in between the file names in Unix?
如何复制多个文件重命名他们立刻通过追加一个字符串在UNIX文件名之间?
应用推荐