While having snakes on your property might be hard to avoid, you definitely don't want them entering your home again.Snakes like cool and dark places, so you should seal any entrances to your basement with diameters that are larger than a quarter inch in diameter. They also could be entering through loose window frames or door sweeps, so you can make sure those are securely fastened. Any vents or drains that lead into your home can be covered with screening, so that the snakes cannot pass through. If you have birds in your backyard or a rodent problem in your home, you may be attracting snakes onto your property. It's often hard, however, to get rid of small mammals who are native to the area, especially those who are part of your ecosystem. Snakes love mice and rats. Because our buildings are made mainly out of timber, rodents often find shelter in the space between the exterior and interior walls. If you hear scratching noises or find evidence of mouse trails in your kitchen, get an expert to solve the problem. Remember, no mice, no snakes!  Leaving out your pet food can also attract mice which will, in turn, attract snakes. Cover up your pet food when they aren't eating, or bring the food inside A mouse can easily get through a hole the size of a pencil. If there are holes in your walls, fill them immediately.High-pitched sound devices are now becoming a popular way to discourage vermin from entering homes; evidence shows some positive results. Remember, snakes always follow their food source. Whether or not you are attracting them intentionally, birds inhabiting your yard will attract snakes. Bird feeders will not only attract birds into your area, but also mice and rats, who will feed on any fallen seed. While snakes might not be interested in the seed itself, they will be interested in the animals that feed on it.  Natural bird repellents are rarely effective, and you don't want to be poisoning any birds or snakes in your area.If you want to remove birds from your yard, you should start by filling any...

TL;DR in Chinese:
防止蛇进入你的住宅。 找出蛇进入你家的原因。 驱除住宅内的老鼠。 减少在你院子里筑巢的鸟的数量。 改造自己的院子。