Skip to content

Instantly share code, notes, and snippets.

View 142ayushkumar's full-sized avatar

Kumar Ayush 142ayushkumar

  • Muzaffarpur, Bihar, India
View GitHub Profile
@142ayushkumar
142ayushkumar / parse_tables.py
Created June 21, 2020 08:55
Script to extract columns from LAMMPS log file
'''
Script to extract columns from LAMMPS log file
'''
file_name = input("Enter log file name: ")
content = []
with open(file_name) as f:
content = f.readlines()