Open main menu

CDOT Wiki β

Changes

DPS909/OSD600 Fall 2017 Lab 6/7

256 bytes added, 13:36, 11 October 2017
Step 1: Design a Library for File Info
==Introduction: GitHub Repos and Pull Requests==
This lab is all about practicing the [https://wiki.cdot.senecacollege.ca/wiki/DPS909_%26_OSD600_Fall_2017#Week_6 git/GitHub workflow we discussed on Tuesday]. By the end of this lab, you will have successfully done the following:
'''If you have trouble with any of the steps below, or need help, please use our Slack channel to ask your questions. Don't suffer in silence.'''
==Step 1: Design a Library for Obtaining File Info==
You are asked to create a new open source library. A library/package/module/etc is a collection of functionality that can be used by an application developer to accomplish a set of tasks. NOTE: I don't need you to write a full application; just a library of functions. The purpose of this library is to make it easy to get various pieces of info about a given fileon disk. You will write functions in your library that do return the following:
* filename without path. For example: given a path like <code>"/home/kim/mydata.txt"</code>, return <code>"mydata.txt"</code>