Hi,
this might be a rather silly question, but i cannot figure out how to make
pdb give me more than 10 lines of output whenever i issue a backtrace
command.
Is there an easy way to do this?
thanks
matt
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
i am sorry if this doesn't quite match the subject of the list. If someone
takes offense please point me to where this question should go. Anyway, i have
a problem using regular expressions. I would like to match the line:
1.002000e+01 2.037000e+01 2.128000e+01 1.908000e+01 1.871000e+01 1.91
0)\t:\tsome
description')]
btw: The line to be matched (given below) is ONE line. There are no line
breaks (even though my email client adds them).
matt
On Thursday, August 18, 2011, Vlastimil Brom wrote:
> 2011/8/18 Matt Funk :
> > Hi,
> > i am sorry if this doesn't
Hi Josh,
thanks for the reply. I am no expert so please bear with me:
I thought that the {32} was supposed to match the previous expression 32
times?
So how can i have all matches accessible to me?
matt
On Thursday, August 18, 2011, Josh Benner wrote:
> On Thu, Aug 18, 2011 at 4:03 PM, M
Hi,
thanks for the suggestion. I guess i had found another way around the
problem as well. But i really wanted to match the line exactly and i
wanted to know why it doesn't work. That is less for the purpose of
getting the thing to work but more because it greatly annoys me off that
i can't figure
On Friday, August 19, 2011, Alain Ketterlin wrote:
> Matt Funk writes:
> > thanks for the suggestion. I guess i had found another way around the
> > problem as well. But i really wanted to match the line exactly and i
> > wanted to know why it doesn't work. That
On Friday, August 19, 2011, jmfauth wrote:
> On 19 août, 19:33, Matt Funk wrote:
> > The results obtained are:
> > results:
> > [(' 2.199000e+01', ' : (instance: 0)\t:\tsome description')]
> > so this matches the last number plus the string a
On Friday, August 19, 2011, Carl Banks wrote:
> On Friday, August 19, 2011 10:33:49 AM UTC-7, Matt Funk wrote:
> > number = r"\d\.\d+e\+\d+"
> > numbersequence = r"%s( %s){31}(.+)" % (number,number)
> > instance_linetype_pattern = re.compile(numberse
Thanks,
works great.
matt
On 3/3/2011 10:53 AM, MRAB wrote:
> On 03/03/2011 17:33, maf...@nmsu.edu wrote:
>> Hi,
>>
>> i have a line that looks something like:
>> 2.234e+04 3.456e+02 7.234e+07 1.543e+04: some description
>>
>> I would like to extract all the numbers. From the python website i
>>
Hi,
i have a list of files, some of which end with .hdf and one of them end
with hdf5. I want to filter the hdf5 file. Thereforei set extensions: hdf5
I try to filter as below:
if (any(filename.endswith(x) for x in extensions)):
The problem is that i let's all files though rather than just the hdf
filename with extensions '.hdf5'?
thanks
matt
On 3/3/2011 4:50 PM, Grant Edwards wrote:
> On 2011-03-03, Matt Funk wrote:
>
>> i have a list of files, some of which end with .hdf and one of them end
>> with hdf5. I want to filter the hdf5 file. Thereforei set ext
Hi,
thanks guys. This is it. The following code will match both hdf and hdf5
for reasons explained in the email from Ethan.
extensions = 'hdf5' #doesn't work
files =
('MOD03.A2010002.1810.005.2010258062733.hdf','MOD03.A2010002.1950.005.2010258063105.hdf','MOD03.A2010002.1950.005.2010258063105.hdf
Hi,
i was wondering whether someone can point me whether the following
already exists.
I want to connect to a server , download various files (for whose name i
want to be able to use a wildcard), and store those files in a given
location on the hard drive. If the file already exists i do not want
en match it via regular pattern.
Not sure if this is the best/most elegant way. But it should work.
thanks
matt
On 12/23/2010 1:46 AM, Octavian Rasnita wrote:
> Can this lib also work with ftps?
>
> Thanks.
>
> Octavian
>
> - Original Message -
> From: "Anurag
Hi,
i am fairly new to python. I was wondering of the following is do-able
in python:
1) a = rand(10,1)
2) Y = a
3) mask = Y > 100;
4) Y(mask) = 100;
5) a = a+Y
Basically i am getting stuck on line 4). I was wondering if it is
possible or not with python?
(The above is working matlab code)
than
Ambu wrote:
>
>
> On Tue, Jan 25, 2011 at 9:13 PM, Matt Funk <mailto:maf...@nmsu.edu>> wrote:
>
> Hi,
>
> i am fairly new to python. I was wondering of the following is do-able
> in python:
>
> 1) a = rand(10,1)
> 2) Y = a
>
Hi,
I was wondering if someone had some advice:
I want to create a set of xml input files to my code that look as follows:
Alg1
./Alg1.in
c:\tmp
1
So there are comments, whitespace etc ... in it
Hi Terry,
On 2/21/2011 11:22 AM, Terry Reedy wrote:
> On 2/21/2011 12:30 PM, Matt Funk wrote:
>> Hi,
>> I was wondering if someone had some advice:
>> I want to create a set of xml input files to my code that look as
>> follows:
>
> Why?
mmmh. not sure how to answ
t for examples or
obtain keys?
I really appreciate your help
thanks
matt
On 2/21/2011 10:43 AM, Stefan Behnel wrote:
> Matt Funk, 21.02.2011 18:30:
>> I want to create a set of xml input files to my code that look as
>> follows:
>>
>>
>>
>>
&g
error:
AttributeError: no such child: catalog
matt
On 2/21/2011 3:28 PM, Stefan Behnel wrote:
> Matt Funk, 21.02.2011 23:07:
>> thank you for your advice.
>> I am running into an issue though (which is likely a newbie problem):
>>
>> My xml file looks lik
-config-file)
will suit my needs.
Again, thanks for the time and effort you put in to answer my questions
(and, in Stefan's case for writing tools and making them available to
everyone) and pointing me in the better direction.
matt
On 2/22/2011 4:01 AM, Ian wrote:
> On 21/02/2011 22:08, M
One thing i forgot,
in case anyone is at this point:
the reason i chose ConfigObj over ConfigParser is that it allows
subsections.
matt
On 2/22/2011 4:01 AM, Ian wrote:
> On 21/02/2011 22:08, Matt Funk wrote:
>>> Why?
>> mmmh. not sure how to answer this question exact
22 matches
Mail list logo