ive instance of it.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
All for one, one for all...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20090814 18:39], Prateek (prateekkakir...@gmail.com) wrote:
>Can somebody please provide me link to a good online resource or e-
>book for doing natural language processing programming in Python.
http://www.nltk.org/ comes to mind.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン
asy on hand waving here that mere minute
runtimes are not noticeable.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
When we have not what we like, we must like what we have...
--
http://mail.python.org/mailm
-On [20090513 05:53], walterbyrd (walterb...@iname.com) wrote:
>As you probably know, cygwin formats to UNIX.
That entirely depends on how you install it.
Anyway, I am sure the Cygwin repository has the tools dos2unix/unix2dos
available for installation.
--
Jeroen Ruigrok van der Wer
each subpackage/module you could add an import and __all__ to
__init__.py to expose Conditions and then shorten it all to:
import VLMLegacy.VLM4997 as VLM4997
import VLMLegacy.VLMPC as VLMPC
import VLMLegacy.WINGTL as WINGTL
So that you can do:
a = VLM4997.Conditions(rdr, 2)
a.test()
--
Jeroen R
s passed to the
compiler/linker correct (-L) for locating libtk8.3.so?
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Time is a twofold teacher, harsh and yet patient like no-one...
--
http://mail.python.org
I will
>experiment a little bit and see if I make it compile.
I'll be interested to see if that fixes it. I have had to support a bunch of
different Unix systems over the years compile-wise, but I don't think AIX
was one of them though, so I might be a bit rusty there.
--
Jeroen R
can a redefinition.
One way around it, depending how AIX protects headers might be to change
Include/token.h to either:
#if defined(_SYS_IOCTL_H_)
#undef TILDE
#define TILDE 32
#endif
or
#if defined(aix)
#undef TILDE
#define TILDE 32
#endif
--
Jeroen Ruigrok van der Wer
-On [20090415 14:25], Deep_Feelings (doctore...@gmail.com) wrote:
>4- support of international languages
http://babel.edgewall.org/
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Hope is a letter t
-On [20090419 08:20], zaheer.ag...@gmail.com (zaheer.ag...@gmail.com) wrote:
>Need to some one to look at it and tell me if there are better ways of
>doing same things
Just post the snippets of code you want review of.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェ
#x27;s what Ebay offers, so it is best to use that route. It's quite a
straightforward implementation in Python.
Just use something like httplib2 with lxml or so.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG:
e decision for the Python project to use a DVCS at all,
which was evident from my initial email.
I merely stated that I cannot understand why there's a meme and/or group of
people on the 'net that vehemently declare that everything less than a DVCS
sucks.
--
Jeroen Ruigrok van der
's always a group who actively push
one solution over all others without regard to what the current situation
demands. If you cannot step back and look at the whole without trying to
push your own things, there's nary a word other than rabid and zealous for
that type of behaviour.
--
Je
;s a whole group of rabid, zealous proponents of one
system or ther other out there that are quick to denounce any of your
rationale for going with one or the other if it is not their $FAVOURITE_ONE.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ |
mpletion.
The benefit is easily testing code snippets, inspecting the contents of
various variables, modules, classes, and so on.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
I must be cruel, only to
Also, chalk up my preference for SQLAlchemy.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
The thought of a moment is as fleeting as the memory of it intense...
--
http://mail.python.org/mailman/listinfo/python-list
ard Windows firewall but perhaps some
third-party one.
Most of the time in the firewall configuration windows you can add specific
executables to be allowed access. As such you probably have to point it to
the C:\Python25\Python.exe file, but that's just a guess.
--
Jeroen Ruigrok van der Werven
u make sure to 'rehash' your $PATH or add the
appropriate directory to the $PATH variable.
On Windows, you set your environment variable PATH to include the path to
Python programs (typically something like C:\Python25), which you can find
under the system control panel.
--
Jeroen Ruigro
would be
correct, yes.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Earth to earth, ashes to ashes, dust to dust...
--
http://mail.python.org/mailman/listinfo/python-list
ed section was thoroughly reviewed otherwise you're
duplicating a flaw across X other sections. And then you also best hope that
whoever finds said flaw and fixes it is also smart enough to check for
similar constructs around the code base.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック
comparing a file to those that are already stored in the database.
Maybe CouchDB [1] is more in line with what you need.
[1] http://couchdb.apache.org/
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Eart
-On [20090201 15:18], Craig (fasteliteprogram...@yahoo.com) wrote:
>eclipse
With the pydev plugin of course.
Personally I prefer to just use vim and (i)python. But at work I am using
Eclipse with pydev as well.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
h
I'll double check the documentation and expand where necessary.
[1] http://zine.pocoo.org/
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Earth to earth, ashes to ashes, dust to dust...
--
http:/
-On [20090128 19:01], excord80 (excor...@gmail.com) wrote:
>Again, the solution must work for plain vanilla CGI. I don't have WSGI
>available. But thank you.
It works for plain CGI. I myself use it for FCGI.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
ht
k for Python, maybe similar to Perl's
>CGI::Application?
Werkzeug[1] should be in your line, I think.
[1] http://werkzeug.pocoo.org/
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Earth to earth, ash
ick Python Unicode (with encode
or decode) should get you there.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Knowledge is soon changed, then lost in the mist, an echo half-heard...
--
http://mail.python.or
eady based on the
last comment)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Ignorance is the opportunity to learn...
--
http://mail.python.org/mailman/listinfo/python-list
properly design the fonts. Not to mention such
fonts would quickly grow unwieldy.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
A kiss is a lovely trick designed by nature to stop speech when words
become sup
are
participating in either Python itself or core modules. Europeans in general
tend to be less involved in spin doctoring/marketing.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Embrace Love,
ith Ruby.
I merely commented on the fact that from where you are sitting and looking
you do not see as much Python out there as you see Ruby. I merely provided a
counterpoint that from where I am sitting I am seeing more and more Python
pop up, also for jobs.
--
Jeroen Ruigrok van der Wer
>language and it is used by many big, big names?
At least in my experience Python is getting more and more exposure. More
job openings as well.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
A liar ne
cursor.fetchall():
combined = ', '.join(row)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Focus on your one purpose...
--
http://mail.python.org/mailman/listinfo/python-list
: a
Out[2]: u'\xe6\x84\x9b'
Normal python shell:
>>> a = u'愛'
>>> a
u'\u611b'
I wonder if it can be easily fixed with a getpreferredencoding() or by using
an .encode(sys.stdout.encoding or getpreferredencoding() or 'ascii',
'replace
t the class Classroom
has no self.desk_offset.
So in your class definition you would need to add something to __init__()
like:
self.desk_offset = None # or 0 or...
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625
CCs. So do not
automatically assume that newer is better.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
The weak can never forgive. Forgiveness is the attribute of the strong...
--
http://mail.python.org/mail
ck,
reported bugs, and/or contributed patches!
Cheers,
Chris
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
- End forwarded message -
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EA
hank you to everyone who tried Genshi and provided feedback,
reported bugs, and/or contributed patches!
Cheers,
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
----- End forwarded message -
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nom
le ago I did tests with various GCC compilers and their effect on
Python running time as well as Intel's cc. Intel won on (nearly) all
accounts, meaning it was faster overall.
From the top of my mind: GCC 4.1.x was faster than GCC 4.2.x.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン
-On [20080704 09:00], Aspersieman ([EMAIL PROTECTED]) wrote:
>Here's a tutorial on setting this up.
>http://blog.sontek.net/2008/05/11/python-with-a-modular-ide-vim/
Thanks Nicol, there's some things there that can speed up my current setup
as well.
--
Jeroen Ruigro
in vim.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Don't always think in a straight line...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080619 17:11], Spectrum ([EMAIL PROTECTED]) wrote:
> ImportError: dynamic module does not define init function
Might be it's looking, but not finding, something like crti.S or the likes,
the C runtime files that specify stuff like _init and _fini.
--
Jeroen Ruigrok van de
penmpi/1.2.4-gcc/libopen-
>pal.so.0 (0x00344000)
These libraries are what your binaries (.so and such) needs to link against
as well. I am not sure if you have to add a flag (-mpi) to your compiler or
if you need to add a -L/usr/lib/openmpi/1.2.4-gcc -lmpi -lopen-rte
-lopen-pal to the incantations.
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Under this standard shalt thou conquer...
--
http://mail.python.org/mailman/listinfo/python-list
ou to
>have python-ldap updates still supporting it.
Not that I use python-ldap at work, but our lowest Python version is 2.3 and
we're working towards making 2.5 the default.
Hopefully that helps you for versions used. :)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル
ew times already.
The suggested design choices seem logical to me.
+1
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
Of all that is to come, the Dream has just begun...
--
http://mail.python.org/mailman/listinfo/python-list
and Mako are currently two of the fastest around.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
If Winter comes, can Spring be far behind..?
--
http://mail.python.org/mailman/listinfo/python-list
Different philosophies, but after having spent more than 10+ years on too
many Unix and Unix-like systems I know the importance of platform
portability a bit too much and hardcoding a shebang sequence is not the
solution in general. Using env is the, arguably, best solution available.
--
Jeroen
's
more than just Linux you know.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
I dream of Love as Time runs through my hand...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080430 17:48], Aaron Watters ([EMAIL PROTECTED]) wrote:
>Wow. An initial glance looks great! I need help with pronunciation,
>though :(.
Werkzeug is supposed to be pronounced in German.
It translates to 'tool'.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァ
ided me with a lot of flexibility, more than Django could've
provided me with (but hey, welcome to the general limitation of frameworks).
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/ | GPG: 2EAC625B
The human race is challe
on your code, for example, and observe
the resulting output.
Once you see the output it's quite easy, since you already know reSt, how to
change your docstrings to use appropriate formatting for what you need.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www
-On [20080414 10:31], James Su ([EMAIL PROTECTED]) wrote:
>But when I query those data by pymssql or pyodbc, all Chinese
>Character display ??? instead.
Sounds like you are getting typical Unicode replacement characters.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル
rok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
My greatest fear... Is that all my Memories will be lost... Like
tears, in the rain...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080331 12:56], Pradeep Rai ([EMAIL PROTECTED]) wrote:
>Can you guide me how to install a 2.5 version of dbi for it to work ?
Same way you installed dbi for 2.4 just make sure the called python
executable is the 2.5 one.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン
ut what can happen.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
The last word in a chronicle is never set down...
--
http://mail.python.org/mailman/listinfo/python-list
id you copy everything from site-packages of the old one to the new one?
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
If you're afraid of dyin', then you're holding on. You see devils tearing
your life
-On [20080329 13:01], Paul Rubin ("http://phr.cx"@NOSPAM.invalid) wrote:
>Yes, what I mean is that some languages (e.g. Ada, Haskell) use /= for
>nonequality.
/= is understandable given how it looks like a digraph for ≠ (U+2260) and I
am guessing that was the intent.
--
Jeroen
ocs/babel.numbers
We make use of the Unicode CLDR information to provide locale-specific
formatting.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
When we have not what we like, we must like what we have...
--
http://mail.python.
ave up on two spaces after a period. It's archaic.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
When you are right, you cannot be too radical; When you are wrong, you
cannot be too conservative.
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080306 19:21], member thudfoo ([EMAIL PROTECTED]) wrote:
>An error occurred while loading
>http://www.martinrinehart.com/articles/python-grammar.html:
>Unknown host www.martinrinehart.com
Works for me.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http
usr/share/locale and see if ml is even supported, you'd generally
have to use ml_IN I guess.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Imitation is the sincerest form of flattery...
--
http://mail.python.org
da
from food.ham import parma
__all__ = ['gouda', 'parma']
and in turn in your script you can now use food.gouda and food.parma.
Unless I totally misunderstood what you are trying to achieve.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomi
-On [20080221 11:56], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
>Can someone help me to get in the right track, and get a good move?
http://wiki.python.org/moin/BeginnersGuide
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | h
ing piece by piece, but the 2.x -> 3.0 transition
allows to clean up some thing in a good way, rather than bolting things on
top of others.
Anyway, please search around a bit, this kind of stuff has been extensively
discussed in the past.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック
e a 'wth'
experience. Tasted nice though. But talk about weird...
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Just remain in the centre, watching. And then forget that you are there...
--
http://mail.python.or
-On [20080213 20:16], Jeff Schwab ([EMAIL PROTECTED]) wrote:
>So what is the mass of a slug, anyway? (I assume this is slug as in
>bullet, not slimy, creeping thing.)
http://en.wikipedia.org/wiki/Slug_(mass) would be my guess.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック
st...]
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Sometimes I wonder why are we so blind to face...
--
http://mail.python.org/mailman/listinfo/python-list
gt;measure different things.
Eh? Last I checked both pound and kilogram are units of mass, so where is
the incompatibility?
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
To fight and conquer in one hundred battles is not
Python memory use and proper coding is better understood.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
What is to be, will be. And what isn't to be sometimes happens...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080208 15:16], [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
>What is an elegant way of getting the local time (considering DST -
>daylight saving time) with that data?
Perhaps using pytz might be the easiest way: http://pytz.sourceforge.net/
--
Jeroen Ruigrok van der Werven / a
k holes, Solo
managed to cut the distance down to about 11.5 parsecs.
In the A New Hope novelization, Han says "standard time units" rather than
"parsecs". Therefore, the reduced distance of Solo's Kessel Run is most
likely a retcon to explain George Lucas's confusion
his provides a Python to C++ compiler, but it enforces some restrictions on
Python's code.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
--
http://mail.python.org/mailman/
- Python starts indexing at 0, not 1 like Matlab does
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
--
http://mail.python.org/mailman/listinfo/python-list
om the Basic Latin Unicode block?
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
--
http://mail.python.org/mailman/listinfo/python-list
king on a , to denote a tuple since in
almost every other language seeing (()) is just an additional layer of braces.
I had totally forgotten Python would make it a tuple.
And I guess my head was still stuck with some other languages as well when I
made my other suggestion. Mea culpa.
--
Jeroen R
ad
hominems so readily?
Just an observation from peanut gallery. :)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
--
http://mail.python.org/mailman/listinfo/python-list
f.mass, .2, 0, temp)
I am curious about your use of double braces for vec2d though. Why ((0,0)) and
not (0, 0)?
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
We have met the enemy and they are ours...
--
http://mail.pyth
ng much to reduce the clutter and
provide insight.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Life is not a problem to be solved but a reality to be experienced...
--
http://mail.python.org/mailman/listinfo/python-list
press.org/extend/plugins/wp-syntax/
IIRC it uses for highlighting Python for example.
It works quite well.
If you can host stuff yourself you might even like to check out
http://textpress.pocoo.org/ - a beginning Python solution. :)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァ
project has adequate documentation on this on their
website. Just look for documentation on their (SWIG) bindings.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
I was searching through the Heavens and somehow I slipped.
ion.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Nothing is constant but change...
--
http://mail.python.org/mailman/listinfo/python-list
.python due
to a news gateway.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
I accept that some things will never change, I've let your tiny minds
magnify my agony...
--
http://mail.python.org/mailman/listinfo/python-list
umping between 4 languages on the same day is not helping much to be honest).
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
If slavery is not wrong, nothing is wrong...
--
http://mail.python.org/mailman/listinfo/python-list
ot
that clear to me, to be honest.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
I think, therefore I am...
--
http://mail.python.org/mailman/listinfo/python-list
by assignment.
I personally tend to see __init__ or __new__ as equivalent to what other
languages call a constructor.
(And I am sure some people might disagree with that. ;))
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
T
ke its way unto the mailing
list.
I wonder what the ratio of newsgroup posters versus mailinglist posters is
nowadays.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Faith, it seems, is not without irony...
--
ges solution is one of the cleanest I can
think of.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Only I can change my life. No one can do it for me...
--
http://mail.python.org/mailman/listinfo/python-list
need to do and gets installed
into a typical PATH directory.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
...fools rush in where Angels fear to tread.
--
http://mail.python.org/mailman/listinfo/python-list
sense of allowing raw Unicode codepoints.
Instead JSON uses a \u scheme to encode Unicode characters (a bit flawed
to limit it to four hexadecimal digits though, it leaves the whole CJK Unified
Ideographs Extension B out of scope.).
I use simplejson along with lxml/ElementTree for my JSON<&g
designs and calculating the resulting properties and
doing this for X iterations in a day it becomes quite painfully obvious that
raw CPU execution time *does* matter.
't All varies with what you want, of course...
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://w
ocally-translated version of a text string.
The same applies for Babel (http://babel.edgewall.org/) where we have _() in
similar vein to the gettext implementation.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
With
classes should have docstrings, but I don't really have
>anything else to say, and each module contains only one class.
The ultimate test is running `pydoc your.module` or running epydoc on your
source and see how well the resulting documentation is built up.
--
Jeroen Ruigrok van der Werven /
e that exists.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Only the wisest and the stupidest of men never change...
--
http://mail.python.org/mailman/listinfo/python-list
bigger ones.
If you want a basic HTTP handling framework under which you can hang your own
code more easily then you should look at things like Paste, WebOb, CherryPy,
Werkzeug, Twisted and others.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.
;ll study your examples, thanks. :)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
A conclusion is simply the place where you got tired of thinking...
--
http://mail.python.org/mailman/listinfo/python-list
-r %s" %
(Input, List, modeltype, str(mixture), str(dimension), str(vfloor),
str(number), str(results))
subprocess.Popen([s])
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
Few are those who see with their own eyes and feel with their own hearts...
--
http://mail.python.org/mailman/listinfo/python-list
-On [20080108 09:51], John Machin ([EMAIL PROTECTED]) wrote:
>Make that >=
>
>| >>> 'fubar'.find('fu')
Or even just:
if 'my-string' in line:
...
Same caveat emptor applies though.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウ
e list of files to your script as a wildcard:
./myscript.py trp.pdb.*
And iterate over every argv you have to strip the WAT.
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
The wisdom of the wise, and the experience of age
'doorway'
in it.
So 't is merely for inspiration. ;)
--
Jeroen Ruigrok van der Werven / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/ | http://www.rangaku.org/
From morning to night I stayed out of sight / Didn't recognise I'd become
No more than aliv
suming ASCII, otherwise check out codecs.open().)
big_file = open('bigfile.txt', 'r')
line_nr = 0
for line in big_file:
line_nr += 1
has_match = line.find('my-string')
if has_match > 0:
print 'Found in line %d' % (line_nr)
Somet
1 - 100 of 119 matches
Mail list logo