Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A few functions to teach Python and PIP

Project description

Example package for teaching pip usage with Python

This package contains a module lfuncs that has the following functions:

  • find_startswith_in_list(prefix, list) given a prefix and a list, this functions will return a list with all the elements in provided list that start with the provided prefix. The function assumes prefix and all list elements are strings.

  • find_endswith_in_list(suffix, list) given a suffix and a list, this functions will return a list with all the elements in provided list that end with the provided suffix. The function assumes suffix and all list elements are strings.

  • split_lists(list, prefix) given a prefix and a list, this functions will return two lists, one that contains all elements that start with the provided prefix and one with all other elements. The function assumes prefix and all list elements are strings.

  • joke() prints a joke.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for example-lfuncs, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size example_lfuncs-0.1-py3-none-any.whl (7.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size example-lfuncs-0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page