Skip to content

Instantly share code, notes, and snippets.

@shinanxu
shinanxu / file
Last active October 30, 2020 00:01
📊 Weekly development breakdown
Bash 0 secs ███████████████ 100.0%
# -*- coding: utf-8 -*-
import re
import matplotlib.pyplot as plt
import numpy as np
''' step1. loading data '''
file_name = 'mutiprocess.txt'
file = open(file_name)
content = file.read()
import glob
def listdir_nohidden(path):
return glob.glob(os.path.join(path, '*'))