Skip to content

drafski89/useful-python

Repository files navigation

Useful Examples in Python 2

The purpose of this repo is to give basic examples in Python 2. This is meant to be a no-frills reference guide for basic operations in Python.

Current Examples

Classes

  • Basic Class Template

Directories:

  • Walk
  • All Files

File Handling:

  • File I/O

Geopy:

  • GPS Speed

Input Output:

  • Serial Port
  • Ethernet Port

Lists:

  • Appending
  • Joining

Loops:

  • If
  • For
  • While

Multiprocessing:

  • Job Lists
  • Worker Pool
  • Using Lock

Strings:

  • Splitting, Substring

Sorts:

  • Bubble Sort
  • Insertion Sort

Examples to Add

Sorting:

  • Quicksort
  • Merge Sort

About

Collection of Useful Python2 Basic Examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages