Python is a general-purpose programming language. That means that it can be used for both front end (user-facing things like displaying graphs and charts) and back end (all the things the user can’t see that make a website work — like data!). While Python for front end can create simple user interfaces, it's generally not considered front end on its own.