Re: Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
Hi Team, I also tried installing the 64 bit Python and now i get the attached snapshot as error message, Regards Ashish On Mon, Apr 17, 2017 at 11:06 PM, ASHISH A wrote: > Hi Team, > > I have a 64 bit system with Windows 801 Pro OS. I tried to install Python > 3.6.1 from th

Re: Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
PFA the snapshot of the error message.. Regards Ashish On Mon, Apr 17, 2017 at 11:06 PM, ASHISH A wrote: > Hi Team, > > I have a 64 bit system with Windows 801 Pro OS. I tried to install Python > 3.6.1 from the below link : > https://www.python.org/downloads/ > > It aut

Unable to use Python IDLE after downloading the application

2017-04-17 Thread ASHISH A
Python on my 64 bit laptop ? Because the DLL file can not be an issue as i have already fixed it. Regards Ashish -- https://mail.python.org/mailman/listinfo/python-list

Tools/libraries to determine the call graph(call flow) of an python program (module/package)

2016-01-12 Thread ashish
i.python.org/pypi/pycallgraph Any suggestions,advice, pointers welcome. Thanks a ton, ashish "Talk is cheap. Show me the code." - Linus Torvalds [ https://lkml.org/lkml/2000/8/25/132 ] -- https://mail.python.org/mailman/listinfo/python-list

Re: Can tuples be replaced with lists all the time?

2014-03-02 Thread Ashish Panchal
No, not always. You can use yuples as dictionary key as keys are immutable and you can't use it as list. -- https://mail.python.org/mailman/listinfo/python-list

Re: Diving in to Python - Best resources?

2014-01-21 Thread Ashish Panchal
The best resource I think is documentation provided by python http://docs.python.org/ If You need to learn python from scratch http://docs.python.org/tut/tut.html If you need a book for reference http://diveintopython3.ep.io/ -- https://mail.python.org/mailman/listinfo/python-list

Creating a torrent file & associated tracker through a django web app

2012-11-20 Thread ashish
inks will be greatly appreciated Thanks a ton, cheers, ashish 1. http://mktorrent.sourceforge.net/ 2. http://www.robertnitsch.de/projects/py3createtorrent -- http://mail.python.org/mailman/listinfo/python-list

Re: Remove uncide notation

2012-10-18 Thread Ashish Jain
On Thursday, 18 October 2012 15:10:33 UTC+5:30, Chris Rebert wrote: > On Thu, Oct 18, 2012 at 2:27 AM, Ashish Jain wrote: > > > Hi, > > > > > > I have a html string in an object, when I do repr() of that object, I get > > value as: > > > > &g

Remove uncide notation

2012-10-18 Thread Ashish Jain
Hi, I have a html string in an object, when I do repr() of that object, I get value as: {'Id' : 1, 'Body': u' Hello '} I don't wish to have 'u' as the character in my string representation. As this is not a valid json notation now. Thanks for

Re: Passing arguments to & executing, a python script on a remote machine from a python script on local machine

2012-09-20 Thread ashish
On Thursday, September 20, 2012 10:39:28 AM UTC+5:30, Chris Angelico wrote: > On Thu, Sep 20, 2012 at 2:27 PM, Steven D'Aprano > > wrote: > > > On Wed, 19 Sep 2012 12:46:33 -0700, ashish wrote: > > > > > >> 2. I have a python script, local.py,

Passing arguments to & executing, a python script on a remote machine from a python script on local machine (using ssh ?)

2012-09-19 Thread ashish
paces. Any & all explanations/links/code snippets/thoughts/ideas/suggestions/feedback/comments/ of the Python tutor community would be greatly appreciated. Thanks a ton cheers ashish email : ashish.makani domain:gmail.com “The only way to do great work is to love what you do. If you

Passing arguments to & executing, a python script on a remote machine from a python script on local machine

2012-09-19 Thread ashish
stem ("ssh remoteuser@remote python remote.py arg1 arg2 arg3") This worked, but if the arguments i tried to pass, had spaces, i was not able to 'escape' the spaces. Any & all explanations/links/code snippets/thoughts/ideas/suggestions/feedback/comments/ of the Python tut

Re: How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked

2012-09-19 Thread ashish
& subscribers to comp.lang.python On Wednesday, September 12, 2012 4:18:05 AM UTC+5:30, Mark Lawrence wrote: > On 11/09/2012 22:51, ashish makani wrote: > > > Hi c.l.p peeps > > > > > > I am stuck with an issue, so am coming to the Pythonista delta

How to send email programmatically from a gmail email a/c when port 587(smtp) is blocked

2012-09-11 Thread ashish makani
aceful solution to my problem than using an smtp relay ? Any & all explanations/links/code snippets/thoughts/ideas/suggestions/feedback/comments/wisdom of the c.l.p community would be greatly appreciated. Thanks a ton cheers ashish email : ashish.makani domain:gmail.com p.s. some more con

How Python empowers Java?

2012-03-11 Thread Ashish Aggarwal
I am a Java developer but new to Python. I am trying to assess, as what are new capabilities that Python will provide me if I use it with Java. Guys can you please help me? -- http://mail.python.org/mailman/listinfo/python-list

No rule to make target `Parser/printgrammar.o'

2010-11-24 Thread ashish
I'm trying to compile Python from source and get the same error on RedHat and Mac OS X. I did not pass any options to configure. The error occurs immediately. Redhat:~/Downloads/Python-2.7$ make gcc -pthread -c -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 - Wall -Wstrict-prototypes -I. -II

Re: Performance evaluation of HTTPS library

2010-10-14 Thread Ashish
On Oct 13, 6:12 pm, Antoine Pitrou wrote: > On Wed, 13 Oct 2010 05:27:29 -0700 (PDT)Ashish wrote: > > > Well, CBSocket is socket implementation that calls my callback on > > data. > > Both my classes AsyncHTTPSConnection and AsyncHTTPConnection use it > > and u

Re: Performance evaluation of HTTPS library

2010-10-13 Thread Ashish
On Oct 13, 3:19 pm, Antoine Pitrou wrote: > On Wed, 13 Oct 2010 02:12:21 -0700 (PDT) > > Ashish wrote: > > > > > Is the client machine at 100% CPU when you do that? > > > > With HTTP, I see client CPU at appx. 97%. However with HTTPS, it stays > > >

Re: Performance evaluation of HTTPS library

2010-10-13 Thread Ashish
On Oct 13, 2:36 pm, Stefan Behnel wrote: > Ashish Vyas, 12.10.2010 14:40: > > > When I send request using HTTP, I am able to reach 1 transaction (request > > sent, > > response rcvd and validated.) per second from 20 parallel connections > > easily. > > Avera

Re: Performance evaluation of HTTPS library

2010-10-13 Thread Ashish
On Oct 13, 11:11 am, Ashish wrote: > On Oct 12, 6:33 pm, Antoine Pitrou wrote:> On Tue, 12 > Oct 2010 05:40:43 -0700 (PDT) > > > Ashish Vyas wrote: > > > Another observation that I have made is with 10 parallel HTTPS connection > > > each > > > try

Re: Performance evaluation of HTTPS library

2010-10-12 Thread Ashish
On Oct 12, 6:33 pm, Antoine Pitrou wrote: > On Tue, 12 Oct 2010 05:40:43 -0700 (PDT) > > Ashish Vyas wrote: > > Another observation that I have made is with 10 parallel HTTPS connection > > each > > trying 1 transaction per second from 2 different machines (effect

Performance evaluation of HTTPS library

2010-10-12 Thread Ashish Vyas
0 TPS on HTTPS also. So the question is does anyone here have any idea or some data about performance limitation of HTTPS implementation in Python 3.1? Regards Ashish Vyas -- http://mail.python.org/mailman/listinfo/python-list

Python packet capture utility

2010-02-01 Thread VYAS ASHISH M-NTB837
pport. Regards Ashish -- http://mail.python.org/mailman/listinfo/python-list

dtd validation on python 3.1 on Windows.

2010-01-08 Thread VYAS ASHISH M-NTB837
try lxml2.2.4 but it shows DLL importerror. I posted the problem on this forum a few days back, but there is no reply on that. Any help?! Regards Ashish -- http://mail.python.org/mailman/listinfo/python-list

RE: How to execute a script from another script and other script doesnotdo busy wait.

2010-01-07 Thread VYAS ASHISH M-NTB837
Did you try? Thanks Ashish. I've single CPU machine. I've a feeling that the thread created, which would run script2, would eat up all of the CPU if I do not use sleep() in script2. That way, script1 would still be waiting for script2 to finish. Thus, my program is no way differen

RE: How to execute a script from another script and other script does notdo busy wait.

2010-01-07 Thread VYAS ASHISH M-NTB837
Use threads Regards, Ashish Vyas -Original Message- From: python-list-bounces+ntb837=motorola@python.org [mailto:python-list-bounces+ntb837=motorola@python.org] On Behalf Of Rajat Sent: Thursday, January 07, 2010 2:42 PM To: python-list@python.org Subject: How to execute a

RE: lxml 2.2.4 on python3.1, Windows XP gives importerror

2010-01-06 Thread VYAS ASHISH M-NTB837
Processor is Intel Pentium 32 bit. import platform print (platform.architecture()) gives -> ('32bit', 'WindowsPE') Regards, Ashish Vyas -Original Message- From: Sridhar Ratnakumar [mailto:sridh...@activestate.com] Sent: Wednesday, January 06, 2010 10:15 PM T

RE: Convert month name to month number faster

2010-01-06 Thread VYAS ASHISH M-NTB837
How about using list.index() and storing month names in a list? You may want to measure performance your self and conclude. Regards, Ashish Vyas -Original Message- From: python-list-bounces+ntb837=motorola@python.org [mailto:python-list-bounces+ntb837=motorola@python.org] On

RE: lxml 2.2.4 on python3.1, Windows XP gives importerror

2010-01-06 Thread VYAS ASHISH M-NTB837
because the application configuration is incorrect. Reinstalling the application may fix this problem. For information: 'import lxml' works fine. After reinstalling python3.1 also the error message is the same. Any help is appreciated! Regards, Ashish Vyas -- http://mail.python.o

lxml 2.2.4 on python3.1, Windows XP gives importerror

2010-01-05 Thread VYAS ASHISH M-NTB837
. Reinstalling the application may fix this problem. For information: 'import lxml' works fine. After reinstalling python3.1 also the error message is the same. Any help is appreciated! Regards, Ashish Vyas -- http://mail.python.org/mailman/listinfo/python-list

RE: How to run a repeating timer every n minutes?

2009-10-29 Thread VYAS ASHISH M-NTB837
repeating timer every n minutes? Ashish Vyas wrote: > Dear All > > How do I write a code that gets executed 'every x' minutes? > [...] > Regards, > Ashish Vyas Here is one way - import threading class Timer(threading.Thread): def __init__(self): th

How to run a repeating timer every n minutes?

2009-10-29 Thread VYAS ASHISH M-NTB837
m main code, I do this: tmr = threading.Timer(timeInSeconds, doAtTimerFire) tmr.start() Sorry about the earlier post with wrong subject line. Please help. Regards, Ashish Vyas -- http://mail.python.org/mailman/listinfo/python-list

RE: Python 2.6 Global Variables

2009-10-29 Thread VYAS ASHISH M-NTB837
m main code, I do this: tmr = threading.Timer(timeInSeconds, doAtTimerFire) tmr.start() Please help. Regards, Ashish Vyas -- http://mail.python.org/mailman/listinfo/python-list

RE: AttributeError: 'SSLSocket' object has no attribute 'producer_fifo'

2009-10-22 Thread VYAS ASHISH M-NTB837
attr) AttributeError: 'SSLSocket' object has no attribute 'out_buffer' Someone please throw some light on this! Ashish From: VYAS ASHISH M-NTB837 Sent: Friday, October 23, 2009 11:35 AM To: python-list@python.org Subject: AttributeError: &

AttributeError: 'SSLSocket' object has no attribute 'producer_fifo'

2009-10-22 Thread VYAS ASHISH M-NTB837
7; object has no attribute 'producer_fifo' Does any one know what is wrong here? Regards, Ashish -- http://mail.python.org/mailman/listinfo/python-list

RE: Help with my program

2009-10-22 Thread VYAS ASHISH M-NTB837
So What is stopping you to do this? Make some methods getName, getHeight... and call classObj.getName() etc from other class. Ashish From: python-list-bounces+ntb837=motorola@python.org [mailto:python-list-bounces+ntb837=motorola@python.org] On

RE: deepcopy of class inherited from Thread

2009-10-12 Thread VYAS ASHISH M-NTB837
The function that I want to run is part of a class, not a standalone function. There are several class member variables also. Regards, Ashish Vyas -Original Message- From: python-list-bounces+ntb837=motorola@python.org [mailto:python-list-bounces+ntb837=motorola@python.org

RE: deepcopy of class inherited from Thread

2009-10-12 Thread VYAS ASHISH M-NTB837
: - deepcopy the object - call start() for the object you got from deepcopy - delete the object. Is there a simpler way to achieve this? Regards, Ashish Vyas -Original Message- From: Dave Angel [mailto:da...@ieee.org] Sent: Monday, October 12, 2009 7:14 PM To: VYAS ASHISH M-NTB837 Cc: python

deepcopy of class inherited from Thread

2009-10-12 Thread VYAS ASHISH M-NTB837
Dear All I am running this piece of code: from threading import Thread import copy class Ashish(Thread): def __init__(self, i): Thread.__init__(self) self.foo = i def run(self): print (self, self.foo) d= Ashish(4) e = copy.deepcopy(d) <--- Exception h

Re: General: tutorial to all new python users

2009-05-22 Thread ashish
On May 22, 5:40 am, bvidinli wrote: > This is a good starting point i > think:http://pleac.sourceforge.net/pleac_python/index.html > > (Also a non-related subject:   for who want to do hosting freely on > linux:www.ehcp.net(hosting control panel), also contains an > experimental python backend)

python beginer

2008-04-16 Thread ashish kamble
hi, can anyone tell me hw to start with webapplication scripting(e.g login page..etc) if anyone has soln for this or simple e.g that mention above please send me by and have a nice day -- http://mail.python.org/mailman/listinfo/python-list

hw to program on python

2008-04-15 Thread ashish
hi , python experts i want some help from u people just mail me how to write scripts for web applications (like form coding for login page, etc). i m waiting for ur reply by have a nice day! -- http://mail.python.org/mailman/listinfo/python-list

Installing pcaplib

2008-01-03 Thread ashish
x27; pcap.c:4260: warning: passing arg 3 of `PyModule_AddStringConstant' discards qualifiers from pointer target type error: command 'gcc' failed with exit status 1 Please tell me how to solve this problem.Do i have to install anything else before installing this library. Thanks in Adv

Re: why did MIT drop scheme for python in intro to computing?

2007-10-10 Thread Ashish Hanwadikar
at UP AND DOWN for TWO > HOURS > visi.comwhile I decide on a NEW > CAREER!! I couldn't find any documentation on stklos (other than a few examples) regarding its gtk+ binding

Python service gets interrupted function call

2007-10-10 Thread ashish
SetConsoleCtrlHandler(ctrl_handler, True) win32serviceutil.HandleCommandLine(TrialService) In actual call i just want to call my app in place of time.sleep but my app will have blocking code segments. Any help will be greatly appreciated . Thanks Ashish -- http://mail.python.org/mailman/listinfo/python-list

HTTPS request

2007-09-05 Thread ashish
-policy+xml","Accept": "text/plain"} data="some xml doc" http_obj.send_request('PUT',uri,data,headers=headers) But it dumps core where ever i run this.Please tell me where i am going wrong. Regards Ashish -- http://mail.python.org/mailman/listinfo/python-list

Xml parser

2007-05-25 Thread ashish
Hi All, I want to know weather is there any api available in python for parsing xml(XML parser) Regards Ashish -- http://mail.python.org/mailman/listinfo/python-list

GUI to python scripts

2007-05-22 Thread ashish
for that.Can any one tell from where i will get such API or GUI application which will generate python scripts. Regards Ashish. -- http://mail.python.org/mailman/listinfo/python-list