I've been working with PHP for a few years and want to pivot towards building AI applications. I've noticed that most libraries and samples are in Python, which leads me to wonder if I should start from scratch with Python or dive right into using FastAPI. I'm looking for honest advice on how to best approach this transition.
5 Answers
I suggest starting with a crash course in Python. Get familiar with the syntax, built-in functions, and standard libraries. Python seems to have a tool for every task nowadays! After that, you could jump into FastAPI, especially since you already have experience with APIs.
For newcomers, I'd recommend checking out platforms like MOOC for structured Python courses. They cater to different skill levels, and the official Python documentation is great for those with some programming background.
Starting with one comprehensive course is smart. Class Central can help you compare courses based on details like difficulty and reviews, so you choose appropriately. That will save you from the chaos of hopping between random resources.
If you're coming from PHP, you'll likely adjust to Python pretty quickly. I agree with going for FastAPI after you grasp the basics; your prior API knowledge will make it click faster compared to just learning loops and variables.
You already have development experience, so focus on understanding the differences in syntax and the broader Python ecosystem. Just remember, Python code can get pretty messy, so don't let that discourage you!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically