Skip to content

scripting

Prokop edited this page Jul 15, 2015 · 10 revisions

import common libraries

import os
import numpy as np
import matplotlib.pyplot as plt
import elements
import basUtils

load ProbeParticle librari

def makeclean( ):
	import os
	[ os.remove(f) for f in os.listdir(".") if f.endswith(".so") ]
	[ os.remove(f) for f in os.listdir(".") if f.endswith(".o") ]
	[ os.remove(f) for f in os.listdir(".") if f.endswith(".pyc") ]

makeclean( )  # force to recompile 
import  ProbeParticle as PP