concept new data source in category geoprocessing
appears as: new data sources, new data source

This is an excerpt from Manning's book Geoprocessing with Python.
You have a couple of ways to get the required driver. The first is to get the driver from a dataset that you’ve already opened, which will allow you to create a new data source using the same vector data format as the existing data source. In this example, the driver variable will hold the ESRI shapefile driver: