---
title: "Discussion on \"12 Python Tips & Tricks You must know\" | Hashnode"
description: "Discussion on \"12 Python Tips & Tricks You must know\". Hello reader! \nIn this Blog post, I will share some useful code snippets and functions in Python. Give it a read. \nLet's get started!\n1. Memory\nThe method getsizeof can be used to retrieve the size of any object. Here's an example of the same.\nimport..."
url: "https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [12 Python Tips & Tricks You must know](https://ayushirawat.com/12-python-tips-and-tricks-you-must-know?utm_source=hashnode&utm_medium=feed)

Hello reader! In this Blog post, I will share some useful code snippets and functions in Python. Give it a read. Let's get started! 1. Memory The method getsizeof can be used to retrieve the size of any object. Here's an example of the same. import...

Jul 25, 2021 · 4 min read · ayushirawat.com  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#programming](https://hashnode.com/tag/programming)
-   [#general-advice](https://hashnode.com/tag/general-advice)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[Ayushi Rawat](https://hashnode.com/@ayushi7rawat)

@ayushi7rawat · Pune

  
[View profile](https://hashnode.com/@ayushi7rawat)

Exploring and Refactoring!

Software Engineer | Technical Blogger | YouTuber | Exploring and Refactoring! | connect with me on Twitter

## Responses 9

Markdown supported · ⌘↵ to post

[Michael Finn](https://hashnode.com/@MichaelFinn)

[Jan 26, 2023](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/63d22a0557827406921322eb)

I highly appreciate your effort. These top python tips and tricks will help students in their university projects. I am a professional writer at [irelandassignmenthelp.ie/hnd-assignment](https://www.irelandassignmenthelp.ie/hnd-assignment) where I help students in writing the best academic papers.

[liam olivia](https://hashnode.com/@liamolivia)

[Oct 5, 2022](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/633d2a4712186eae2bef7cb8)

I admired your post and on the contrary, I would like to suggest to everyone that 247examhelp is offering the best \[ Pay Someone To Take My Exam Service\]( ![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1664952950777/NH2woW8OC.png) ink)

[Asley Patricia](https://hashnode.com/@AsleyPatricia)

[Jun 11, 2022](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/62a480baa2c282d2d83791eb)

These 12 python tips are so grateful and obvious for all the new individuals but there are also very interesting and authorized [HND Assignment Help](https://assignmentmaster.org.uk/hnd-assignments) available to get from them so valuable throughout the UK reactively.

[Marten James](https://hashnode.com/@MartenJames)

[May 18, 2022](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/628565ad7b02ca162edaceb1)

Developers are happy with your article. They learn a lot about building websites.

[Best Electrical Wiring Installation Services in Los Angeles CA](https://bestelectriciansusa.com/hd/electrical-wiring-installation-services-in-los-angeles-ca/)

[Johnson](https://hashnode.com/@johnsonplaid)

[Mar 18, 2022](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/623423fa6647c71acb64118e)

It is very informative and helpful to me.

[Eddy Baker](https://hashnode.com/@Eddybaker419)

[Jun 8, 2022](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/623423fa6647c71acb64118e#reply-62a12f877d229276b49feae3)

If you are going to be successful when choosing a service to help with your assignment, don’t rush. You have to approach this process with [topswriting.com/review/edubirdie](https://topswriting.com/review/edubirdie) caution. The good idea is to read custom essay writing service reviews. They can help you evaluate the competence and credentials of various writing services and make an informed decision.

[Keyul](https://hashnode.com/@Keyul)

[Aug 25, 2021](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/6125bffa663d427e19ffb6a8)

very powerful functions in Python. There are lots of free python tutorials online but this is the first time learn about something amazing in Python.

Thanks for sharing these tricks.

[Hồng Võ Thanh](https://hashnode.com/@teocoi272)

[Jul 30, 2021](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/610359729036db5b3513b5a8)

import sys number = 100

print(sys.getsizeof(number))

#output: 28

[ujjwal kumar](https://hashnode.com/@ujjwalkumar)

[Jul 29, 2021](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/610298b5d3dd5634ae90a233)

nice one
