Sadly, it is impossible to directly program an Arduino in Python, but you can control it over USB using a Python program. Here's how.
https://www.makeuseof.com/tag/program-control-arduino-python/
* Arduino * What Is Arduino & What Can You Do With It? * What Is Arduino & What Can You Do With It? * Raspberry Pi * Raspberry Pi: The Unofficial Tutorial * Raspberry Pi: The Unofficial Tutorial * Arduino compatible board * Arduino Buying Guide: Which Board Should You Get? * Arduino Buying Guide: Which Board Should You Get? * Raspberry Pi * Home Automation with Raspberry Pi and Arduino * Home Automation with Raspberry Pi and Arduino * beginner’s guide to Arduino * Getting Started With Arduino: A Beginner's Guide * Getting Started With Arduino: A Beginner's Guide * Python Software Foundation * Python virtual environments * Learn How to Use the Python Virtual Environment * Learn How to Use the Python Virtual Environment * available to download * Eclipse * 8 Most Useful Keyboard Shortcuts For Beginner Eclipse IDE Users * 8 Most Useful Keyboard Shortcuts For Beginner Eclipse IDE Users * any text editor * Text Editors vs. IDEs: Which One Is Better For Programmers? * Text Editors vs. IDEs: Which One Is Better For Programmers? * IDE in the cloud * Codenvy IDE: An Online IDE for Ruby, HTML, Java, Python, & More * Codenvy IDE: An Online IDE for Ruby, HTML, Java, Python, & More * download here * new to Python * 10 Basic Python Examples That Will Help You Learn Fast * 10 Basic Python Examples That Will Help You Learn Fast * Linux server * 12 Best Linux Server Operating Systems and Who Should Use Them * 12 Best Linux Server Operating Systems and Who Should Use Them * DIY automation circuit * Arduino Project Ideas for an Automated Home * Arduino Project Ideas for an Automated Home * build your own NAS box * Need Network Storage? Here’s How To Build Your Own NAS Box * Need Network Storage? Here’s How To Build Your Own NAS Box * Plex * Your Guide To Plex - The Awesome Media Center * Your Guide To Plex - The Awesome Media Center