You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any equivalent of the command mccmnc -cc for python script so that by script we can use to find specific country by country number. I've tried to use this but failed - it seems that this function for cc is called differently.
try:
matches = mccmnc.find_matches(cc=CC, mnc=II) # Use cc instead of user_mcc
if matches:
country_name = matches[0].country_name
network_name = matches[0].network_name
debug_output.append(f"4. CC/MNC found: Carrier={network_name}, Country={country_name}")
else:
debug_output.append("4. No match found for CC/MNC.")
return "Invalid", debug_output
The text was updated successfully, but these errors were encountered:
Is there any equivalent of the command mccmnc -cc for python script so that by script we can use to find specific country by country number. I've tried to use this but failed - it seems that this function for cc is called differently.
The text was updated successfully, but these errors were encountered: