Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience.
...ccidental usage of find_graph() instead of find_path() Copyright (c) 1998, 2000, 2003, 2019 Python Software Foundation. All rights reserved. Licensed under the PSF license. Graphs are networks consisting of nodes connected by edges or arcs. In directed graphs, the connections between nodes have a direction, and are called arcs; in undirected graphs, the connections have no direction and are called edges. We mainly discuss directed graphs. Algorithms in graphs include...
...ce was in C and C++, I felt that another language might be a better choice for quickly developing a graphical user interface. VTK is written in C++, but it has also been wrapped for Python, Tcl and Java. I took a look at each of those. I ruled out Tcl because I felt Python's syntax was much cleaner and because I had heard that large Tcl programs could be hard to maintain. Java had the disadvantage of requiring compilation with each change in the code, and the ability to run code in any recent ...
...outstanding query at his own accountant, but hasn't heard back yet. David notes Kevin Jacobs offered his [company's] services, and that Kevin does a lot of accounting, including for non-profit companies. Jeremy and Guido will contact Kevin or otherwise find an accountant to handle the taxes. International charity status Thomas notes Dutch tax laws seem to recognize only Dutch institutions as (possible) charities for reasons of tax deduction. Marc-Andre reports a ...
...cause Python cannot call C/C++ functions directly; the glue extensions handle conversion between Python data types and C/C++ data types and error checking, translation error return values into Python exception. Creation of glue extensions is simplified by the existence of SWIG, which reads header files containing function and method prototypes and automatically generates the necessary type conversion and error checking code. In situations where the underlying code (usually C code) doe...
...code a particular construct. This reduces the number of choices facing the programmer who is writing the code, and increases the chance that will appear familiar to a second programmer reading it. Yet another contribution to Python's readability is the choice to use punctuation mostly in a conservative, conventional manner. Most operator symbols are familiar to anyone with even a vague recollection of high school math, and no new meanings have to be learned for comic strip curse charac...
...with all open source projects, the size of the MMTK user community can only be estimated indirectly. The mailing list for MMTK users currently has 175 members, and the scientific publication that describes MMTK to computational chemists has been cited 30 times. About the author Konrad Hinsen is a researcher in theoretical physics working for the French Centre National de la Recherche Scientifique (CNRS). He was involved in the Numerical Python project and is the author of ScientificPython, a g...
...code and 300 days (almost as much) on 44K of C, C++, or other code. From our experience with code conversions, we believe it is roughly correct for most types of performance-critical code to equate one line of Python with ten lines of C or C++ code. This means that about 5-10% of our application functionality is in C or C++ and the rest is in Python. Even considering that the C/C++ code is somewhat more complex than most of the Python code, these results confirm without any doubt that working in...
...cripting and, as it turns out, Python enabled much more for ILM than just process control. Unlike Unix shell scripting, Python can be embedded whole as a scripting language within a larger software system. In this case, Python code can invoke specific functions of that system, even if those functions are written in C or C++. And C and C++ code can easily make calls back into Python code as well. Using this capability, ILM integrated Python into custom applications written in C or C++, such as I...
...cI and AB Strakt: Progress report of 501(c)(3) application. Statistics/progress regarding (sponsor) membership applications Income and how to spend it Future Python conferences 5. Conference committee Jeremy proposed a comittee to deal with the planning of official Python conferences, to allow for coordination between them. David offers to chair the committee and wil start preparing its formation. 6. Next board meeting Guido is on vacation from ...
...ccess Stories Introduction TTTech, founded in 1998, focuses on developing a technology for safety-critical real-time systems. Our central technology is the Time-Triggered Protocol (TTP), a communication protocol used in embedded systems for distributed fault-tolerant applications, such as drive-by-wire and fly-by-wire vehicles. For TTP, we provide chip models for implementing the necessary hardware in silicon, services to customers using the technology, and a broad range of tools. When star...
...ch is to try and make sure that you have the right INCREF and DECREF calls at each place -- and the only way to go is to know (from the manual) the reference count behavior of each function you call (including functions you wrote yourself!). 3) If I comment out all the DECREF calls, I should only have to worry about objects that I've created which don't have reference counts? So, if I add an incref everywhere a new object is created, I should have a huge memory leak, but no stack cor...
...conference at OSCON should not be called Python11. There is discussion. Guido moves to tell O'Reilly to organize Python11 at OSCON 2003. Marc-Andre seconds. The motion is approved with 4 ayes, 1 nay, and 1 abstention. There is also discussion about the conference organized by Yet Another Society (YAS). Guido reports that Adam Turoff has not responded to Email in this matter, and that the status of the conference is uncertain. The board discusses conference committees....
...Charlie Fly, who has cranked out some 17,000 source lines of code (SLOC). Python plays the central role, managing data interactions and the task network, as shown in Figure A. Figure A: Python plays a central role in data interaction. In the system, user tasks communicate with a Python data server, which in turn connects to an Oracle server via DCOracle. Using Oracle's built-in trigger mechanism to send a message to WAS as data records are updated, the WAS calculates which tasks are now data-...
...class C. For instance, in the case of single inheritance hierarchy, if C is a subclass of C1, and C1 is a subclass of C2, then the linearization of C is simply the list [C, C1 , C2]. However, with multiple inheritance hierarchies, the construction of the linearization is more cumbersome, since it is more difficult to construct a linearization that respects local precedence ordering and monotonicity. I will discuss the local precedence ordering later, but I can give the definition of monotonicit...
...class, also named for the command -- e.g. distutils.build.Build. These command classes will inherit from the Command class, which (at the very least) will provide a means of dealing with command-specific options. (Command will provide a constructor that takes a Distribution class and an optional list of arguments for this command, and parse the argument list by inspecting getopt-style option specifiers in the Command-derived instance.) Each command clas...
...continued in Python and today XIST is the basis of a successful company which employs 15 people. XIST is now used in all of our web projects at LivingLogic AG. Content Management with Python and JSP On top of XIST, LivingLogic has developed a content management system called XIST4C (4C means Content, Community, Collaboration and Commerce). This system combines the advantages of XIST's abstracted page layouts with pre-compilation of page templates to Java Server Pages that are ultimately used t...
...ccumulating vacation at Italian rates, but typically took amounts of vacation on more of an American scale. So, after a few years on the job, I had QUITE a lot of accumulated vacation. And in Italy, by law, you never "lose" vacation days you're due.) I threw myself into the task; the first edition of the Cookbook emerged from that long and frantic effort. ActiveState's people who worked with me on that project, chiefly David Ascher who's credited as co-author of the Cookbook, expre...
...cations are rarely CPU bound, and simply do not need the intensive performance that the fastest languages can give you. For interactive desktop applications, the speed difference between C# and IronPython would rarely be discernible by the user. Some programs do require significant CPU performance, either because they are crunching large data sets or because they must scale across many users on a server. In such a project, it is often a very small proportion of the code which actually requires t...
...ch I just need some free time). I don'twant to have too many users developing code with the system before theAPI is at least closer to its final form (to minimize the changes theyneed to make). On the other hand, the C API is essentially final. I'm perfectlywilling to guarantee that I won't introduce any majorincompatibilities in subsequent release of the system. This meansthat people have no excuse not to develop modules to interface to allthat great C/FORTRAN numerical code out...
If you didn't find what you need, try your search in the Python language documentation.