catenateFilesFactory

catenateFilesFactory 1.0

catenateFilesFactory 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 375
  • Released: Jun 6, 2007

catenateFilesFactory 1.0 Description

catenateFilesFactory script generates a catenateFiles function parameterized for common variations.

Catenating (or concatenating) files is a common data processing task, but there are at least three independent binary choices for the functional requirements. This could mean 8 different functions, or one functions with three additional boolean arguments.

Binary files are relatively easy to handle. So are text files - unless the last line of a file does not end with a line separator. Then the catenation function must insert a line separator between the last line and the first line of the next file.

An existing target file may or may not be cleared before any of the source files are appended to it.

Finally, if the target file does not already exist, it may be created; or it may be required to exist already.

The catenateFilesFactory generates and returns a parameterized catentation function each time it is called. Each function has attributes and a doc string describing the parameter values used to generate it.

Example:

catenateFiles = catenateFilesFactory()
srcFiles = ['src1.txt', 'src2.txt', 'src3.txt']
catenateFiles(tgtFilename, *srcFiles)

catenateBin = catenateFilesFactory(isTextFiles=False, isClearTgt=False, isCreateTgt=False)
catenateBin('growing.bin', 'a.bin', 'b.bin')

catenateFilesFactory Bookmark

Hyperlink code:
Hyperlink for Forum code:

catenateFilesFactory 1.0 Script Download Notice

Top 4 Download periodically updates information of catenateFilesFactory 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. catenateFilesFactory 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Ajax File Manager

This is a web/php/javascript/ajax file manager that allows create, delete and rename files and directories located in a server. The xajax library is used.This script is very easy to install, use and customize to suit your needs. ...

Generic file processor method

Generic file processor method script helps you to manage files. Old LineReader class was thrown to /dev/null - fd will really be exhausted during each call of process(), so a simple method is enough. ...
Python

File Subclass

If the 'file' object looks for a '.filename.pkl' file which contains the seek offset of the previous end of the file, then this subclass sets the seek offset to that number before returning the file.On closing the file or StopIteration, it writes the new max offset to this pickle file. ...
Python

PHPFile Manager

phpFileManager is a complete filesystem management tool on a single file. Features: server info, directory tree, copy/move/delete/create/rename/edit/view/chmod files and folders, tar/zip/bzip/gzip, multiple uploads, shell/exec, works on ...

SiteDrive

... is a bit of PHP scripting that provides file upload and management capability to any server that can run PHP. ... to any webmaster wishing to save and manage files remotely. The webmaster must simply upload the files associated with SiteDrive to his site. SiteDrive may soon support password protected file uploads, but for now, it supports only the ...