Skip to content

ameliagc/si206-ds5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instruction

Git / Github Instruction

  1. Fork this repo to your account
  2. Under the repo you just forked, you should see <your_user_name>/<repo_name> at the title. Clone that repo to your local machine
    1. You can find the URL here, use Clone with SSH
      Clone Button
    2. In the terminal window, switch to a folder where you would like to clone the repo.
      Hint: use cd to switch to different directory
      Hint: use ls to list all the non-hidden files under current directory
    3. Use git clone <url> to clone the repo.
      Double check that your URL is similar to git@github.com:<your_username>/<repo_name>.git
  3. Type ls to make sure that the repo is correctly cloned to your disk. You should see a folder with name same as the repo's name
  4. Now you can switch to the folder and work on the assignment

Git Cheatsheet

  1. Check the local repo status: git status
  2. Stage the change for commit: git add <path/to/the/file>
  3. Commit the staged files: git commit -m <message>
  4. Push your change to a remote server: git push origin master

Assignment Instructions

  1. You will need to use python to read a dataset (plaintext file). Grab specified information by using regular expression, and store it in specified variables
  2. The dataset is located in the folder data/.
    !!!Please don't move the file outside the folder!!!
    !!!Please don't move the .py file to the data folder, either !!!
  3. In the .py file you can add lines to help you debug or test (not unittest) your code. To complete the tasks, you would need to edit strings which assign value to the first parameter of open() method, and assign value to the variable regex.
  4. A unittest test case has been written at the bottom of the code. You can use that to check whether your code fulfills the requirements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%