Lesson 3 planet Colab error on data_path

AttributeError: type object ‘Config’ has no attribute ‘data_path’ . Code :point_down:

path = Config.data_path()/'planet'
path.mkdir( exist_ok = True )
path

@nightwolf
what have you defined the function data_path() as?
Im guessing that data_path is a variable, not a function.You need to remove the brackets.
moreover, why do you define variables this way rather than simply using the Path function, as:

path=Path(data_path/‘planet’)

??