I assume you are working on win32 platform
if you have the win32 module, there is an example demo called win32netdemo.py and inside the source, there is a function call ServerEnum(). You can take a look at how to find network shares.
Another way is to call a system command that is able to find the network shares and put them into a file. Then from Python, open the file for processing..