Posts: 4,647
Threads: 1,494
Joined: Sep 2016
May-17-2018, 12:52 AM
(This post was last modified: May-17-2018, 12:55 AM by Skaperen.)
(May-14-2018, 09:09 AM)DeaD_EyE Wrote: I'm always asking myself: Is this a good Idea to rely on the OS.
I learned, sometimes it's better to have the implementation in the language itself as calling outside foreign programs.
But sometimes it's very cheap just to call a program, which does the work for you.
Maybe you want to have a own implementation of ping in your utilities package: https://github.com/samuel/python-ping/bl...er/ping.py
seems like a better alternative to me. i hope that implementation itself has no OS issues.
if it's small enough Python code, i could insert it into my code rather than import a module that may also need to be installed.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.