A snake may be attracted to your house or yards of there is shelter and food that are unknowingly provided by humans. Taipans and brown snakes eat rodents and can be attracted to your house where they can hunt mice and rats. The pythons may eat chickens and other birds therefore they may be attracted to your house if you have chickens and other birds. They also be found in roof where they hunt for possums and rats.
Brown snake are known to eat chickens and can get trapped within your house after eating one. Snakes may hunt during night and come near windows sill to find geckos and other preys.
Tree snakes can be attracted to your compound during the day because of the presence of frogs. Carpet snakes may curl up in the ceiling where they get warmth and security they want.
Snakes can also be seen around your house or yard because they come to hunt snails and slugs within your garden. These snakes are not harmful to humans and like to be in warm sunlight.
Snakes can also be attracted to your house because there is a place to hide. Snakes hide under old place of plywood and old stumps. Finally they may be attracted to your house because there is a well aged mature.