Skip to content

Instantly share code, notes, and snippets.

View gist:fa7f956c3e915abe79d3f82f484ff99c
# -*- coding: utf-8 -*-
"""
Based on:
https://gist.github.com/meeuw/c3bc9dd07945c87c89e6#file-findfiles-py
https://bitbucket.org/nosklo/pysmbclient/wiki/Home
"""
import os
import pexpect
import re
View cheatsheet.rst
@xkdcc
xkdcc / linkedlist.py
Created Jul 6, 2018 — forked from addie/linkedlist.py
Python linked list
View linkedlist.py
class Node(object):
def __init__(self, data=None):
self.data = data
self.next = None
def __repr__(self):
return str(self.data)
class SinglyLinkedList(object):
def __init__(self, iterable=[]):
You can’t perform that action at this time.