Hi all,

How to Enable/Disable port of a system by triggering the URL through Python program. Please help if possible.

Recommended Answers

All 2 Replies

I think that you should first find how to enable or disable the port from a terminal, and then simply put your command in a call to os.system .

Thanx for the reply. Will try to do so.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.