emy (I'm back and forth on that. Mostly stay with
straight SQL).
Of course, as long as you write DBI2 compliant code, your app doesn't
much care which DBMS you use. The postgresql payoff is in admin
functionality and scaling and full ACID.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
is in fact undefined.
1. If I onfigure with unicode=ucs2, does all this go away and I get a
working system (efficient or not) on my 64-bit machine?
2. Can you point to a configure (and maybe patch) process which leads
to a clean "make altinstall".
--
Harry George
PLM Engi
p-4.7/siplib'
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/local/include/python2.5 -o siplib.o
siplib.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/local/include/python2.5 -o qtlib.o qtlib.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/local/include/python2.5 -o threads.o
threads.c
gcc -c -pipe -fPIC -O2 -w -I. -I/usr/local/include/python2.5 -o objmap.o
objmap.c
g++ -c -pipe -fPIC -O2 -w -I. -I/usr/local/include/python2.5 -o bool.o bool.cpp
g++ -shared -Wl,--version-script=sip.exp -o sip.so siplib.o qtlib.o threads.o
objmap.o bool.o
gmake[1]: Leaving directory `/usr2/src/qt/sip-4.7/siplib'
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
with verification of both client and server certificates. If that is
where you are going, let me know what works.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
d csv, b) check the
loaded structure's data against the new data-on-disk to find changed
files, c) update the structure appropriately, d) write out the
resulting new csv.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ook". You want "Python Programming on Win32"
By Mark J.. Hammond, Andy Robinson. It covers exactly this case.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (John J. Lee) writes:
> Harry George <[EMAIL PROTECTED]> writes:
>> [EMAIL PROTECTED] (John J. Lee) writes:
> [...]
>>> 2. You can run your own private egg repository. IIRC, it's as simple
>>> as a directory of eggs and a plain old web
Robert Kern <[EMAIL PROTECTED]> writes:
> Harry George wrote:
>
>> We need to know the dependencies, install them in dependency order,
>> and expect the next package to find them. "configure" does this for
>> hundreds of packages. cmake, scons, and other
Ben Finney <[EMAIL PROTECTED]> writes:
> Harry George <[EMAIL PROTECTED]> writes:
>
> > Historically, python packages played well in this context. Install
> > was a simple download, untar, setup.py build/install.
> >
> > Eggs and with other setupt
Robert Kern <[EMAIL PROTECTED]> writes:
> Harry George wrote:
> > ...at least around here.
> >
> > I run a corporate Open Source Software Toolkit, which makes hundreds
> > of libraries and apps available to thousands of technical employees.
> > The
[EMAIL PROTECTED] (John J. Lee) writes:
> Harry George <[EMAIL PROTECTED]> writes:
> [...]
> > These are unacceptable behaviors. I am therefore dropping ZODB3, and
> > am considering dropping TurboGears and ZSI. If the egg paradigm
> > spreads, yet more packages
ll available as well. You
can have dependencies, as long as they are documented and can be
obtained by separate manual download.
Thanks for listening.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
-- code a bit, save, the other guy codes a bit.
But when someone uses vi and then forgets how to do block moves, or
uses eclipse and bogs down the session, or uses MS Notepad and can't
enforce language-specific indents, I get frustrated.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
bc are the
main players.
http://www.unixodbc.org/
http://www.iodbc.org/
3. For *NIX you need python bindings. This is where mxODBC has
operated (e.g., with iodbc). But there is an OSS effort at:
https://sourceforge.net/projects/pyodb
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
decisions you want.
archtool_path= os.getenv('ARCHTOOL_PATH')
archtool_cfg = os.getenv('ARCHTOOL_CFG')
sys.path.insert(0,archtool_path)
import archtool
exec "import archtool.%s as cfg" % archtool_cfg
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
and numarray.
> scipy
> > provides a bunch of computational routines (linear algebra, optimization,
> > statistics, signal processing, etc.) built on top of numpy.
>
> Thank you.
>
>
Also see gsl and its python binding.
http://www.gnu.org/software/gsl/
http://
o python script share a common object?
>
For the CPU to use the object, it needs to be in RAM. But it is
possible to save the RAM image onto disk, and then bring it back
later. The common approach is called "pickling", though there are
several variants on this:
http://docs.pyth
se IronPython?
An alternative might be to work (cross-platform) wit the vxd (XML)
file format. A good reader/writer for that would be handy.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
on" and any other kind, and I'm not aware of any
> case law that does so either. This distinction is also not codified in
> the GPL itself anywhere, so it's not a necessary condition of the
> license - it is an interpretation by the FSF and that is all.
[snip]
It is
ust works. Same scripts run on every platform. Bindings
available to every C/C++/FORTRAN library I've needed so far. Often
the bindings are not complete, but oddly enough the binding developers
have chosen to do just the functions I need, so who cares. A clean
architecture for adding more f
ey do not have the authority to actually define its
legal ramifications. Check with your company legal staff.
Having said that, I have been troubled by trolltech's approach from
the beginning, and therefore stay away from it. PyGTK and wdxPython
are solid GUIs, without the legal uncertainty.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
I had to
reinstall Python2.2 in order to use the old PySol binaries (couldn't
get the build-from-source to work).
Linux and Python got a fan due to PySol. It should be considered a
cultural treasure, and if a bit of funding would help keep it rolling
into the future, that might be worthwhile.
overriding
> data for the same tags.
>
> Thanks in advance,
> sulu
>
Sounds like a general XML problem, to be solved with cElementTree
perhaps. Can you provide the schema and small examples of the input
files and the desired output file?
--
Harry George
PLM Engineering Architecture
) can look quite impressive. I've see data suggesting
Ruby is replacing Perl and maybe Java. But I've yet to see data which
shows people dropping Python and moving to Ruby. Where do I find that
data?
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
with a regexp engine
b) Context Free Grammar (CFG), parseable with a LL(1) or LALR(1) parser.
c) Context Dependent Grammar, parseable with an ad hoc parser with special
rules.
d) Free text, not parseable in the normal sense, but perhaps
understandable with statistical analysis NLP te
st a newbie thing. Even people who are reasonably fluent
in Lisp use Python for many tasks, and some make python the default
with Lisp as a special case. It would probably be fair to say that
the more you know about a variety of languages, the more you
appreciate Python.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ape-changing fluidity, and is subject to radially symmetric
shape-impacting processes. Magma and gravity for the earth, leather
and air pressure for inflated balls, sand and accretion for beach
"cannonballs", and snow and hand pressure for snowballs.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
robert <[EMAIL PROTECTED]> writes:
> Harry George wrote:
> > When I came from Perl, I too missed perl-isms and specifically CGI.pm, so
> > wrote my own:
> > http://www.seanet.com/~hgg9140/comp/index.html
> > http://www.seanet.com/~hgg9140/comp/pyperlish/doc/manu
m/~hgg9140/comp/pyperlish/doc/manual.html
http://www.seanet.com/~hgg9140/comp/cgipm/doc/index.html
Others on this newsgroup said I'd be better off just doing it in raw
python. After a while, I realized that was true. You do
triple-quoted templates with normal python idioms. Throw in
some persistence mechanisms to deal with maintaining state across
transactions, and you are in business.
Since then I've looked at Zope, Plone, TurboGears, Django, and (for
standalone apps) Dabo. TurboGears is mostly a set of recommendations
on what 3rd party packages to use, with a wee bit of glueware. So far
nothing feels as simple as just doing it in python.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
Java has layers upon layers upon layers of idiosyncratic
libraries and idioms. When you write bindings to that world (even if
the bindings are generated automagically), you have to *think* in
those same layers. The Python-oriented developer suddenly has to use
a dozen imports in order to do thing
raries (as
> > jar files) into CPython.
>
> http://sourceforge.net/projects/jpype
>
>
>
Personally, I've never gotten jpype to work. Is it just me, or is it
a troublesome install?
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ally change Java's
architecture. It is still a closed world of reinvent-the-wheel,
my-way-or-the-highway. Which is antithetical to Python's promiscuous
interface-with-anything approach.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ctor, that is easy too.
c) Peer code reviews are easy -- both you and the reviewers can
understand the code's intent at a glance.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ckages is ok. A web
page simple listing the third party sites and the recommended
downloads is ok. Automatically downloading is not ok.
Is there some way in the eggs mechanism to just get a list of the
proposed downloads, and let the user take the actions manually?
--
Harry George
PLM Engineering A
instead.
2. If there must be human-in-the-loop, then it is good to use a markup
language which can be converted to html (or to other backends).
Perrl's POD format is one, and I've done that as a Pdx.
http://www.seanet.com/~hgg9140/comp/index.html
http://www.seanet.com/~hgg91
all the customizing that I could never figure out.
years ago this worked for people I was supporting:
set softtabstop=4 shiftwidth=4 expandtab
Personally, I'm an emacs guy, so I wouldn't know.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
it is
"Roundup or else non-python COTS"? I gave up on Roundup a while ago
due to too many crashes. I'm now using Trac:
a) Open Source
b) Python
c) Adequate functionality (for me at least)
http://trac.edgewall.org/
I'm not trying to "sell" Trac, but
nix. YMMV
>
> Peace,
> ~Simon
>
I agree with this-- just try it. When I've helped others move code, I
found the biggest problem was when they had hardcoded file paths instead of
using os.path mechanisms.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
you need more than csv, start writing to to
the OpenOffice.org formats, either with your own code or via PyUNO.
Then use OOo itself or a MS-sponsored ODF reader to translate to Excel
format. This should be a maintainable approach over time (but a lot
more complex than just csv).
--
Harry George
fter language, decade
after decade, platform after platform. Use your brain cells form
something useful, like learning new technologies and new
algorithms.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
but TurboGears uses json-py.
https://sourceforge.net/projects/json-py/
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ommon util.py in a package called "globals".
That could get really confusing. You might make it a standalone
package, or maybe use "utilities" or "common".
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
using the embedding
libraries and bindings.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
our data sinks.
4. Do you have a testsuite and test harness? Put together your test
harness, then develop for the simplest case, then add complexity.
E.g., no FK, FK with 1 attr, FK with multiple attrs, FKs with
shared attrs.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
that I have to do it from scratch.
>
>
>
> Is there any open source charting tool that help me create charts in JPG or
> gif format?
>
>
>
> Thanks,
>
> Alan
>
>
See pygdchart
http://www.nullcube.com/software/pygdchart.html
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
7;@')])"
>
Do projects at home. Either find an existing OSS project, or roll
your own. Once you have the basics of the language, the skills are
domain-specific: XML, GUIs, CAD, gaming, multithreading, numerical
analysis, natural language progromming, etc.
If you do an existing project, then you benefit from peer reviews and
other informal learning opportunities.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
slow (perhaps an over night job). I've yet to experience a context
where language features are the rate limiting step.
On the other hand, I have definitely experienced language as a rate
limiting factor in a) peer code reviews, b) debugging, c) ramping up
new team members. Python wins those
seems to be:
http://www.opencascade.org/
http://free-cad.sourceforge.net/
5. Knowledge Based Engineering (KBE) inference engines:
Python already gives you lazy evaluation and memoizing, but a
prolog-based backward chaining engine helps too. We wrote
CAD-engine-calls-python-and-prolog and
python-
e, and who knows what else, the 4-spaces rule is
necessary for survival.
The reason is simple: People get confused, and accidentally get the
wrong tab indents when they move among editors or among settings on
the same editor. In most languages this is an irritation, requiring
some cleanup.
hat cites his linguistic
> foundations).
>
> -- Pad.
>
I used Python for computational linguistics coursework, but not since. Google
for "nlp python". E.g.:
http://nltk.sourceforge.net/
http://www.logilab.org/projects/hmm
http://www.cs.berkeley.edu/~russell/aima/pyt
sssibly do the whole job, could it?"
If you have a good regression test suite, you are done when it works.
If you need help getting on board unittests, see mkpythonproj:
http://www.seanet.com/~hgg9140/comp/index.html#L006
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
e alternative implementations. E.g., multiple
processors in parallel, more efficient algorithms, ctypes or pyrex to
speed up the python.
In terms of the overall project notion-to-delivery duration,
implementing in Python might be the right first step on your way to an
assembler implementation.
use/local/lib/python2.4/site-packages. Also, make sure root doesn't
have /usr/local/bin on its PATH (which is a good rule anyway).
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
ignificant pushback.
I read Mono as a challenge to Microsoft: You claim this is open? Ok,
we'll implement it and then see where the submarine patents pop up.
Why would I want to let one company's abstract model sit between my
code and every piece of hardware I wish to touch?
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
f
quick hacks and others that are multi-person, multi-year efforts.
They all live by their test suites.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
en though I've written substantially in COBOL,
FORTRAN, Lisp, Prolog, and Java, I wouldn't use these for a default
language.
--
Harry George
PLM Engineering Architecture
--
http://mail.python.org/mailman/listinfo/python-list
"JKPeck" <[EMAIL PROTECTED]> writes:
> Suppose you have an application written in Java, and you want to enable
> other applications or processes written in Python to communicate with
> it, i.e., to use Python as a scripting language for the application.
> On Windows you could do this with COM and
"sir_alex" <[EMAIL PROTECTED]> writes:
> Hi! I have a little problem writing xml files formatted in a way like
> the following:
>
>
> bla
> bla
>
>
> Every new node element should have a tabulation before it, but when I
> use xml.dom.minidom I use writexml, which considers as
[EMAIL PROTECTED] writes:
> I'm building an app that operates on tuples (typically pairs) of
> hierarchical structures, and i'd like to add a GUI to display my
> internal representation of them, and simplify manipulations/operations
> on them. My requirements are:
>
> 1) Draw a single 3D repres
"Shawn Milo" <[EMAIL PROTECTED]> writes:
> I was just wondering what the best books were for learning Python.
>
> Which books are good for getting started, and which should be saved for
> later, or or not useful except as a reference for the learned?
>
> I have a decent programming background in
Harry George <[EMAIL PROTECTED]> writes:
> Normally the SOAP Servers are designed to take control of a port and
> run their own sockets via inheritance from SocktServer.
>
> But under inetd and xinetd, the port is controlled elsewhere and the
> service just gets the st
Normally the SOAP Servers are designed to take control of a port and
run their own sockets via inheritance from SocktServer.
But under inetd and xinetd, the port is controlled elsewhere and the
service just gets the stdin/stdout. I need to configure (or tweak) one
of the SOAP servers to use that c
cd ..
4. When another python version shows up, copy the go23 to go24, edit
it for py23-->py24, and start building. Use either version at the
commmand line or in other scripts via py23 or py24. NOTE: In cgi's,
give the full path, e.g.:
#!/usr/local/bin/python2.3
--
Har
63 matches
Mail list logo