Relative Content

Tag Archive for python-3.x

Python – Having troubles using open()

I have a small tool I made for work, basically opens some websites and copies stuff to my clipboard so I can quickly answer questions that get asked a lot. I wanted to add a new feature to the bottom of my tool that can lookup the vendor of a MAC using the OUI. I have a file called oui.txt and 2 python files all in the same directory. I started by first building my mac lookup script in its own file. It looks like this….

Beginner in Python having trouble to see where my mistake is :(

Im complete beginner in my Python journey and im learning through videos and couple of courses, ive reached my first capstone project – simple Blackjack and ive decided to power through and not use any help with the structure of my code and this is the result ive end up with, but it seems there is exceptions in my code which i struggle to see, the image shows that code enters some sort of loop, apologies for the sloppy code :(enter image description here