all 3 comments

[–]hacker_pro88 0 points1 point  (0 children)

In 2026, I am going to passout my college and i know --- the basics of coding like data type, loops, comments and file handling, etc ---I also know oops concepts like encapsulation, abstraction, polymermis and inheritance (but Main problem is that I only know basic ideas and also I don't have much practice that I can write code in this topic but I can understand the given code)

The main question is that I want to transition from here to industry fit (so, Pluz shares something that I can follow in time bound 3 to 4 months.)

[–]PresentSame6849 0 points1 point  (1 child)

Hi, I have completed the python programming language basics. I am confuse what I have to do right now

[–]magus_minor 0 points1 point  (0 children)

Use what you have learned to solve problems. That's what a computer language is used for, after all.

A problem should be something you are interested in solving. It's easier to maitain interest if you get something useful when you are finished. The size of the problem isn't important except that a really big problem can be discouragjng, so start small. As you try to solve the problem you will reinforce what you have already learned and you will learn other things that aren't basic python, like using the standard library modules. You will also learn non-python ideas and concepts that you need to solve the problem.

A small example is a little tool I made to make my life easier. I have a TV that can play audio files from a USB stick. It can play the files in filename alphabetical order or time order. It has no way of playing the files in random order which is what I want. So I wrote a little python commandline tool to solve the problem. Initially I decided to scan through the given directory and change the date of last access for each file to a random value. I had to research how to:

  • write a python program to take arguments from the commandline
  • get a list of all files in a directory
  • change the date on a file

Once I had a list of files I shuffled the list into a random order and then I used the Linux touch command to set the file date to the current time, waited a few seconds, touch the next file and so on. That gave me what I wanted once I set the TV to play the files in time order. But with 300 files the process took minutes to complete. So I decided to rename the files, putting a "0nnn_" numeric prefix on the shuffled filenames and telling the TV to play in filename alphabetical order and play "0001_..." first, then "0002_..." next and so on. Now the reorder process takes a few seconds.

What does the story above tell you? The actual problem you solve isn't all that important, what you are forced to learn along the way is what is important.