You can use the os and multiprocessing modules in Python to find out the number of CPUs available on your system. Here's an example code snippet that you can use:

import os
import multiprocessing

num_cpus = os.cpu_count()
print(f"Number of CPUs: {num_cpus}")

The os.cpu_count() function returns the number of available CPUs on the system, and multiprocessing module provides additional functionality for working with multiple processes in Python.

This code snippet will print out the number of CPUs detected by your system.