Hi,
Can anybody suggest me a package to verify validity of any kind of IP, i.e.
IPv4 or IPv6.
Thanks,
AD
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi Kurt,
Sorry for the late reply.
My problem is resolved. Instead of "subprocess.Popen", I used
"subprocess.call".
Thanks all for your replies.
AD
On Fri, Sep 18, 2009 at 8:05 PM, Kurt Bendl wrote:
> Hello,
>
> On Sep 18, 2009, at 5:16 AM, Ansuman Dash wrote
12:21 PM, Lie Ryan wrote:
> Ansuman Dash wrote:
>
>> I am downloading files using various command (because files are different)
>> meant for a executable.
>>
>
> What is "various commands"? Are you using wget/curl or similar command-line
> downloader programs? Or
wait for the complete download of that
file and then I ll read the log file and validate that download is
successful.
Thanks,
AD
On Thu, Sep 17, 2009 at 7:02 PM, Kent Johnson wrote:
> On Thu, Sep 17, 2009 at 8:40 AM, Ansuman Dash
> wrote:
> > I am using same process for multiple file
Sep 17, 2009 at 5:47 AM, Ansuman Dash
> wrote:
> > Hi,
> >
> > I modified my code little bit and it is working fine now,
> >
> > =
> > if os.access("C:/Python25/Own.log",
; to
make my code wait. Is there any other way I can write my script to resolve
synchronization issues.
Thanks,
AD
On Thu, Sep 17, 2009 at 12:13 AM, Steve Willoughby wrote:
> > Ansuman Dash wrote:
> > >Now I am trying to validate that the command is executed successfully.
> > >
f.close()
else:
pLogger.info("File doesn't exist")
=
But it is not working, even if ping is successfully it is printing "Ping is
not successful.". Can you please point out where I am making mistake.
Thanks,
AD
On Wed, Sep 16, 2009 at
Hello Everybody,
In Python scripting, how can I execute a command (which can be run from
spcific directory) and then retrieve the result (after executing the command
it give the command is executed successfull or not), so that I can validate
it.
Thanks,
AD