Top 5 python modules that are great for beginners

Dev

In this topic, I’ll be sharing with you five great Python modules that I recommend for beginners. These modules are relatively simple to use, but allow you to go beyond text-based apps and create 2d graphical applications with Python. I also happen to have tutorial series for all of the modules that I’ll list. . And with that said, let’s dive in.

Turtle

So the first module all I have for you is called turtle. This is a built-in module in Python that allows you to create very simple 2d drawing applications. You’re given a canvas and a cursor. The cursor is also known as the turtle, and you can run commands to move the turtle around the screen, change its position, its speed color, et cetera. As the turtle moves, a line will be drawn to represent its path. And you can use this to create simple drawings, shapes, fractals, and a lot more stuff.

Some of the programs that I’ve worked on with the turtle module include a turtle racing game where a set of turtles randomly move up and down the screen, race each other, a fractal art generator that creates fractal trees and snowflakes, a program that allows the user to move the turtle around with key presses and a bunch of other stuff as well. If you’d like to learn more about the turtle module, you can check out the series I have on this channel. The one that’s popping up on the screen right now and will be linked in the description.

Pygame

All So the next module I have you as my all time. Favorite Python module, I’m sure many of you already guessing this right now, but that is PI game PI game is an absolutely amazing module for grading 2d games in Python. I’ve created tons of projects with PI game on this channel, ranging from simple stuff like hangman to physics, simulators, and full fledged tower defense games.

  How to create a website using python as fast as possible

I even have full tutorials on this channel for Tetris snake, checkers, flappy bird with built-in AI and even an online multiplayer rock paper scissors game PI game is great because you can create very simple games or you can take it to the next level and make super advanced stuff like platformers and online games. I’ve linked my beginner of high game tutorial series in the description. If you guys want to get started with that, but of course there’s tons of resources on my channel and on the internet in general, to learn PI game, I would highly recommend it for anyone. That’s kind of getting into Python and wants to create some more interesting applications.

Selenium

So the next thing I have for you here is a web automation framework called selenium. So selenium is the name of the module. Selenium allows you to create bots that can control and scrape data from websites. It’s mostly used for doing UI testing of websites, but you can make it play games, fill in, log in information, fill in forms, go and scrape data from websites and kind of pull that into an application. There’s a lot of stuff you can do with selenium. Now, an example of an interesting selenium project I worked on is actually a bot that can pit play the game cookie clickers. So you have to press this cookie a bunch of times.

Then you can upgrade the speed at which you can press the cookie and all kinds of stuff like that. Anyways, if you want to see how that project works, I have a whole tutorial series on selenium in the last video in that series actually goes through creating that bot and showing you how you can make a selenium WebDriver, that’s what it’s called. Actually play a game on a website.

  Top 10 useful python shortcuts you should to know

Discord.py

So the next module on my list is called this score dot PI. This is a module that allows you to create discord bots. You can get up and running with it in minutes and easily. Create commands, respond to messages and pings and much more my discord server, which you guys should join. By the way, I’ll have a link in the description for that has a very advanced disc where bot running hundreds of commands, moderation poles, and integrated database, and much more. I do actually have a series on creating a discord bot using this module, but unfortunately it’s outdated now is there’s a new version of discord dot pipe.

So you can still check it out if you want from the link in the description. But if you guys want me to make a new version of this series, then leave a comment and let me know and I’ll consider doing that last thing I’ll mention, if you guys are interested in some open source projects, I have a lot going on in my discord server. So make sure you join that those actually kind of a section or a bunch of channels related to all those projects. So you guys can actually contribute and work on the website and the API and a ton of other stuff we have going on in there.

Kivy

Now finally, my list ends with the KV module. So Kibby is a module that allows you to make cross-platform graphical user applications with Python. It’s definitely not the easiest to get this code to run on mobile devices, but it is possible to use this module to make iOS and Android applications with purely Python.

  How to create a website using python as fast as possible

And one code base works for all of these different platforms. There’s very little that you actually have to change now, regardless of the mobile app possibilities for this module, it’s great for making simple user interfaces forms, displaying video or photos, displaying data, and a lot more, you can also make games with this module, but I see it being more valuable for utility-based applications where you’re collecting information from the user or presenting some type of data, regardless. It’s a great module to add to your repertoire.

Avatar of Biên tập Viên

About: Biên tập Viên

A guy who love writing and inspire message.