---
title: "Discussion on \"Python program to create qr code \n[IN 4 LINES OF CODE]\" | Hashnode"
description: "Discussion on \"Python program to create qr code \n[IN 4 LINES OF CODE]\". A simple Python program to create qr code \ni am to lazy at writing blogs so let's make it as short as we can\nfirst install pyqrcode module \nthen install pypng module \nlets start writing program\nfirst import pyqrcode\n\nthen create a input field to ente..."
url: "https://hashnode.com/posts/python-program-to-create-qr-code-in-4-lines-of-code/5f8fd9f5f5dd254fbf5fb0ed"
---

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

Discussion

# [Python program to create qr code \[IN 4 LINES OF CODE\]](https://greenhat.hashnode.dev/python-program-to-create-qr-code-in-4-lines-of-code?utm_source=hashnode&utm_medium=feed)

A simple Python program to create qr code i am to lazy at writing blogs so let's make it as short as we can first install pyqrcode module then install pypng module lets start writing program first import pyqrcode then create a input field to ente...

Oct 21, 2020 · 1 min read · greenhat.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)

## Written by

[Akash Yadav](https://hashnode.com/@iamgreenhat)

@iamgreenhat

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

Ethical hacker

## Responses 1

Markdown supported · ⌘↵ to post

[Somtochukwu Uchegbu](https://hashnode.com/@Somtochukwu)

[Oct 21, 2020](https://hashnode.com/posts/python-program-to-create-qr-code-in-4-lines-of-code/5f8fd9f5f5dd254fbf5fb0ed/comment/5f8feaa1f5dd254fbf5fb1ba)

I also read about the qrcode library, that also works too
