python: classes with multiple files : I have 2 files, one named data.py and the other main.py

Code data.py:

    class data24:
    w = 75

code main.py:

    import data    
    lala = data24
    print(lala.w)

It is giving me two errors: 'data' imported but unused and 'data24' undefined.

I've already put an empty __init__.py file in the directory.

what am i doing wrong?

BTW, it is printing the correct information.