Python Forum
Make my py script work only on 1 compter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Make my py script work only on 1 compter
#4
I think you are on the right path, but some kinks. What version of Python?
UUID.getnode() gets the MAC address of the computer, which should be unique. However, computers may have more than one interface, and therefore more than one MAC address (wired vs wifi connections, for example).

I suggest reading the documentation on uuid at https://docs.python.org/3/library/uuid.html
tomtom likes this post
Reply


Messages In This Thread
RE: Make my py script work only on 1 compter - by jefsummers - Feb-17-2022, 01:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make it so whatever I input into a script gets outputted on a different file spermatozwario 4 1,280 Nov-24-2024, 12:58 PM
Last Post: deanhystad
  Trying to Make Steganography Program Work For All Payload Types Stegosaurus 0 1,290 Sep-26-2024, 12:43 PM
Last Post: Stegosaurus
  How to make my Telegram bot stop working at 16:15 and not work on Fridays? hus73 2 1,503 Aug-10-2024, 12:06 PM
Last Post: hus73
  Make entire script run again every 45 mo NDillard 0 973 Jan-23-2024, 09:40 PM
Last Post: NDillard
  hi need help to make this code work correctly atulkul1985 5 2,055 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  Trying to make a board with turtle, nothing happens when running script Quascia 3 1,856 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  newbie question - can't make code work tronic72 2 1,602 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Why do I have to repeat items in list slices in order to make this work? Pythonica 7 3,041 May-22-2023, 10:39 PM
Last Post: ICanIBB
  Make console show after script was built with Pyinstaller --NOCONSOLE? H84Gabor 0 1,886 May-05-2022, 12:32 PM
Last Post: H84Gabor
  readline.parse_and_bind() does not work in start-up script of Python interpreter zzzhhh 0 2,240 Jan-18-2022, 11:05 AM
Last Post: zzzhhh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020