Skip to content

A python program to check the information of a local machine.

License

Notifications You must be signed in to change notification settings

Saliu258800/Local-machine-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Local Machine Info

Description

This script retrieves and displays the local machine's host name and associated IP address using Python's socket module.

Files

  • main.py: Main script to get host name and IP address.

How to Run

  1. Make sure you have Python installed (version 3.x recommended).
  2. Open a terminal or command prompt.
  3. Navigate to the folder containing the script.
  4. Run the script:
python main.py or python3 main.py

## Example Output
Host name:  MyComputer
IP Address:  192.168.1.5

About

A python program to check the information of a local machine.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages