[DSHub]Basic Info 0.1

Python Script Releases, known supporting hubsofts for python scripting.

DSHub | ADCH++
Toast

[DSHub]Basic Info 0.1

Post by Toast » Thu Oct 02, 2008 5:29 pm

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
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: Google (Crawler) and 0 guests