Parsing a full file specification

License: Freeware
Date Added: 20 May, 2013
Category: Scripts / File Manipulation
Author: activestate.com

This function parses a full file specification into tuple of: a) list of drive and folders b) file name c) (last) file extension (including dot)A full file specification consists of drive letter, folders, file name, and extension.


Advertisements



 

This function parses a full file specification into tuple of: a) list of drive and folders b) file name c) (last) file extension (including dot)A full file specification consists of drive letter, folders, file name, and extension. Unless you're on UNIX. Unless there's more that one extension. Unless...Sometimes it's nice to be able to decompose a file specification into its components in a standard way, taking into account all of these irregularities.Note that (unlike some of the standard module functions) the file specification does not have to actually exist for ParseFile() to work.


Operating Systems:  Python, Windows


Parsing a full file specification Related Downloads
 
Download Large File Sizes on 32 bit Windows 1.0

Large File Sizes on 32 bit Windows 1.0  You can't use the os library to determine the size of large files on 32 bit Windows. This script uses the FindFiles win32call which provides among other things file size information.

Download FontRenamer 1.0

FontRenamer 1.0  FontRenamer is free and renames truetype font files (*.ttf) to the real name of the typefaces. Simply select a folder of font files and click Rename button.»Arial bold italic.ttf« instead of »arialbi.ttf« or »Brush Script.ttf« instead of »brus

Download Envirolyzer 1.22

Envirolyzer 1.22  Created to help you streamline your programming and site administration tasks, Envirolyzer automatically analyzes your server and client environments including paths to Perl, Qmail and Sendmail and returns an easy-to-read report in your web browser.

Download Dc++ Manager 1.7

Dc++ Manager 1.7  DC++ Manager is a program for those who use DC++ P2P to download files. It offers a lot of features for managing your downloads such as easy deleting, moving, copying and renaming of files, which are helpful for maintaining your file index.

Download ESFTP 5.0.0.0

ESFTP 5.0.0.0  ESftp is a Windows-based file transfer client application that is used to transfer files between your local PC and a remote FTP server. With ESftp, you can connect to any FTP server, browse through directories and files, and resume transfer files.

Download AWStats 6.8

AWStats 6.8  AWStats is a free powerful and featureful server logfile analyzer that shows you

Download FastSum 1.9

FastSum 1.9  An extremely fast utility for your files integrity control. The high accuracy attains through the usage of a cryptographic algorithm, as a matter of fact FastSum is a Windows MD5 Checker. All you have to know is– how to run FastSum.

Download Stop-the-Pop-Up Lite 2.56

Stop-the-Pop-Up Lite 2.56  Kill browser, Messenger Service, GAIN and SaveNow pop-ups automatically. The popup stopper has full support for both pop-ups and pop-under ads and will kill them even before they appear on the screen.

Download PDF Bundle 1.0

PDF Bundle 1.0  Attach any file to your existing PDF document.

File Manipulation Popular Downloads
 
Download Free File Splitter Joiner 5.5.5

Free File Splitter Joiner 5.5.5  Free file splitter joiner software to split any file into smaller pieces for easier transfer, storage and file management, and then rejoin them later for use.

Download php Download Manager 1.1

php Download Manager 1.1  php Download Manager is a script package written in php with a MySQL back-end. The script allows site owners to offer downloads by category. The program generates code to link to categories or individual downloads.

Download basE91 0.6.0

basE91 0.6.0  basE91 is an advanced method for encoding binary data as ASCII characters. It is similar to UUencode or base64, but is more efficient.The overhead produced by basE91 depends on the input data.

Download aria2 0.11.4

aria2 0.11.4  aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0. As of 0.10.

Download Progress bar class 1.0

Progress bar class 1.0  Here is a little class that lets you present percent complete information in the form of a progress bar using the '#' character to represent completed portions, space to represent incomplete portions, and the actual percent done (rounded to integer)

Download MyDMS 1.7.0

MyDMS 1.7.0  MyDMS is an open-source, web-based document management system written in PHP and supported by an SQL database. Originally coded by Markus Westphal, MyDMS provides document meta-data, version control, security and easy access to your documents.

Download PKZip library for PHP 0.4.1

PKZip library for PHP 0.4.1  PKZip library for PHP contains a set of functions to create PKZip (Winzip) files in PHP.

Download PHPFileManager7 1.0

PHPFileManager7 1.0  PHPFileManager7 is a PHP class. PFM is an easy to use files manager. It doesn't require a MySQL database.

Download PKTorrents 0.1b 1.0

PKTorrents 0.1b 1.0  PKTorrents has the functionality to crawl the top torrent sites, Meganova, Mininova, Piratebay, Snarf, Torrentportal, Torrentspy and adding 1000's of torrents to the db as it gos using the well know ibitzy torrent spider/crawler!!

Submit Reviews for Parsing a full file specification
- required fields