What can I do with Python?

We often get questions from students about where to go next. They're learning on Grok, and learning Python, but they're not sure what's out there. Here we've compiled a few of those questions, and we'll give some ideas as to where you can go after Grok.

Can I make a website with Python?

Yes! In fact, Grok is made with Python! You'll still need to write some HTML and CSS, so we'd recommend our Intro to HTML/CSS course.

Then you should check out a web framework, like Django, or Flask for smaller projects.

How do I use databases with Python?

You can use databases with Python! Check out our Intro to SQL course to start learning how to use them. This teaches you SQL, which is how you interact with the database. It's another language, like Python, but only does database things.

To use a database in your own project you'll have to chose one like SQLite, which is good for small projects, or PostgreSQL. Both of these have Python packages that let you connect to them and send SQL to use the data.

How do I make a graphical user interface in Python?

Great question! You can, but it's not ideal. Python isn't very good for making graphical user interfaces (GUIs). You might want to try using Javascript and making a web app, as a way to get a simple GUI going.

Still, if you really want to try, Python has a huge range of libraries for making GUIs. One that's a bit better for beginners is PyGame. It's has plenty of tutorials, and is widely used.

Another option is TKInter. It's less game-specific than PyGame, and comes with Python so it can be used without any extra work, but, it's not the most user-friendly option.

Can I do robotics with Python?

You sure can! A great starting point for robotics, or other embedded systems is the BBC micro:bit. You can get started learning about this with our micro:bit Crash Course.

If you want to make something with a little more mobility, there are plenty of micro:bit robots available, like the Bit Bot, or the :MOVE mini buggy

How do I hack Minecraft in Python?

Good idea! There's lots you can do in Minecraft with Python. If you search on Google for "Programming Minecraft with Python" there are lots of options. If you have a Raspberry Pi the Minecraft site has plenty of information for you.

We hope this has helped you see some of the directions you can take Python in, and that it's inspired you to pursue your own projects.

Still need help? Contact Us Contact Us