Mark,
Thanks mark, It had been about 15hr since I posted to
python-list@python.organd had not seen a response so I thought I would
try
tutor.python.org.
Well I got a response now, not that it helped, but I respond on that list.
Thanks again.
Vincent Davis
720-301-3003
On Fri, Dec 13, 2013 at 10
would initiate a SMTP
server, send the attachment and shutdown the SMTP after.
Vincent Davis
720-301-3003
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
> print lengthz
> >
> >
> >
> >
> Seems to me for such a large file you'd have to use
> bz2.BZ2Decompressor. I have no experience with it, but its purpose is
> for sequential decompression -- decompression where not all the data is
> simultaneously available
pment Engineering
> Amkor Technology (S) Pte Ltd
> 1 Kaki Bukit View
> #03-28 TechView Building
> Singapore 415941
> Tel: (65) 6347 1131
> Fax: (65) 6746 4815
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change
lf.assertEqual(self.file.tags[k], v, "Failure with key "+k)" I think
this is the best(how I would do it) solution, 1 test for files with a
meaningful report as to which file is the problem.
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net&
By they way you shouldn't need to use str(file) as I did. Unlessit is
not a string already. Bad habit. I am used to numbers
vincet
On Thursday, May 6, 2010, Vincent Davis wrote:
> I can't think of a way to do what you ask, without defining a test for each.
> ButI think what yo
k)+', '+str(v)
I am not ecpert on unittests
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
On Wed, May 5, 2010 at 6:37 PM, Damon Timm wrote:
> Hi - am trying to write some unit
ring """
_bstring_constructor = biostrings.BString
@classmethod
def new(cls, x):
""" :param x: a (biological) string """
res = cls(cls._bstring_constructor(conversion.py2ri(x)))
_setExtractDelegators(res)
re
). I have tried a few combinations but not the right
one.
in >>>b
out >>>21-letter "BString" instance
seq: I am a BString object
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linked
nting me in the right direction or to
documentation is as useful as the correct code.
Thanks
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
___
Tutor ma
.
Thanks again,
http://stackoverflow.com/questions/2420412/search-for-string-allowing-for-one-mismatches-in-any-location-of-the-string-pyth
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
this. The only
thing I can think of is using a wildcard and performing the search with a
wildcard in each position. ie 25 time.
For example
AGCCTCCCATGATTGAACAGATCAT
AGCCTCCCATGATAGAACAGATCAT
close match with a miss-match at position 13
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my
@Skipper
Thanks I will post over on the scipy list
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentdavis>
On Tue, Feb 23, 2010 at 10:55 AM, Skipper Seabold wrote:
> On Mon, Feb 22, 2
of each
normal array [' 0', ' 0', '234.0', '24.0', ' 25']
Record array [(3153952, 0, 0.0, 0.0, 0)
*Vincent Davis
720-301-3003 *
vinc...@vincentdavis.net
my blog <http://vincentdavis.net> |
LinkedIn<http://www.linkedin.com/in/vincentda
I must be missing something simple. I have a list of lists data = "[[' 0',
' 0', '234.0', '24.0', ' 25'], [' 1', ' 0', '22428.0', '2378.1', '
25'],.." and what to make a record array from it but it gets screwed up
or I don't get it, maybe both. Notice that at this stage the items are
string
Thanks again for all your help Kent and Dave.
I think you won't here from me for a week or more as I digest your advise
and work on my project.
Thanks
Vincent Davis
720-301-3003
On Sun, Nov 1, 2009 at 6:34 PM, Dave Angel wrote:
> Kent Johnson wrote:
>
>> On Sun, Nov 1,
with a distributions set at the applicant and institution level.
Thanks
Vincent Davis
On Sun, Nov 1, 2009 at 9:58 AM, Kent Johnson wrote:
> On Sun, Nov 1, 2009 at 10:47 AM, Vincent Davis
> wrote:
> > Kent Johsnon writes
> > "This class has a lot of responsibilities:
figured out once I have the Simulations class setup to do the whole thing.
The only part with CherryPy I am still working on is displaying progress on
the browser as the simulations runs, it can take several minutes.
Thanks
Vincent Davis
720-301-3003
On Sun, Nov 1, 2009 at 6:02 AM, Dave Angel w
RepeatMatch(50,15….)"
This is way I had ask the earlier question "class attribute to initiate more
classes"
Thanks
Vincent Davis
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
>
>
> Vincent Davis wrote:
>
>> DaveA posted
>> import random, functools
>>
>> class Person:
>>def __init__(self, size):
>>self.size = size
>>
>>def __str__(self):
>>return "Person of size %s&qu
to add, I would not have confidence in applying this
to new situations and it seems.
Also I thank DaveA improving my Python conventions. I am really bad about
that. Is there a cheat sheet for Python conventions.
Like class (Capitals), def (two_words), I guess I should make my own.
Thanks
Vincen
don't think it does anyway.
I hope this makes sense, I am sure there is a term for what I am trying to
do but I don't know it.
Thanks
Vincent Davis
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription opt
Thanks for the help, Looks like I will define a function. And yes you are
right self.does_observe is constant so it will not affect the outcome.
Thanks again
Vincent Davis
On Tue, Jun 30, 2009 at 11:15 PM, Kent Johnson wrote:
> On Tue, Jun 30, 2009 at 11:39 PM, Vincent Davis
> wrote:
;quality'))
But I want to sort like this.
self.rank_list.sort(key=(operator.attrgetter('quality') *
operator.attrgetter('is_observed') * self.does_observe))
Will this work or is there a better way?
Thanks
Vincent Davis
___
Tutor
Thanks to all for the comments, It was much more than I expected.
Vincent
On Fri, Jun 19, 2009 at 4:30 PM, Lie Ryan wrote:
> Alan Gauld wrote:
>>
>> "Vincent Davis" wrote
>>
>> class B():
>> def __init__(self, b1, b2):
>> self.fooa = b1
&g
than 5. How do I do this, what I am unclear
about is how I iterate over the values of fooa. As I write this I am
thinking of trying
For x in alist:
if x.fooa > 5 : print(x.fooa)
Is that the right way or is there a better?
will this work for methods?
Thanks
Vincent Da
ins for this. Part of the problem Is that it seems
that most instruction assume some understanding of terminal than I had. I
know little more that what allows me to follow clear instructions.
Thanks
Vincent Davis
720-301-3003
On Thu, Jun 11, 2009 at 9:54 PM, Dave Angel wrote:
> acfleck w
school"
def __init__(self, mquality = 0, sdquality = 0, mobserve = 0,
sdobserve = 0):
self. quality = normalvariate(mquality, sdquality)
self. observe = normalvariate(mobserve, sdobserve)
Thanks
Vincent Davis
720-301-3003
On Tue, Jun 9, 2009 at 7:02 AM,
/algorithms.html
Thanks Again
Vincent Davis
On Tue, Jun 9, 2009 at 1:12 AM, spir wrote:
> Le Mon, 8 Jun 2009 17:31:23 -0600,
> Vincent Davis s'exprima ainsi:
>
>> Accidentally sent I have added the rest
>> (by the way I refrain from using the terms attribute, method, as
Accidentally sent I have added the rest
(by the way I refrain from using the terms attribute, method, as I
will likely miss use them)
> I am reading several tutorials about classes and trying to figure out
> how to apply it to my project. I have a working program that basically
> matches up ap
in the applicant and schools class
Thanks
Vincent Davis
720-301-3003
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
31 matches
Mail list logo