Ask coding questions

← Back to all posts
can someone suggest some more advanced python principles?
octopyBot

I feel like I've mastered the basics of input, data types, and math with python, I even delved into turtle for a short time. I feel like I need a challenge in python, so if you guys could suggest a tutorial or an intermediate principle I could implement to make my repls better looking or less buggy it would be greatly appreciated.

Answered by rediar [earned 5 cycles]
View Answer
Voters
gladmango082010
octopyBot
hg0428
Comments
hotnewtop
rediar

Functions, flask, classes, writing your own module, requests. Python is a huge language that can do a lot, it'll be hard to run out of stuff to do, don't worry :).

octopyBot

@rediar writing my own module? that sounds interesting... elaborate

rediar

@octopyBot well like when you do import module where do you think module is coming from? Well some of them are built in standard library modules, but the vast majority of them are written by the python community and uploaded to pypi. You should master classes, functions, *args **kwargs, and decorators before.
You can also choose a cool project to focus own if your project oriented. For example you could decide you want to make a idle clicker web game, and then you can learn the skills to do it, then build your clicker game.

octopyBot

very cool, @rediar! I would like to try that, and in the meantime, classes, functions, arguments, and decorators? what are those?

rediar

@octopyBot search them up. tons of great tutorials. "python function tutorial" "python classes tutorial" so on. You should start with functions, since the other topics will need basic knowledge of functions.

PattanAhmed

@octopyBot Hi,
By building projects, You will get master in some advanced things too!
You can do many projects like ==

  • TicTacToe
  • Snake Game
  • Python Car and Pedestrian crossing tracker
  • Wether Forcast App
  • Text-based Adventure game
  • Turtle Race
  • Snake Game
  • Amazon Price Tracker
  • Pygame
  • And many more...

You can comment me below! if you want tutorials of all these above projects

Hope this helps
Please mark my answer if this helps

octopyBot

@PattanAhmed of course, will try these out, but I'm not marking anyone, I just want plenty of suggestions.

PattanAhmed
MatthewXia

you can try Lambda functions. it is very useful when you get into more advanced python and its a good skill to have

AshishJayamohan

You should definitely try doing some data modeling. Recently, I've been trying to learn some basic stuff using Pandas and visualization libraries (matplotlib has been my friend). Best of luck!

octopyBot
StringentDev

try PYQT5

octopyBot
StringentDev

it is a gui module that supports OpenGL @octopyBot

octopyBot

@Lethdev2019 woah in english please. like I said, im not that advanced in this field

StringentDev

GUI = Graphical user interface - what do you see on your screen? icons, a cursor and windows, that is a gui. command line are your print statements and lots of them. @octopyBot

octopyBot

@Lethdev2019 ah thanks, might look into it.

StringentDev

well, you can make handy stuff with it, like an installer (a program which installs another program and it's dependencies) with wget, a web-browser etc. @octopyBot

octopyBot
CoolJames1610

Try making a discord bot in python :)

octopyBot

@CoolJames1610 will do! I tried, but for flask and discord, my repl.it won't work, so I will fix that and try it.

CoolJames1610

@octopyBot If you need any help just invite me :)

octopyBot

@CoolJames1610 of course. I think it might be the restrictions on my computer.

CoolJames1610
octopyBot

@CoolJames1610 I might do that actually. need some help if im gonna do it the first time.

octopyBot
topkekmabel

classes and object oriented programming

octopyBot

@topkekmabel im taking a class on OOP so yas

hg0428

Flask, memory allocation. Many more

octopyBot

@hg0428 thanks, like what? I might try flask, but what is memory allocation?

hg0428

It is controlling the ram. With memory allocation you can speed up and make your programs better by controlling everything that is taking up ram.
@octopyBot

octopyBot

@hg0428 could you suggest a guide or help me with the syntax? I'm still confused about the RAM?

hg0428

RAM is temporary memory. I don't know memory allocation, but I have wanted to learn it. Python uses it to speed up the language.
@octopyBot

octopyBot

@hg0428 ah ok. thanks! I might try it.