Re: Has anyone worked on docker with windows

2017-11-28 Thread Robert Clove
i was also of the same opinion , but docker is available on windows too https://www.docker.com/docker-windows On Wed, Nov 29, 2017 at 12:22 PM, Percival John Hackworth <p...@nanoworks.com > wrote: > On 28-Nov-2017, Robert Clove wrote > (in article<mailman.69.151188902

Has anyone worked on docker with windows

2017-11-28 Thread Robert Clove
Hi, what am i trying to achieve is, container of windows with an application like slack on it. Does window container has an UI? Has anyone worked on it, is it feasible? -- https://mail.python.org/mailman/listinfo/python-list

Has any one automated the vmware-vra setup using python?

2016-10-05 Thread Robert Clove
-- https://mail.python.org/mailman/listinfo/python-list

Find Nested group in LDAP by this i mean group in group

2016-09-16 Thread Robert Clove
Hi, I was looking for search query in LDAP for nested group memebership. It would be great if someone can provide the python code for the same. Regards -- https://mail.python.org/mailman/listinfo/python-list

memberof example using ldap

2016-09-12 Thread Robert Clove
Hi, I have to find if user is the member of a group, for this i am using the following query (&(objectClass=user)(sAMAccountName=yourUserName) (memberof=CN=YourGroup,OU=Users,DC=YourDomain,DC=com)) (memberof=CN=YourGroup,OU=Users,DC=YourDomain,DC=com)== values from distinguished name of your

ldap or active directory module

2016-09-09 Thread Robert Clove
Is it possible to find the following things using python ldap or active directory module I want to find if the particular group exist in my active directory also another function to find the user in a particular group -- https://mail.python.org/mailman/listinfo/python-list

Is there a way to invoke remote power shell as Admin.

2016-07-23 Thread Robert Clove
Hi, I am basically trying to solve the following problem http://stackoverflow.com/questions/38540424/open-power-shell-as-admin-on-remote-vm Regards Clove -- https://mail.python.org/mailman/listinfo/python-list

Re: JNLP File download and run

2016-05-24 Thread Robert Clove
Can u provide the pseudo code for the same On Fri, May 20, 2016 at 9:06 PM, Michael Torrie <torr...@gmail.com> wrote: > On 05/20/2016 01:30 AM, Robert Clove wrote: > > Hi, > > > > Can someone give me pseudo code to download and JNLP file from a URL and > > run

JNLP File download and run

2016-05-20 Thread Robert Clove
Hi, Can someone give me pseudo code to download and JNLP file from a URL and run it? Looks like a advance concept in python Regards -- https://mail.python.org/mailman/listinfo/python-list

Random MAC generator error

2015-09-12 Thread Robert Clove
import random # global mac1 def randomMAC(): mac = [ 0x00, 0x16, 0x3e, random.randint(0x00, 0x7f), random.randint(0x00, 0xff), random.randint(0x00, 0xff) ] return ':'.join(map(lambda x: "%02x" % x, mac)) # print randomMAC() for x

Project, how to debug

2015-03-31 Thread Robert Clove
Hi All, I am facing a problem. I have been given a project written in python and asked to debug it. I have not been given the flow they said understand and debug. Can someone suggest me how to debug it in Wings IDE. Project have approx 10 files. Regards --

Python regex exercise

2015-03-31 Thread Robert Clove
Hi All, Do anyone have good links to python regex or other python problems for beginners but with solution. Please mail me. Regards -- https://mail.python.org/mailman/listinfo/python-list

Re: Project, how to debug

2015-03-31 Thread Robert Clove
On Tue, Mar 31, 2015 at 5:19 PM, Peter Otten __pete...@web.de wrote: Robert Clove wrote: Hi All, I am facing a problem. I have been given a project written in python and asked to debug it. I have not been given the flow they said understand and debug. Can someone suggest me how

Python script output in file

2015-03-18 Thread Robert Clove
Hi, I have a perl script named my_eth-traffic.pl which calculates the tx and rx speed of the Ethernet interface in Mb. I want to run this script from another script and want the output in other file. So i wrote the following script but not getting the output. #!/usr/bin/python import sys

Re: Python script output in file

2015-03-18 Thread Robert Clove
./my_eth_script.pl eth0 M a.txt How can i run this command with subprocess.popen On Wed, Mar 18, 2015 at 3:49 AM, Rustom Mody rustompm...@gmail.com wrote: On Wednesday, March 18, 2015 at 4:06:05 PM UTC+5:30, Robert Clove wrote: Hi, I have a perl script named my_eth-traffic.pl which

Re: Python script output in file

2015-03-18 Thread Robert Clove
, Robert Clove wrote: ./my_eth_script.pl eth0 M a.txt How can i run this command with subprocess.popen Something like this I guess? proc = Popen(cat, shell=True, stdout=open(inname, w), stdin=open(outname,r)) How will the file object associated with in name be closed? (When

bufsize must be an integer in subprocess.Popen

2015-02-23 Thread Robert Clove
Hi All, I am using the Linux system with python, i am running the following script #!/usr/bin/python import threading import time import sys import subprocess import datetime import os import time import logging

Re: Threading in Python, Please check the script

2015-01-14 Thread Robert Clove
Can u provide me the pseudo script. On Wed, Jan 14, 2015 at 4:10 PM, Dave Angel da...@davea.name wrote: On 01/14/2015 01:22 AM, Robert Clove wrote: Hi All, In any new thread, you should specify what versions of Python and OS you're using. I'll assume Python 2.7 and Linux

Threading in Python, Please check the script

2015-01-13 Thread Robert Clove
Hi All, I have made a script in which i have started two thread named thread 1 and thread 2. In thread 1 one function will run named func1 and in thread 2 function 2 will run named func 2. Thread 1 will execute a command and wait for 60 seconds. Thread 2 will run only till thread 1 is running .

How to make subprocess run for 60 sec?

2014-12-12 Thread Robert Clove
Hi All, I have the following python script that runs. I want is to run the subprocess to run for 60 sec and then send the SIGINT signal to subprocess and write the output in file. #!/usr/bin/python import os import subprocess PIPE = subprocess.PIPE import signal import time def handler(signum,

Re: Solution to a problem,write terminal output to file

2014-12-10 Thread Robert Clove
the output on terminal if i use subprocess.Popen and press ctrl+c from keyboard i didn't get the output. Regards On Wed, Dec 10, 2014 at 12:51 AM, Chris Angelico ros...@gmail.com wrote: On Wed, Dec 10, 2014 at 4:11 AM, Robert Clove cloverob...@gmail.com wrote: I am facing a problem in python

Solution to a problem,write terminal output to file

2014-12-09 Thread Robert Clove
Hi All, I am facing a problem in python coding that is I have a client server program(programs a re in c code and client and server are its executable) on Linux machine. To run client i do this ./strace -c client and to run server i type this ./strace -c server When i give ctrl+c to client i