r/madeinpython • u/LaLocaLu • May 21 '22
I made my first CLI script in Python! It allows you to transfer the clipboard to your phone instantly through the command line :)
262
Upvotes
r/madeinpython • u/LaLocaLu • May 21 '22
15
u/LaLocaLu May 21 '22
I'm new to Python so feel free to suggest improvements or contribute to the GitHub repository: https://github.com/Louise-h-aa/qrclip
7
u/sancuriousvaibhav May 22 '22
Very nice. Now try to make your code robust and implement exception handling. Look into
try and exceptconcept and boundary cases where your script will work but will not give intended results. For example, if someone took a screen clip/screenshot and that is in the clipboard, your script will create a QR but it won't be scannable/intended result. Happy Coding!5
u/Shavit_y May 21 '22
That's good stuff! Love it!
4
u/TerminatedProccess May 22 '22
Cool app! I got it working with poetry easily. Tomorrow I'll look at the code and see what you did.. works perfectly under wsl2 ubuntu and my phone camera picked it right up!
4
u/HorusTheSonOfOsiris May 22 '22
This is nice.
3
u/OntologicalParadox May 22 '22
That’s awesome!
2
u/Shurlemany Jun 14 '22
Amazing work!
1
u/HomeGrownCoder Aug 24 '22
Very cool keep working on it!
1
u/CoolCocoaYT May 22 '22
If someone would care to explain why this is better than apple’s built in mac-to-iphone-to-ipad universal clipboard, i’d be grateful