Breaking new relic format on a new line character in FileHandler appender

2021-11-10 Thread Vijay Karavadra via Python-list
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

How to get only valid python package index

2019-09-23 Thread Vijay Kumar Kamannavar
is valid or not? Thanks, Vijay -- https://mail.python.org/mailman/listinfo/python-list

[issue35366] Monkey Patching class derived from ctypes.Union doesn't work

2018-12-02 Thread Vijay
Vijay added the comment: Wanted to post a possible workaround until this is fixed. One can simply wrap a union anonymously inside a structure. Like so: struct my_struct_s { union my_union_u { }; }; This temporarily solved the problem in my case

[issue35366] Monkey Patching class derived from ctypes.Union doesn't work

2018-11-30 Thread Vijay
New submission from Vijay : I am trying to "monkey patch" a class derived from Python ctypes "Union", but I am unable to do so - getting weird errors and sometimes seg-faults. The same thing works quite well when deriving from ctypes "Structure". I have narrowe

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-11 Thread Vijay
Vijay added the comment: can someone please clarify, is it a pywin32 issue or python3.7 issue?. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-09-03 Thread Vijay
Vijay added the comment: Thanks for the inputs. i will check with pywin32 team. is there any pywin32 link to raise the case. please share if you know. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-08-31 Thread Vijay
Vijay added the comment: i have already added the script. try to run in the python3.7. python is getting crashed. -- ___ Python tracker <https://bugs.python.org/issue34

[issue34553] Python Crashes when trying to access any date related fields in MailItem

2018-08-31 Thread Vijay
New submission from Vijay : MailItem.SentOn or MailItem.ReceivedTime, Python crashes with windows showing "Python has stopped working" dialog window. What can be the cause of this issue? import win32com.client import os import datetime from datetime import timedel

[issue16512] imghdr doesn't recognize variant jpeg formats

2018-07-18 Thread Govind Vijay
Change by Govind Vijay : -- pull_requests: +7860 stage: test needed -> patch review ___ Python tracker <https://bugs.python.org/issue16512> ___ ___ Python-

[issue26543] [EASY] imaplib noop Debug: bytes vs Unicode bug in debug mode

2018-07-18 Thread Govind Vijay
Change by Govind Vijay : -- versions: -Python 3.6 ___ Python tracker <https://bugs.python.org/issue26543> ___ ___ Python-bugs-list mailing list Unsubscribe:

Regarding the error: TypeError: can’t pickle _thread.lock objects

2017-12-21 Thread Winston Manuel Vijay
: 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 privileged

Python Byte Code Hacking

2016-07-13 Thread Vijay Kumar
. Regards, Vijay -- https://mail.python.org/mailman/listinfo/python-list

Chennai Python User Group - January Meetup

2015-01-20 Thread Vijay Kumar
List: https://mail.python.org/mailman/listinfo/chennaipy Regards, Vijay -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Chennai Python User Group - December Meetup

2014-12-11 Thread Vijay Kumar
List: https://mail.python.org/mailman/listinfo/chennaipy Regards, Vijay -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Chennai Python User Group - November Meetup

2014-11-19 Thread Vijay Kumar
: https://mail.python.org/mailman/listinfo/chennaipy Regards, Vijay -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

Chennai Python User Group Meetup

2014-10-16 Thread Vijay Kumar
/chennaipy Regards, Vijay -- https://mail.python.org/mailman/listinfo/python-announce-list Support the Python Software Foundation: http://www.python.org/psf/donations/

[issue20922] Global variables

2014-03-14 Thread VIJAY KANSAL
New submission from VIJAY KANSAL: Inside functions: 1. Python allows access to global variables. 2. Python allows creation of local variable with the same name as that of of some of the global variable. Keeping the above two statements in mind, I believe that Python must allow following

[issue20922] Global variables and Local Variables with same name

2014-03-14 Thread VIJAY KANSAL
Changes by VIJAY KANSAL vijaykans...@gmail.com: -- title: Global variables - Global variables and Local Variables with same name ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20922

Coercing one object to type of another

2013-02-09 Thread Vijay Shanker
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

Re: Coercing one object to type of another

2013-02-09 Thread Vijay Shanker
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 deont...@gmail.com wrote: 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

keyerror '__repr__'

2012-08-04 Thread vijay shanker
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' %

Need some assistance on Regular expression in python

2012-04-18 Thread vijay swaminathan
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

A better way to read Image from a server and start download / load

2012-04-17 Thread vijay swaminathan
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==False: Image_Download() /code Thanks, Vijay Swaminathan -- http://mail.python.org/mailman

[issue14322] More test coverage for hmac

2012-03-28 Thread Vijay Majagaonkar
Changes by Vijay Majagaonkar vijay.majagaon...@gmail.com: -- nosy: +Vijay.Majagaonkar ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14322

would u wanna details about ur life partner.click here free registration.

2012-02-08 Thread vetri vijay
http://123maza.com/46/river834/ -- http://mail.python.org/mailman/listinfo/python-list

Need help with Python to C code compiler

