Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: os.system Output
Post: RE: os.system Output

Are you using Py v3.* by any chance? I am using 2.7 not sure if that make a difference?
S0undwav3 General Coding Help 8 24,593 Mar-02-2017, 04:57 PM
    Thread: os.system Output
Post: RE: os.system Output

ok update, I made a mistake, I forgot to change "import os" to "import subprocess" So... network_response = subprocess.check_output("ping localhost", shell=True)this works. However, If I use it ...
S0undwav3 General Coding Help 8 24,593 Mar-02-2017, 03:46 PM
    Thread: os.system Output
Post: RE: os.system Output

Thanks for your help with this. it is very much appreciated! I tend to use Linux also, however my employer has a complete Windows infrastructure, hense the messing around with os and subprocess, to g...
S0undwav3 General Coding Help 8 24,593 Mar-02-2017, 02:36 PM
    Thread: os.system Output
Post: RE: os.system Output

Yeah I thought about using the subprocess module but I got the following errors : Output:>>> import subprocess >>> result = subprocess.check_output("dsquery computer -name PC0EGP57"...
S0undwav3 General Coding Help 8 24,593 Mar-02-2017, 11:34 AM
    Thread: os.system Output
Post: os.system Output

So a new one for me. Any help appreciated. I would no doubt be able to find the answer eventually, but its nice to talk to other humans from time to time. I am trying to query AD at a point in my co...
S0undwav3 General Coding Help 8 24,593 Feb-28-2017, 10:01 PM
    Thread: Query number of Logged in users?
Post: RE: Query number of Logged in users?

(Feb-13-2017, 10:16 PM)Larz60+ Wrote: This sounds sort of like ... If you'd like to press one do so now If you'd like to press 2, fine Huh?
S0undwav3 General Coding Help 5 8,256 Feb-15-2017, 01:45 PM
    Thread: number of users
Post: RE: number of users

(Feb-14-2017, 10:50 AM)Kebap Wrote: Thanks for repeating the same information given in this very thread a few posts earlier.. :D By the way, the current status shown today, that is almost 5 months ...
S0undwav3 Board 13 10,360 Feb-15-2017, 01:42 PM
    Thread: Query number of Logged in users?
Post: RE: Query number of Logged in users?

OK got it. SO when i got home i played around with this and am getting closer to what i want to do, but essentially, this question is answered. So here is the solution I came up with in case anyone i...
S0undwav3 General Coding Help 5 8,256 Feb-13-2017, 09:24 PM
    Thread: Query number of Logged in users?
Post: RE: Query number of Logged in users?

Good point. They are a mix of server 2003 (cringe) and the majority 2008.
S0undwav3 General Coding Help 5 8,256 Feb-13-2017, 07:41 PM
    Thread: Query number of Logged in users?
Post: Query number of Logged in users?

Hi, I am trying to write an applet that scans a number of servers, and returns the number of logged in users per server. Background : I have a cirtix environment, and we have instances that allow up...
S0undwav3 General Coding Help 5 8,256 Feb-13-2017, 01:33 PM
    Thread: number of users
Post: RE: number of users

You don't need to be registered to read the forums. Hence 94 less 75 gives number of user reading but not registered? i.e 19 Unregistered Visitors reading the forum pages.
S0undwav3 Board 13 10,360 Feb-13-2017, 01:32 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020