Python Scripting for Geoprocessing Workflows (for ArcGIS 10) - Code Will Not Work

Discussion created by bgale88 on Feb 1, 2012
Latest reply on Feb 8, 2012 by bgale88
Hello! I am taking the virtual Esri class Python Scripting for Geoprocessing Workflows (for ArcGIS 10) and am having trouble executing some of the sample code.

This is the exact code from the course: fcList = arcpy.ListFeatureClasses("C:/Data/SanJuan.gdb")
This is the code that I am using: testList = arcpy.ListFeatureClasses("H:\Gale_Intermediate_GIS_Data\Gale_Scratch.gdb")

When I execute "print testList", a blank list displays: []
The pathname I am using definitely exists. There are no spaces or special characters. There are 9 feature classes within the geodatabase. Esri Tech Support said that they can only help me if my problem exists within their exercises, not their sample code, which makes little sense to me.

What am I doing wrong?!