def dot_mavproxy(name=None):
 dir = os.path.join(os.environ['HOME'], '.mavproxy')
 mkdir_p(dir)
 if (name is None):
  return dir
 return os.path.join(dir, name)

def dot_mavproxy ( name = None ) : dir = os . path . join ( os . environ [ 'HOME' ] , '.mavproxy' ) mkdir_p ( dir ) if ( name is None ) : return dir return os . path . join ( dir , name )
return a path to store mavproxy data .