Skip to content

Instantly share code, notes, and snippets.

View omfriyad's full-sized avatar
👋

Omar Faruk Riyad omfriyad

👋
View GitHub Profile
@tigerhawkvok
tigerhawkvok / poetry-convert.py
Last active October 6, 2024 11:34
Convert a requirements.txt file to a Poetry project
#!python3
"""
Convert a requirements.txt file to a Poetry project.
Just place in the root of your working directory and run!
"""
sourceFile = "./requirements.txt"
import re
import os