Back

Sanskar

Keen Learner and Exp... • 7d

Day 16 of learning python as a beginner. Topic: modular programming. A lot of amazing people suggested me that I must learn to use main.py as it will help in creating a clean resuable code. Therefore I have created my basic calculator in the modular way using specific files for specific folder (I am still unsure if using if elif and else ladder is an efficient way to create situations here do tell me if you guys have any suggestion regarding this). Modular programming means breaking code into a long independent block which can be used/reused later in the code. more specifically in the main.py file packaging in python is a way of organising your code (I like to relate this with parcel delivery - think of a factory where product is form, then it is in truck, then in its specific box and at last with its owner - here owner is main.py file and the rest are files which keeps getting narrower, I know its a strange way but works for me). I have also pushed my code which I have written since my journey in python began in GitHub interested people can clone it and use in their learning process as well and also to suggest me how I can improve my code. I always welcome your all suggestions as they help me improve my knowledge and code. Also here's my GitHub link (feel free to clone this if you want): https://github.com/Sanskar334/my_Python_Learning_Projects.git The result was same as yesterday's just made some minor improvement and added structure to it do suggest me if I have done something wrong.

Reply
1

More like this

Recommendations from Medial

Sanskar

Keen Learner and Exp... • 5d

Day 18 of learning python as a beginner. Topic: match case and modular programming. Some suggested me to use match case instead of my usual if else statements as match case are more readable and appears more clear and organised. At that time I was

See More
Reply
3

Sarthak Gupta

Developer • 5m

Get Jarvis with full source code in Python! dm me now 😎

Reply
3
Image Description
Image Description

Ankit Kumar

App Developer • 5m

May I know how this WhatsApp clone looks? I built this app using Flutter GitHub link for code: https://github.com/ankit-kr-codes/WhatsApp-Clone

4 Replies
1
8

Samartha Shelke

21|Finance and Stock... • 8m

Guys recently i have been learning python for finance being a finance(CFA) student its kind of important for me to learn for various reasons..but heres the thing i dont have any coding related exposure before but due to MS excel it's kinda easy to un

See More
Reply
4

Suraj Dusane

Hey I am on Medial • 1y

How I Complete My 5-Day Boring Task in Less Than Half an Hour👇🏻 1. Eureka Moment: So, I was stuck making PowerPoint slides manually, which was a real pain. Then, I had this genius idea to make things easier by automating the whole process. 2. Hun

See More
Reply
9

Sanskar

Keen Learner and Exp... • 13d

A few days ago I started learning python and casually posted about a program I created at that time (a basic quiz to be more specific). I just realised that it got approx 55k views on my that post on reddit. A lot of people appreciated my code and m

See More
Reply
8
Image Description
Image Description

Sarthak Gupta

Developer • 5m

🤖 Jarvis source code For the first 5 buyers I am selling Jarvis with full source code in python at just 850.

2 Replies
4
Image Description
Image Description

Sarthak Gupta

Developer • 5m

I have built an LLM based jarvis in Python with many features and I am selling its code. If anyone's interested comment.

10 Replies
3
23
Image Description

Sahith

Fintech expert • 1y

I have started my technical journey from now is there any developers with your experience suggest me best way to start learn web developement as of now I am in business field completed MBA but want to learn code so how much time does it takes

2 Replies
5
Image Description
Image Description

Ankush

Anku • 7m

guys I need python and Java dev plz if someone dm me plz for my startup

12 Replies
8

Download the medial app to read full posts, comements and news.