This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| LCID Name DisplayName | |
| ---- ---- ----------- | |
| 127 Invariant Language (Invariant Country) | |
| 4096 aa Afar | |
| 4096 aa-DJ Afar (Djibouti) | |
| 4096 aa-ER Afar (Eritrea) | |
| 4096 aa-ET Afar (Ethiopia) | |
| 54 af Afrikaans | |
| 4096 af-NA Afrikaans (Namibia) | |
| 1078 af-ZA Afrikaans (South Africa) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import sys | |
| def create_vcf_file(input_file, output_file): | |
| with open(input_file, 'r') as numbers_file: | |
| with open(output_file, 'w') as vcf_file: | |
| for line in numbers_file: | |
| phone_number = line.strip() | |
| vcf_file.write(f"BEGIN:VCARD\nVERSION:3.0\nFN:\nN:;;;;\nTEL;TYPE=CELL:{phone_number}\nCATEGORIES:myContacts\nEND:VCARD\n") | |
| create_vcf_file(sys.argv[1], sys.argv[2]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import random | |
| import ctypes | |
| # Define the path to the directory containing wallpapers | |
| WALLPAPER_DIRECTORY = "D:\\your-wallpaper-collection\\nested-dir\\" | |
| def set_wallpaper(image_path): | |
| """ | |
| Sets the desktop wallpaper using the Windows API. |