205 questions
400 answers
420 comments
321 users
After installing the radon library (conda install -c conda-forge radon) use the following command inside the directory of the program you want to analyse:
radon cc -a -s --show-closures program.py
You can find the right command here: https://q2a.di.uniroma1.it/21928/software-and-required-libraries?show=21928#q21928&course=advices/programming-ay21-22 under "Other useful commands" at the line "To compute the code intricacy (maximum cyclomatic complexity)".