uth\_service_account_info.py", line
71, in from_filename
with io.open(filename, 'r', encoding='utf-8') as json_file:
FileNotFoundError: [Errno 2] No such file or directory:
'E:\\comms-nlp-service\\src\\GoogleAuthentication\\ xyz .json'
"}
Any suggestions on this would be a great help.
--
Thanks,
Vijay Karavadra
--
https://mail.python.org/mailman/listinfo/python-list
valid or not?
Thanks,
Vijay
--
https://mail.python.org/mailman/listinfo/python-list
: TypeError:
canât pickle _thread.lock objects-please find the attached screenshot for your
reference.
Thanks,
A.Winston Manuel Vijay
This e-mail and any files transmitted with it are for the sole use of the
intended recipient(s) and may contain confidential and
unity.
Regards,
Vijay
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, February 9, 2013 4:13:28 PM UTC+5:30, Chris Angelico wrote:
> On Sat, Feb 9, 2013 at 9:29 PM, Vijay Shanker wrote:
>
> > Hi
>
> > Inside a function i get a two arguments, say arg1 and arg2, how can i
> > convert arg2 to same type as arg1 ?
>
> &
Hi
Inside a function i get a two arguments, say arg1 and arg2, how can i convert
arg2 to same type as arg1 ?
I dont know type of arg1 or arg2 for that matter, I just want to convert arg2
to type of arg1 if possible and handle the exception if raised.
Also:
>>> int('2')
2
>>> float('2.0')
2.0
>>>
hi
i have this class book
class book:
def __init__(self,name,price):
self.name = name
self.price = price
def __getattr__(self,attr):
if attr == '__str__':
print 'intercepting in-built method call '
return '%s:%s' %
(object.__getattribute__(s
t this gave the version 0.0.0.1) along with the paranthesis I did not
know how to elimate ')' .. Need some help here..
Thanks
-Vijay
--
http://mail.python.org/mailman/listinfo/python-list
ef='))[-1]).split('>')[0]).strip('"') # The
content output would have html tags. so removing the tags to pick only
image name
if c != filename:
list_of_files.append(c)
else:
Image_Upgrade()
flag = True
if flag==Fa
http://123maza.com/46/river834/
--
http://mail.python.org/mailman/listinfo/python-list
I can not afford that luxury of
time.
I was surfing and came across shedskin, but that might not just support the
xml minidom module for my purposes.
Thanks,
Vijay
--
http://mail.python.org/mailman/listinfo/python-list
s.sendmail(msg['From'],[msg['To']],msg.as_string())
print 'Email with attachment sent successfully'
s.quit()
except:
print 'Email with attachment could not be sent !!'
--
Vijay Swaminathan
--
http://mail.python.org/mailman/listinfo/python-list
I just wrote something. I could not run a profiler or analyze the timing but
I felt it was effecient. Have a look and see if it helps:
from itertools import *
def sep_add(line1, line2):
if line1 and line2:
val1 = line1.split()
val2 = line2.split()
if (val1 and val2) an
stdin = subprocess.PIPE,
creationflags=subprocess.CREATE_NEW_CONSOLE)
retcode.wait()
retcode.communicate('scripts_to_execute.bat')
t = threading.Thread(target = runMonitor, args = ("cmd.exe",))
t.start()
while t.is_alive():
print 'Thread is still alive&
le "C:\Python26\lib\subprocess.py", line 833, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
>>>
I would assume that a list is accepted as part of the args and first being
the program (cmd.exe) and the rest being the argume
12, 2011 at 4:08 PM, Tim Golden wrote:
> On 12/05/2011 11:29, vijay swaminathan wrote:
>
> <... snippet from code ...>
> print 'Invoking Command Promptt..'
>#subprocess.call(["start", "/DC:\\PerfLocal_PAL",
> "scr
Hi Tim,
I have already done that. But for some reason my response went as a new
thread. Attaching the code again.
On Thu, May 12, 2011 at 3:38 PM, Tim Golden wrote:
> On 12/05/2011 10:45, vijay swaminathan wrote:
>
>>
>> I tried using that as well.
>> The problem is, th
I tried using that as well.
The problem is, the thread becomes dead as soon as it executes the
invocation of command prompt.
I want the thread to be alive till I go and manually close the command
prompt.
-Vijay Swaminathan.
On Thu, May 12, 2011 at 2:46 PM, Andrea Crotti wrote:
> vi
Hi Chris,
I tried using os.system as well but it did not even open up the command
prompt.
Can you please share the code that worked for you.. just wondering if I'm
missing something very basic.
Regards,
-Vijay Swaminathan.,
On Thu, May 12, 2011 at 1:38 PM, Chris Angelico wrote:
> On
lp me in getting this piece of code working.
Also can somebody point me to a good tutorial on understanding python thread
programming since I want to get my understanding on the concept of thread
better. I googled a few but quite confusing.
--
Vijay Swaminathan
Thread_Example1.py
Description: Bin
> possible to use any widget classes in the thread (direct quote from
> the docs). On the other hand signals can fire methods from the main
> thread (running the app'a main loop), so this is not a big deal.
> The signals are:
> - finished
> - started
> - terminated
ion that this wasn't
> meant to be private; apologies if you didn't intend for this to be the
> case!
>
> On Wed, May 11, 2011 at 6:38 PM, vijay swaminathan
> wrote:
> > so If i understand correctly, once the run method of the thread is
> executed,
> > the thre
sult.
5. is there a way to find out if the thread is still active or dead?
Please help me in understanding ..
--
Vijay Swaminathan
--
http://mail.python.org/mailman/listinfo/python-list
Thanks friend,
Got the point.
Regards,
Vijay Shanker Dubey
On Sat, Apr 17, 2010 at 11:31 PM, Krister Svanlund <
krister.svanl...@gmail.com> wrote:
> On Sat, Apr 17, 2010 at 7:06 PM, Vijay Shanker Dubey
> wrote:
> > Yes you are right about symlink thing.
> > So what
Regards,
Vijay Shanker Dubey
--
http://mail.python.org/mailman/listinfo/python-list
Hi
I have a python code performing some computation for me.I have a
html page which passes certain argumnets to a php page.This php page
needs to pass on the value to the Python class and get the result
back.
How do I go about this??
Cheers
Vijay
--
http://mail.python.org/mailman/listinfo
Hi All,
Today I have downloaded a SWT Software which is great to its features.
You can learn
many GUI details out of it. The basic functionality is it lists IP
Addresses of the
remote PC's your system is accessing.
You may find the project under sourceforge.net
http://sourceforge.net/projects/ne
I don't have any problems with spaces in the folders.
just for debugging, you could probably try os.system(CMD.replace("\\", "/")
On 3 Dec 2005 19:16:10 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am trying to run an exe within a python script, but I'm having
> trouble with spaces in
elfItem = f->f_locals;
} else printf("Function");
} }
The SelfItem obtained is a NULL object (for method call).But when I
wrote the same trace function in python, f->f_locals is a dictionary
with "self" as a keyword.
How can i get the dictionary in C?
Thanks,
Vijay.
--
http://mail.python.org/mailman/listinfo/python-list
call what is its self object and/or class
is?.
I receive a frame object from the interpreter for every call.
Thanks,
Vijay.
--
http://mail.python.org/mailman/listinfo/python-list
ideas.
Vijay
--
http://mail.python.org/mailman/listinfo/python-list
Hi there,
Can any one please help in getting me Python-Outlook programming issue
clarified.
I just wanted to do the following using Python:
1)Open a New Oulook Mail Window
2) Fill the field: to-email address and Write some
body to it.(I DON’t want to send it automatically
Thank you, Sakesun.
-Original Message-
From: Sakesun Roykiattisak
[mailto:[EMAIL PROTECTED]
Sent: Saturday, May 07, 2005 12:17 PM
To: V.C.Sekhar
Cc: python-list@python.org
Subject: Re: Array programming
V.C.Sekhar wrote:
>Hi there,
> I couldnt get to do the following task using
Pyth
hi
Recently i started learning zope3 framework.
Unlike in zope2.7 , there is no Script(Python) component
in the addlist of zope3.
Also by inserting scripts in zpt it gives me error.
Somebody help me in using python script in zope3.
Thank you.
--
http://mail.python.org/mailman/listinfo/python-list
34 matches
Mail list logo