Without further information I'd say the bugs are probably wood mites. They won't specifically harm your snake but I imagine a serious infestation would at least annoy and eventually stress your animal.

Snake mites are not exclusively black but if you're viewing these little white bugs crawling around with the naked eye they're almost certainly not the culprit. If you're using a wood based substrate I'd clean the tub and use newspaper or paper towels for a while. I'd also dump the bag from which the substrate came.

Springtails are another small white bug that could be a possibility if you're using cypress or another substrate that generally comes damp in the bag. They're very vulnerable to desiccation so dryer substrates such as aspen are generally free of them. Like the wood mites they're largely harmless and a thorough cleaning of the enclosure, with a switch to newspaper or paper towel substrate, quickly routes them out. Springtails jump like crazy though so if the bugs you're viewing aren't hopping all over the place these are not a likely suspect.