SO is going uphill.
It isn't too hard to use SA for simple things. I dare to say that with
ActiveMapper it is just a bit more verbose than SQL Object, but not too much.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
st_list = range(10)
>>> filter = lambda x: not x%2
>>> def myCallable(list, filter):
... filtered_list = [(item) for item in list if filter(item)]
... return filtered_list
...
>>> myCallable(test_list, filter)
[0, 2, 4, 6, 8]
>>> for item in myCallable(test_list, filter):
.
n --
> but then it's saved in the file as one long line. In other words, an
> editor that separates how the text is DISPLAYED from how it's SAVED.
WYSINWYG -> What You See Is Not What You Get...
It doesn't make much sense to me, though. With Emacs I get the wrapping t
Paul Rubin <http://[EMAIL PROTECTED]> writes:
> http://web.cecs.pdx.edu/~mpj/timbot/index.html
Should we tell them that we have the original and have a patent on him? :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
line)
Expected output:
Your track is "My favorite track"
It's a title of "My favorite song"
It was played by &q
bstr like this and would write code
similar to the one the OP posted (i.e., /^track=(.*)/).
> OK, I do Perl and Python side by side and didn't reach
> that point so far, maybe beause I read the Friedel-Book
> ( http://www.oreilly.com/catalog/regex2/reviews.html )
> sometimes and actually *like* the concept of regular expressions.
I like them as well. I just don't see the need to use them everywhere. :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
correspondence from Perl to Python.
Dictionaries (and hashes in Perl) are very powerful and solve very interesting
problems (specially when one is looking for something like a "case"
implementation in Python).
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
=
$line = "track='My favorite track'";
if ($line =~ /^track=(.*)/) { print "My track is $1\n"};
===
has the same output. ;-)
All this running perl 5.8.8.
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
or "endswith"
compared to "$/".
I just mentioned this because in the argument of "less code to write leads to
less bugs" doesn't mean that we have typed all what is written :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
true. I really wish I knew how to explain these things politically.
If you find it out don't forget sharing with us. :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
trings based
on a trigram comparison.
You can see how it works on the README
(http://www.sai.msu.su/~megera/postgres/gist/pg_trgm/README.pg_trgm) and maybe
port it for your needs.
But it probably won't be a one operation only search, you'll have to
post process results to decide what to do on multiple m
7;).replace(']', '').strip()
>>> na_out
'Abc ghi jkl gugu'
>>>
Another form:
>>> na_out = ' '.join(na.split(' | ')).replace('[', '').replace(']',
>>> '').replace(' de
I took "I have to read them online" to mean that you needed to read
> them online because (perhaps) you don't have a source distribution on your
> computer. My 2.5 source (Subversion sandbox) has 2.0 through 2.5 What's New
> source in Doc/whatsnew.
My SuSE instal
uot;net terms" instead of pt_BR for the
translation...
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
l.
>
> Hopefully somebody knows one?
Take a look at TurboGears Identity module and at PEAK.security...
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smar
"Ernesto" <[EMAIL PROTECTED]> writes:
> Can Python be used to create (and/or open, read, and write) a text file
> in Windows (if the path is known) ?
Yes.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qua
"anon" <[EMAIL PROTECTED]> writes:
> to do an Import on it. This is where things fail. I cannot see the
> contents of my Jar. What am I missing here?
That JARs are for Java and yo're using Python?
--
Jorge Godoy <[EMAIL PROTECTED]>
"Qui
Charles <[EMAIL PROTECTED]> writes:
> I am looking for a freelance Python programmer to create a cross-platform
> application with wxPython.
> Any idea where I could find one?
Here? At Python-jobs? :-) At the wxPython mailing list?
--
Jorge Godoy <[EMAIL PROTECTED]&
aving a standard
charset as input. If it is required, then the library should set it up by
itself: explicit is better than implicit.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said
hon-mode on Emacs with regards to indenting... :-(
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
-> string
Return a copy of the string s with leading and trailing
whitespace removed.
If chars is given and not None, remove characters in chars instead.
If chars is unicode, S will be converted to unicode before stripping.
--
Jorge Godoy <[EMAIL PROTECTED]>
l
UnknownTransferEncoding
HTTP
HTTPConnection
HTTPSConnection
HTTPResponse
(Yes, it appears twice, don't ask me why...)
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anyt
ore than two projects will use it if
two of them already are :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
rs' and 'staff' are lists.
The question is: "what's not in XXX"? x? Something else? You hve to
remember that the computer does only what you tell it to do:
if x not in uniqueUsers and x not in staff: ...
I also prefer using parenthesis to make things more clear a
7;n' times (n == the number of spaces used by soft tabs in my Eclipse
configuration) on lines where I have code. (The menu option 'Python
backspace' doesn't work.)
These are the most annoying things since in Python indentation matters and we
use it a lot.
--
Jorge Godoy
> 999?
You remind me of my grandpa: if all soldiers but one are marching with
the "wrong" foot ahead, who's wrong?
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
gh (and that's not from lack of trying).
You can try WinZip. Last time I had to use a Windows machine it was
able to untar + gunzip some files perfectly fine (as we are able to
unzip and unrar on *nix...).
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
think: is it possible to call a function in a schema other
than public in PostgreSQL? For example if I had myschema.myfunction and
wanted to use it I can't do "func.myschema.myfunction"... Is there
something like a "dbName" for func? :-)
--
Jorge Godoy <[EMAIL PR
.com.br/search?q=python+decorator+memoize
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
tory.
>
> Any suggestions?
No messages is good! :-)
If you got any error messages then you'd have a problem.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
HMS Surprise <[EMAIL PROTECTED]> writes:
> Perhaps I should have put qoutes in my sentence.
Or I should have read it slowly. ;-)
> I get the "no module message named urllib".
Can you please
import sys
print sys.path
and put the answer here on the newsgroup?
--
Jo
?
> File "C:\maxq\lib\Lib\urllib.py", line 1148
> _hextochr = dict(('%02x' % i, chr(i)) for i in range(256))
> ^
> SyntaxError: invalid syntax
>>> dict(1, 1)
Traceback (most recent call last):
File "
;. I've never had any
problem installing any library or module for Python. Even the ones that
require huge libraries or compiling something.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
Paul McNett wrote:
> Paul Rubin wrote:
>> Frank Millman <[EMAIL PROTECTED]> writes:
>>> Any suggestions will be much appreciated.
>>
>> Why on earth don't you write the whole thing as a web app instead of
>> a special protocol? Then just use normal html tags to put images
>> into the relevant pa
escalation746 wrote:
> I have updated documentation for this on my blog, diagrammes modernes.
> Surf:
> http://diagrammes-modernes.blogspot.com/
Your motivation looks a lot like what is solved by setuptools, eggs and
entry points.
http://peak.telecommunity.com/DevCenter/PkgResources
http://docs.
Jon Rosebaugh wrote:
> Sure, but again, these aren't reporting engines; they're just template
> engines. And I don't think any of the web template engines have PDF
> output.
I generate my PDFs with Genshi / Kid and ReportLab. For the markup
processing I use z3c.rml.
Works flawlessly.
--
http://
Russ wrote:
> Alex, I think you are missing the point. Yes, I'm sure that web
> searches are critical to
> Google's mission and commercial success. But the point is that a few
> subtle bugs cannot
> destroy Google. If your search engines and associated systems have
> bugs, you fix them
> (or simpl
Carl Banks wrote:
> This is starting to sound silly, people. Critical is a relative term,
> and one project's critical may be anothers mundane. Sure a flaw in your
> flagship product is a critical problem *for your company*, but are you
> really trying to say that the criticalness of a bad web s
ay, if following the install after an error is true then some developer
should take a look at it.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
o the group...
(BTW, I've used the samba-python package that comes with opensuse.)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
act the data from this
> page?
It all depends on what data you want. Probably a non-validating parser would
be able to extract some things. Another option is pass the page through some
validator that can fix the page, like tidy...
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
deal with it... My bigger "project" has several modules
now each with its own namespace and package. The API is very documented and
took the most work to get done.
Using setuptools, entrypoints, etc. helps a lot as well.
The thing is that for big projects your design is
re might be some feature of the system related
to that investigation, but there might be not. For example: "what are the
methods provided by this object?" or "which approach is faster for this loop?"
I won't write a test case to test loop speed. But I'd
to say that it is necessary or inevitable is 1960s
> mainframe thinking.
How can you reload C code that would affect already running code --
ie. existing data, pointers, etc. -- without reloading the full program? Even
changing and reloading a dynamic library wouldn't do that to already existing
code, so you'd have to "reboot" your application as well.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
between all clients, etc. It isn't a monolithic take
all or nothing. And even like that it works.
There are customizations on some features that only exists at one client's
branch, there are customizations that might be selected "on the fly" by
choosing something on a preferences sc
doing ever less work yourself and
> pushing ever more work down to your computer.
I won't write a script to write two commands and rerun them often. But I
would for some more -- lets say starting from 5 commands I might start
thinking about having this somewhere where I can at least Cut'n'Past to the
interactive interpreter (even with readline's help).
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
simple
> n efficient, in any case multi threading capabilities are # 1
> requirement.
For which database server?
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
access the files. You talk to the RDBMS server.
Is it running? Is it accepting connections from your host?
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
ady to find packages on code.google.com
yet... ;-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
r. Another alternative is a link at the first
page. And, of course, the last alternative is teaching setuptools how to work
with code.google.com -- if it doesn't already know -- as it learnt how to work
with SourceForge and its "random" mirrors. I don't know how to write that
code, th
pporting other OSs).
> Me neither, knowing near to nothing about setuptools (I'm not even a
> user of it...). Let's hope some expert does speak up -- I can't just
> freely experiment with uploads and the like...
Lets wait. ;-)
Thanks again,
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
ce, make your changes and rebuild the
egg.
Unzipping, changing and zipping it back also works.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
notation in future releases?
>>
> How close is this:
>
> >>> "%.3e" % 3.14159
> '3.142e+00'
>>> "%.3e" % 314159
'3.142e+05'
>>>
Not close when you have the exponent.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
ous from context...
Maybe FastCGI should help, then. It can run "forever" after a request has
finished so it is suitable for long running processes.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
ry/file_sigs.html
And here's an example of an authoritative source for that table:
http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
"n00m" <[EMAIL PROTECTED]> writes:
> my dial-up line's too slow for downloading 4mb of shedskin-0.0.20.exe
Don't worry! We can email it to you. :-D
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
that can be bound so they can act is triggers on your database, but
client side. Of course they don't have all the context as a real trigger
does, but those might be enough to avoid duplicating lots of code through the
app to set some variable.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
option is checking if Python has those encodings available (are they
standard or platform specific?) and using its own conversion method, as
explained in the docs.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
an alternate tag interface
would be interesting, though. But not making it the main interface or the
only one.
Tags are cool when they are few. They are a nightmare when there are hundreds
or thousands of them to search for something.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
Larry Bates <[EMAIL PROTECTED]> writes:
> WOW! Went from 0.7.4 to 0.8.1 in the span of only 23 minutes!
There are two branches: 0.7 and 0.8. So, there were two releases.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> Is there any possible way that I can place a .py file on the internet,
> and use that source code in an .py file on my computer?
Besides Alex suggestion, you can also check Pyro.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mail
collect
them somewhere to use easy_install ;-)
It also supplies means to determine the minimum / maximum / exact version that
is required, so this also helps with how up-to-date your library has to be to
be used with some application.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
tried allsorts but I've been learning Python for 1 week and just
> don't know enough to mod example scripts it seems. don't even get me
> started on python docs.. ayaa ;] Please feel free to teach me to suck
> eggs because it's all new to me :)
>
> T
ing of their license. He's selling you his
product and stating how you can / can't use it.
I believe that this has some value in case they say you can't do one thing
that they told you could when you were acquiring their services.
I'd save those emails exchanged very car
-)
>
> "Emacs makes a good OS, but a lousy editor."
Yep. Emacs comes with a lot of those funny phrases. It is so good that
it even helps people using other editors to have some fun. ;-)
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
Abandoned wrote:
> Hi..
> I run a my script and 3-4 minutes later give me an error "segmentation
> fault".
> What is the reason of this error ?
>
> I use in my script:
> Threading
> Psycopg2
> open & write to txt
> urlopen
>
> My platform is ubuntu linux.
>
> I'm sorry my bad english.
> King re
Tim Chase wrote:
> Any respectable comparison of Python web frameworks should
> include evaluation of at least Django and TG. Or at least give
> good reason why the comparison excludes them.
When he said that he didn't want anything complex neither anything that used
a templating system, I thou
Lawrence Oluyede wrote:
> Thomas Wittek <[EMAIL PROTECTED]> wrote:
>> At least, you missed Turbo Gears :)
>> http://turbogears.org/
>> For me, it feels more integrated than Pylons.
>
> Yeah, so integrated that the next version will be based upon Pylons ;-) ?
What is good, since a lot of good thi
Bruno Desthuilliers wrote:
> Jorge Godoy a écrit :
>> Without seeing any code, it is hard to say anything. But the answer to
>> the ultimate question is "42".
>
> Indeed. Err, what was the question, exactly ?-)
As soon as calculations are finished, you'll
Vernon Wenberg III wrote:
> I'm not really sure how readline() works. Is there a way to iterate
> through a file with multiple lines and then putting each line in a
> variable in a loop?
To know how something works you can always check the docs about this
specific functionality:
>>> a = open('a'
decodes the barcode and sends the decoded output. If it is one
plugged in a keyboard port, for example, reading the barcode or typing the
"message" is exactly the same thing.
Or are you willing some kind of OCR to process the barcodes without a barcode
reader (why having
ea
>
> that would be nice if engine could work with non HTML documents.
>
> thanks in advance for your help, and sorry for my English :)
Take a look at Kid (http://www.kid-templating.org/) and Genshi
(http://genshi.edgewall.org/).
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
ttp://www.sqlobject.org/2/
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
helps everyone. But do not
include the entire original.
I've added the "^" to mark the part where it says what should be on the top of
the message.
You can check it: http://www.dtcc.edu/cs/rfc1855.html
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--
htt
For those there is always http://www.goldmark.org/jeff/stupid-disclaimers/
:-)
Be seeing you,
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
es as possible is
> also a big win.
So we should get a better egg support. Then it would all be just a matter of
easy_install . As it is that easy for thousands of modules on CPAN
for Perl.
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
oftware being managed in the hosting environment.
And why eggs wouldn't satisfy them? Eggs can be installed globally as well,
making the package available to every client of this hosting server (if they
mount their libs from a unique NFS server then it would automatically be
available for al
> gpl or freeware (widows) prefered
I like Umbrello (several OSs supported, including MacOS, Linux, *BSD and you
probably can get it running in Windows though it might be somewhat hard...).
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] writes:
> Thank you in advance for your response.
And those do ... ?
--
Jorge Godoy <[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> can someone suggest a better way? i know it is a general programming
> problem..but i wish to know if a python solution exists
Use pyfam. I believe all docs are in fam but it integrates with that.
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> "The only intuitive interface is the nipple. After that, it's all
> learned." -- Bruce Ediger on user interfaces.
And after we learn its other "uses", not even the nipple is so easy... Who
haven't heard (or said, if you're a woman) "Don't bite it like that, it
hurts!"?
Jack wrote:
> I wonder if it's possible to have a Python that's completely (or at
> least for the most part) implemented in C, just like PHP - I think
> this is where PHP gets its performance advantage. Or maybe I'm wrong
PHP is slower than Python.
--
http://mail.python.org/mailman/listinfo/pyt
Tshepang Lekhonkhobe wrote:
> Hi,
> I was surprised to find python2.{4,5}-doc in contrib and wondered why?
What contrib?
--
http://mail.python.org/mailman/listinfo/python-list
Tshepang Lekhonkhobe wrote:
> On Dec 16, 2007 4:33 PM, Jorge Godoy <[EMAIL PROTECTED]> wrote:
>> Tshepang Lekhonkhobe wrote:
>>
>> > Hi,
>> > I was surprised to find python2.{4,5}-doc in contrib and wondered why?
>>
>> What contrib?
>
> c
I need pysqlite if I use
PostgreSQL? ;-)
/me remembering the old days of Clipper Summer '87, when he'd use DBFs all
over... ;-)
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in L
excuse for using Berkeley
> for simple database purposes.
You're right Aahz. It is more useful. I was just being "smart" with
you :-)
Now it will be easier to provide that classic phone book example in your
book :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid
educe__', '__reduce_ex__', '__repr__',
'__rsub__', '__setattr__', '__str__', '__sub__', 'astimezone', 'combine',
'ctime', 'date', 'day', 'dst', 'fromordinal', 'from
levant here.
Well, I believe they are since it looks like a habit of yours to use
multiline comments. It is common for people coming from other programming
languages that support them.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qual
p code than
> comment syntax.
Is it harder to remove "n" lines of code commented out with "#" than "n"
lines of multiline commented code? How? The same question goes for triple
quoted code.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine
ch that allows using those... I don't remember which
docsystem allows for MathML markup. But then, I'd go with DocBook + MathML
+ SVG ;-) (Hey! You started! And you even said that you didn't like
verbose comments... ;-))
--
Jorge Godoy <[EMAIL PROTECTED]>
"
time and annoys the pig. Good coding is a state
> of mind, not a parser option.
If the latter can help, why not?
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
block first, then your editor might not
be highlighting anymore... With nested comments things get even worse
because you might miss the end of the outer block or something like that.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer
e is multiline comment support or not.
It is really as fast as inserting /* and ending with */ (in fact, I type
less than to achieve that since I only use three keys, counting the
Ctrl-Space to start the block).
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, al
rx wrote:
>
> "Jorge Godoy" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Edward Elliott wrote:
>>
>
>>
>> You can use either """ or '''. I don't keep changing them in my code, so
>&g
ndentation. You don't
have an "endif", "endwhile", "endfor" (so, why having an "end comment"?).
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
re docs in Perl, for example).
Triple quotes can also be used like this:
usage = """
This program accepts the following options:
--help, -h Display this message
--verbose, -v Display more details
"""
This defines a multiline string. If you had t
RL" or
even to share the traffic...
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
RK wrote:
> ok, who's been playing with mailman?
I thought you were going to say something like "I hope he turned off the
lights before leaving the office"... :-)
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualque
is pretty easy to use. Also, I don't
know what you're doing with numbers, but there's rpy to use with R.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
e result. So take that into account.
--
Jorge Godoy <[EMAIL PROTECTED]>
"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 244 matches
Mail list logo