[DSHub]Basic Info 0.1

Python Script Releases, known supporting hubsofts for python scripting.

DSHub | ADCH++
Locked
Toast

[DSHub]Basic Info 0.1

Post by Toast » 02 Oct 2008, 17:29

Code: Select all

#   Basic  Information 0.1
#   By Toast 08-10-02
#
#   Prints out Hostname and PID for process
#   Simple script (example for DSHub)
import sys, socket, os, sys
print "\n"
print "Basic Info:"
print "\n"
hostname = socket.gethostname()
print "Hostname:", hostname
print 'DSHub PID:', os.getpid()
print "\n"
A simple script that shows PID and Hostname
Basic Info:


Hostname: Hideaway
DSHub PID: 4380
Attachments
basic_info.py
(305 Bytes) Downloaded 412 times

Locked