Definitely, you can. Most apps are using mixed programming languages. In your situation, you can use Python to provide restful Apis at the backend , then swift or js calls these apis at the frontend. Actually, this is a common way people building their web apps and mobile apps.14 Mar 2016