Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User guide for invocation within python script #3

Closed
RSwarnkar opened this issue Nov 12, 2019 · 1 comment
Closed

User guide for invocation within python script #3

RSwarnkar opened this issue Nov 12, 2019 · 1 comment

Comments

@RSwarnkar
Copy link

RSwarnkar commented Nov 12, 2019

How to call ipconflict that takes filepath argument within Python script.

@fgiuba
Copy link
Owner

fgiuba commented Nov 26, 2021

ipconflict is not meant to be used as a Python library, it is just a CLI tool.
Of course, you can still use it in your Python script by invoking an external process with the subprocess module.

import subprocess
subprocess.run('ipconflict -f /my/subnets', shell=True)

@fgiuba fgiuba closed this as completed Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants