Accessing doctype

I created a new doctype but can’t import frappe , instead Webgenerator class is automatically generated of default frappe