Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import argparse
- # parse command-line arguments
- parser = argparse.ArgumentParser(description='Plots output from Laplace solver')
- parser.add_argument('filename', action="store", type=str)
- args = parser.parse_args()
- x=numpy.loadtxt(args.filename, ndmin=2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement