Can you display python web code in Joomla?
Before considering Python

What are you wanting to customize? (perhaps some clever Javascript or a Joomla extension already exists)
Is the Joomla-way not a better solution for your problem, given the fact that you're using Joomla? (change the template, or the view-templates of the modules and component in particular)
i.o.w.: do you understand Joomla enough to know that you need something else? See below:

If Python is still the way to go:

Does your hosting support Python?
Should you reconsider your choice of CMS?

I like your choice of CherryPy.
I'm building a Joomla 3 web site but I have the need to customize quite a few pages. I know I can use PHP with Joomla, but is it also possible to use Python with it? Specifically, I'm looking to use CherryPy to write some custom pieces of code but I want them to be displayed in native Joomla pages  (not just iFrames). Is this possible?