Ben Finney wrote:
Robert Kern <[EMAIL PROTECTED]> writes:
Ben Finney wrote:
Okay. Where would the public link to those files be?
If I need to "log in" just to download it, that's a needless barrier
that's going to turn me away too.
Yes, you do need to log in.
Thanks.
Ben Finney wrote:
> Andrew Freeman <[EMAIL PROTECTED]> writes:
>
>> http://videos1.showmedo.com/ShowMeDos/291.flv
>>
>
> Which leads one to wonder why they don't just present that URL for
> download instead of behind a "log in" gate.
oj wrote:
On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
Hi,
Hi,
I am taking a string as an input from the user and it should only
contain the chars
Andrew Freeman wrote:
oj wrote:
On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
Hi,
Hi,
I am taking a string as an input from the user an
kj wrote:
I just came across an assignment of the form
x, = y
where y is a string (in case it matters).
1. What's the meaning of the comma in the LHS of the assignment?
2. How could I have found this out on my own?
(Regarding (2) above, I consulted the index of several Python
reference boo
oj wrote:
Why not just use * instead of + like:
if re.search(r'^[^LRM]*$', var): # note: ^ outside [] is start of
string; $ means end of string
print "Invalid"
This will *only* print invalid when there is a character other than L,
R, or M or a empty string.
Sorry, forge
John Machin wrote:
On Jul 19, 12:04 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote:
To show if valid:
if re.search(r'^[LRM]*$', 'LM'):
print 'Valid'
A couple of points:
(1) Instead of search(r'^blahblah', ...) use match(r'bla
Andrew Freeman wrote:
John Machin wrote:
A couple of points:
(1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...)
(2) You need to choose your end-anchor correctly; your pattern is
permitting a newline at the end:
I forgot to change search to match. This sh
John Machin wrote:
On Jul 20, 5:00 am, Andrew Freeman <[EMAIL PROTECTED]> wrote:
Andrew Freeman wrote:
John Machin wrote:
A couple of points:
(1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...)
(2) You need to choose your end-anchor
John Machin wrote:
On Jul 20, 11:14 am, Andrew Freeman <[EMAIL PROTECTED]> wrote:
John Machin wrote:
(4) I highly doubt that this code was actually to be used in an
interactive session,
The offending code is a nonsense wherever it is used.
the False/True outp
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
Samir wrote:
Hi Everyone,
I am relatively new to Python so please forgive me for what seems like
a basic question.
Assume that I have a list, a, composed of nested lists with string
representations o
Samir wrote:
On Jul 21, 6:15 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote:
Samir wrote:
On Jul 21, 3:20 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
Samir wrote:
Hi Everyone,
I am relatively new to Python so please forgive me for what seems l
Samir wrote:
For my small list, I didn't notice a
discernible increase in speed, but I may have to try it with a larger
list size.
About speed, and memory consumption:
List comprehensions
(http://docs.python.org/tut/node7.html#SECTION00714) are
just shortcuts for for-loops.
13 matches
Mail list logo