Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.372.871 Times

Helpful 5-liner version of os.makedirs 1.1

  Date Added: May 10, 2013  |  Visits: 562

Helpful 5-liner version of os.makedirs

Report Broken Link
Printer Friendly Version


Product Homepage
Download (55 downloads)



This script contains a function that creates missing directories for a given path and returns a normalized absolute version of the path.If the given path already exists in the filesystem the filesystem is not modified.Otherwise makepath creates directories along the given path using the dirname() of the path. You may append a '/' to the path if you want it to be a directory path. The usual os.makedirs functions and friends are not convenient enough. They don't return the path and they always throw errors if the directories already exist. Many times you just want to make sure that the directories of a path are really there without the fuss. And you want your directories to be os-independent (e.G. slash versus backslash issues).  makepath does all this.if one of the directory parts of the path already exists and is e.G. a regular file the usual os.makedirs exceptions will be thrown which is ok because your path cannot be constructed.

Requirements: No special requirements
Platforms: Windows, Mac, *nix, Mac OSX, Linux, Python , BSD Solaris
Keyword: Directory Directory Path Generator Normalized Path Path Path Generator
Users rating: 0/10

License: Freeware
USER REVIEWS
More Reviews or Write Review


HELPFUL 5-LINER VERSION OF OS.MAKEDIRS RELATED
Desktop Utilities  -  Copy file or directory path 0.2
Copy file or directory path is a service menu that can copy the full path of file or directory to klipper.. Download KDE-Apps.org Community Portal for KDE Applications Software Office Multimedia Graphic Network Printing Education Games Development...
 
File Management  -  Directory Walker Generator 1.3
This script is a generator that does what os.path.walk does, without the need for a callback function. This is a rewrite of os.path.walk. It's convenient for processing files that inhabit directory trees. Its original purpose was to vist the '.h'...
 
File Management  -  Recursive directory listing in HTML 1.1
This script contains a function that walks a directory path, listing the files and directories in HTML format. It can sometimes be handy to get a look at an entire directory tree, and HTML is a good way to display it. This script goes through the...
 
File Management  -  Relative filepath 1.2
This script returns a relative path to the target from either the current directory or an optional base directory. Base can be a directory specified either as absolute or relative to current directory.
 
Arcade Style Games  -  Sheep 1.6.1
Sheep is a game where you are a shepherd. Guide your sheep to juicy flowers, afterwards to the stable! Installation: 1. Unpack the archive into a directory of your choice. 2. Open a command line interface (console), change to this directory,...
163.84 KB  
Programming  -  rtldi 0.94
rtldi is an ELF program interpreter that enables each main executable program to use its own runtime loader and shared libraries, independent of the default versions installed in /lib, and independent of any other main executable program. Thus...
20.48 KB  
Programming  -  MTASC 1.11
MTASC is the first ActionScript 2 Open Source free compiler. MTASC project can compile large number of .as class files in a very short time and generate directly the corresponding SWF bytecode without relying on Macromedia Flash or other tools....
296.96 KB  
Development Tools  -  what2.m 1.0
WHAT2 will create a structured list of all files in directory by file extension.Thanks to Matlab, this was based on the built-in function "what.m" and Peter Acklam for path2cell.
10 KB  
Libraries  -  Petal::Cookbook 2.19
Petal::Cookbook is a Perl module to recipes for building templates with Petal. This document contains some examples of Petal template usage. Most of these examples deal with using Petal to generate HTML files from HTML templates. BASICS...
84.99 KB  
Modules  -  IP.Board Comments 1.2.6
IP.Board Comments for WordPress allows you to use IPB (IP.Board or Invision Power Board) to replace or enhance your WordPress comments. When a new WordPress post is created in a mapped category, it will cross-post to your IPB forum with a link...
593.92 KB  
NEW DOWNLOADS IN SCRIPTS, FILE MANAGEMENT
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
File Management  -  YetiShare - File Hosting Script Free 2.1
YetiShare is a PHP script that allows you to create your own professional file sharing service that you can earn a revenue from. The script has a wide range of features including an extensive admin area, user accounts, and more. This is a free...
6.2 MB  
File Management  -  XtraUpload for File sharing 1.6
XtraUpload has all the features you would expect from a file Hosting Script. Free users as well as premium users have the ability to upload files but premium users get a lot more features such as viewing files, instantly downloading files and...
4.8 MB  
File Management  -  PHPGnuCacheII for File sharing 2.1.1
PHPGnuCacheII is a PHP/MySQL WebCache script for the gnutella/gnutella2 Peer-to-Peer network. It implements the Version 2 GWebCache specifications.
20.48 KB  
File Management  -  TorrentFlux for Download Managers 2.3
TorrentFlux is a FREE PHP based Torrent client that runs on a web server. It allows you to manage all of your Torrent downloads through a convenient web interface from anywhere. Features:- Upload Torrents via URL or File Upload- Start, Stop, and...
1.29 MB  
File Management  -  FastBeats for File sharing 2.0.95
FastBeats is an all-in-one BitTorrent Tracker content management system written in PHP.It uses a MySQL database to store all of your site content such as News, Torrents, Descriptions and much more. FastBeats is dedicated only for FastWeb users.
1.09 MB