Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Netshell for python

License

NotificationsYou must be signed in to change notification settings

TenebraeX8/PyNetsh

Repository files navigation

A simple library for the most important functions of the Windows netshell. Backend, the Windows command line is called to execute these commands. This library is intended to mask out all the commands used to do simple stuff like disconnecting from a Wifi. It also parses the information output into JSON-encoded strings for better postprocessing.

If you did not work with json yet, please dont try to use methods like.find(). Just use the python standard library json (import json ) and convert it into a dictionary withjson.loads()

Usage

It was important to me to write this library without using any other dependencies than the python standard libraries.

  1. Clone the repo (or copy the content of the files)

  2. In your python-script write

    from PyNetsh import *

    Note: If you dont clone the repo, just import the files you copied.

  3. Now you can use the functions (and modules) of the library

Read the README of the specific library you want to use for more informations.


[8]ページ先頭

©2009-2025 Movatter.jp