0z to be replace
by empty string '', so that I can get the desired portion of string
Can anyone help me with a working regex for it.
Thanks,
Shambhu
PLEASE NOTE: The information contained in this electronic mail message is
intended only for the use of the
Well said Steve, I agree with you...
-Shambhu
-Original Message-
From: Steven D'Aprano [mailto:steve+comp.lang.pyt...@pearwood.info]
Sent: Tuesday, November 06, 2012 2:35 PM
To: python-list@python.org
Subject: Re: Multi-dimensional list initialization
On Mon, 05 Nov 2012 21:51:24
ther better method.
Thanks,
Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
windows machine ,
volume size of the machine, to create a partition, all these storage stuffs.
I want to achieve all these features of windows machine, from linux.
-Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
I agree with Christian, a developer should have hobbies other than computer
stuffs. Versatile environment give more
Ability to think differently.
I like playing guitar :-)
Be enthu, run foolishly and learn intelligently.
-Shambhu
-Original Message-
From: Christian Heimes [mailto:li
You can use :
print "aList is "+repr([x,x,x,x,x,x,x,x,x])
-Shambhu
From: levi nie [mailto:levinie...@gmail.com]
Sent: 04/07/2012 9:43 AM
To: python-list@python.org
Subject: a problem about "print"
aList is a list.i want to get the output seem this "aList is
[x,x,x,x,
If you are not sure about the Exception, You can adopt a generic way of
handling exception.
try:
except Exception,e:
print str(e)
-Shambhu
-Original Message-
From: MRAB [mailto:pyt...@mrabarnett.plus.com]
Sent: 25/06/2012 4:14 AM
To: python-list@python.org
Subject: Re
he lines of code u can go for this option:
b = [x.strip("\"") for x in a.split(',')]
So Just Cheerz,
-Shambhu
-Original Message-
From: bruce g [mailto:bruceg113...@gmail.com]
Sent: 14/06/2012 8:00 AM
To: python-list@python.org
Subject: string to list
What is th
me("%Y-%m-%d-%H:%M")this will give you date time in this format "
2012-04-27-12:08"
Hope this will work for you!!!
Cheerz
Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
The below code should work:
zip(*d.values())
when you do *d.values() its going to return tuple of elements, which then
further be can be zipped to
achieve your desired result.
Regards,
Shambhu Rajak
Python Lover
-Original Message-
From: tkp...@gmail.com [mailto:tkp...@gmail.com
Hi,
I want building GNU debugger for mingw.
Need the GDB to support python
How should I go about it?
Thanks,
Shambhu
This message contains information that may be privileged or confidential and is
the property of the KPIT Cummins Infosystems Ltd. It is intended only for the
person to whom it
Regards,
Shambhu
-Original Message-
From: Colin Higwell [mailto:colinh@somewhere.invalid]
Sent: 30/11/2011 1:37 AM
To: python-list@python.org
Subject: Total newbie question: Best practice
Hi,
I am just starting to learn Python (I have been at it only a few hours),
so please bear with
s.wav_plug import WavPlug
you can then use like this then
WavPlug.WavPlug
This will avoid the-every time importing of each method
Regards,
Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
I think you cannnot use "\" as normal string ,it’s a metacharacter, u can use
it like this:
'\\begin{document}'
-Shambhu
-Original Message-
From: Steven D'Aprano [mailto:steve+comp.lang.pyt...@pearwood.info]
Sent: Monday, September 19, 2011 3:31 AM
To: python-li
interest of mine.
Thanks,
Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
Hi ,
I need an api that can be used to do following operations on Subversion
repository tool:
1. Create branch
2. Check out
3. Check in
4. Merge
Regards,
Shambhu
--
http://mail.python.org/mailman/listinfo/python-list
Hi Thomas, Steven,
Thanks for explanation. It is working now after
using double backslash in pathname. I was misinterpreting the display
output and thinking that it was being added by 'os' module.
Regards,
Shambhu.
T
On Aug 8, 6:29 pm, Steve
Hi Thomas,
I checked, file is present. Here is my sample script:
import os
filename = "C:\SHAMBHU\tmp\text_delete.txt"
os.unlink(filename)
File "C:\SHAMBHU\tmp\text_delete.txt" is accessible but "C:\\SHAMBHU\
\tmp\\text_delete.txt" is not (with extra ba
Hi,
I am new to Python. I was trying to use os.unlink function in
windows. But i am getting error:
OSError: [Errno 2] No such file or directory:
'C:\\SHAMBHU\\tmp\\text_delete.txt'
Input file to os.unlink is: 'C:\SHAMBHU\tmp\text_delete.txt'. But os.unlink
is adding
19 matches
Mail list logo