Loading code for BoundaryLine to PostGIS

A shp2pgsql command for loading in ESRI Shapefile to a PostGIS database

shp2pgsql -D -W LATIN1 -I -s 27700 %s boundaryline.%s | psql -h localhost -d osdata -U postgres -p 5432"%(shapefilename,tablename)