.msg files are not importable by python. Python modules will be generated when you build your package (with catkin or rosbuild), and placed in your package's src/PKG_NAME/msg directory. They will be added to your pythonpath (either automatically with catkin, or with the load_manifest(PKG_NAME) command with rosbuild)