Skip to content

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

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

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages