title: Why won't arcpy create my table?
body: <p>I am getting an error</p>
  
  <blockquote>
    <p>Failed to execute: Input Table: Parameters are not valid. ERROR
    000732: Input Table: Dataset mytable does not exist or is not
    supported Failed to execute (AddField).</p>
  </blockquote>
  
  <pre><code>import arcpy, os, sys, traceback
  arcpy.env.workspace = "L:\\school\\GEO614\\PythonPrimer\\Chapter06\\Data\\cursors.gdb"
  arcpy.env.overwriteOutput = True
  outpath = "L:\\school\\GEO614\\PythonPrimer\\Chapter06\\MyData\\exercise6.gdb"
  outname = 'mytable'
  arcpy.CreateTable_management(outpath, outname)
  arcpy.AddField_management(outname, 'LakeFC_ID', 'SHORT')
  arcpy.AddField_management(outname, 'Lake_Name', 'TEXT', '50')
  arcpy.AddField_management(outname, 'Lake_Info_ID', 'LONG')
  arcpy.AddField_management(outname, 'Lake_Temp', 'SHORT')
  </code></pre>
  
  <p>I can't figure out what is wrong with my code.</p>