Skip to content

utep-cs-systems-courses/s25-os-1-io-japenny

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains sample code for the fd io introduction lab.

The primary learning objectives for this lab are developing comptency with

  • POSIX syscalls related to file access, as exposed in python
  • development and execution of python programs in a POSIX command line environment.

In the repository are two plain text files with lots of words. Your assignment is to create a python program which:

$ python wordCount.py input.txt output.txt

  • keeps track of the total the number of times each word occurs in the text file
  • excluding white space and punctuation
  • is case-insensitive
  • print out to the output file (overwriting if it exists) the list of words sorted in descending order with their respective totals separated by a space, one word per line

We encourage you to utilize the re regular expression library and python dictionaries in your program.

About

os-s25-s25-os-1-io-os-fd-python-intro created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published