2011-08-08 Thread Vijay Anantha Murthy
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

Sending email in python

2011-07-04 Thread vijay swaminathan
successfully' s.quit() except: print 'Email with attachment could not be sent !!' -- Vijay Swaminathan -- http://mail.python.org/mailman/listinfo/python-list

Re: something about performence

2011-06-21 Thread Vijay Murthy
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)

Problem in using subprocess module and communicate()

2011-05-21 Thread vijay swaminathan
, 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' time.sleep(0.5) else: print 'Thread is dead' Vijay

Assistance in understanding the sub-Process module

2011-05-13 Thread vijay swaminathan
, 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 arguments... please correct me If i misunderstood. Thanks, -- Vijay Swaminathan

Need Assistance on this program.

2011-05-12 Thread vijay swaminathan
. 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: Binary data -- http://mail.python.org/mailman

Re: NewBie Doubt in Python Thread Programming

2011-05-12 Thread vijay swaminathan
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 ros...@gmail.com wrote

Re: Need Assistance on this program.

2011-05-12 Thread vijay swaminathan
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 andrea.crott

Re: Need Assistance on this program.

2011-05-12 Thread vijay swaminathan
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 m...@timgolden.me.uk wrote: On 12/05/2011 10:45, vijay swaminathan wrote: I tried using that as well. The problem is, the thread

Re: Need Assistance on this program.

2011-05-12 Thread vijay swaminathan
12, 2011 at 4:08 PM, Tim Golden m...@timgolden.me.uk wrote: On 12/05/2011 11:29, vijay swaminathan wrote: ... snippet from code ... print 'Invoking Command Promptt..' #subprocess.call([start, /DC:\\PerfLocal_PAL, scripts_to_execute.bat], shell=True

NewBie Doubt in Python Thread Programming

2011-05-11 Thread vijay swaminathan
active or dead? Please help me in understanding .. -- Vijay Swaminathan -- http://mail.python.org/mailman/listinfo/python-list

Re: NewBie Doubt in Python Thread Programming

2011-05-11 Thread vijay swaminathan
for this to be the case! On Wed, May 11, 2011 at 6:38 PM, vijay swaminathan swavi...@gmail.com wrote: so If i understand correctly, once the run method of the thread is executed, the thread is no more alive. Once run() finishes executing, the thread dies. Actually, I'm trying to invoke a command

Re: NewBie Doubt in Python Thread Programming

2011-05-11 Thread vijay swaminathan
main loop), so this is not a big deal. The signals are: - finished - started - terminated It is possible to block the thread, make it sleep, check whether the thread is running, and few others. -- http://mail.python.org/mailman/listinfo/python-list -- Vijay Swaminathan -- http

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay vijay.psaib...@gmail.com added the comment: Two issues related with the workaround suggested by nosklo. 1. Splitting the filepaths isnt simple, as there may be blank spaces etc. 2. We have different versions of Python installed in our Lab machines, some have 2.5 and others got 2.6. If I

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay vijay.psaib...@gmail.com added the comment: Update!! I found a very good workaround for this and it works very nicely, with both 2.5 and 2.6 versions. Below is the segment from my code:- from Tkinter import * import tkFileDialog master = Tk() master.withdraw() #hiding tkinter window

[issue5712] tkinter - askopenfilenames returns string instead of tuple in windows 2.6.1 release

2010-06-16 Thread vijay
vijay vijay.psaib...@gmail.com added the comment: Hi Clovis Ok, I did not check if your split string function check for spaces or not, sorry for that. In my first post I mentioned this:- 2. We have different versions of Python installed in our Lab machines, some have 2.5 and others got 2.6

Python Learning Environment

2010-04-17 Thread Vijay Shanker Dubey
for python command - python - python2 - python2.5 - python2.6 - python3 - python3.1 what does this mean? I am able to run run my first program with all these command. should i remove all these and have the latest one? I am confused about these finding. Is this okay to have these all? Regards, Vijay

Re: Python Learning Environment

2010-04-17 Thread Vijay Shanker Dubey
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 vijay.s...@gmail.com wrote: Yes you are right about symlink thing. So what should I do

Calling Python code from inside php

2008-04-23 Thread vijay
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

Re: best GUI library for vector drawing program

2007-08-20 Thread vijay . kumar . 75in
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

Re: How to execute an EXE via os.system() with spaces in the directory name?

2005-12-03 Thread Vijay L
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 the

f-f_locals is NULL for a method call

2005-05-27 Thread Vijay Kumar
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

From the call hook, how do I know more precisely what is called?

2005-05-20 Thread Vijay Kumar
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

how to get a function object from a frame object

2005-05-17 Thread Vijay Kumar
ideas. Vijay -- http://mail.python.org/mailman/listinfo/python-list

RE: Array programming

2005-05-07 Thread Vijay Chandra Sekhar Parepalli
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

Outlook-Python Issue

2005-05-07 Thread Vijay Chandra Sekhar Parepalli
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 DONt want to send it automatically) Thats

how to use python scripts in zope3

2005-02-01 Thread vijay
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