Numerical 17.1.1 is available in both source and prebuilt Windows versions
at:
http://sourceforge.net/projects/numpy
Windows users, simply extract into your top level Python 2.0 directory,
typically c:\python20.
Thank you to Pete Shinners for putting the Windows file together.
It is too late to change for the 17 series but in future I will make
releases that have whole numbers only as names and add files to that release
as they become available. That makes it a little clearer that you should
take the most recent file of the desired type.
The deadline for submitting a paper to the Python 9 conference is next
Monday, November 6. Knowing the work habits of the Python community, I made
the deadline a Monday instead of Friday. Instead of partying all weekend as
usual, why not write up your work and submit it at:
http://python9.org
Note that the guidelines on formatting only apply to the final paper; we'll
take it in any readable electronic form for now.
If you want to do a poster, submit your abstract as a normal paper and just
say in it that you only want it considered as a poster.
hi,
This is to announce new releases of VTK-CFD (version 0.5) and the
python VTK pipeline browser (version 0.9). Notable enhancements are
PLOT3D structured grid support, postscript save option, a new stream
line/ribbon/tube module and a VTK object "pickler".
VTK-CFD is written in Python, and uses Tkinter and VTK to visualize
scientific data. It is distributed under the GPL.
The VTK pipeline browser is included in the VTK-CFD distribution but
is also available as a standalone package. The pipeline browser is
distributed under the LGPL.
Please visit the following for details:
http://freshmeat.net/projects/vtk-cfd/http://freshmeat.net/projects/vtkpipeline/
prabhu
I'm happy to announce:
AmigaPython 2.0 - build 1
The Amiga version of Python.
WHAT IT IS:
This is the Python language (version 2.0) for AmigaDOS.
WHAT'S NEW ?
- New version 2.0! Based on main Python 2.0 final source code.
- First fully Unicode aware application on AmigaDOS! (as far as I know)
- Includes fast XML parser (Expat)
WHERE CAN I GET IT ?
>From Aminet <http://us.aminet.net/~aminet/>, in the dev/lang directory:
Python20.lha Python language 2.0 (bin+lib)
Python20_Src.lha Python language 2.0 (source)
Also have a look at my Python pages at
<http://www.bigfoot.com/~irmen/python.html>.
It comes with a Python-style license, but is otherwise free for
commercial and non-commercial use.
REFERENCE:
<P><A HREF="http://www.bigfoot.com/~irmen/python.html">
AmigaPython 2.0</A> - AmigaDOS port of Python 2.0 (29-Oct-2000)
----
Irmen de Jong irmen@
bigfoot.com
Hi Guys,
What's happened in the python knowledge base since last post(9/10).
regards,
Fiona Czuczman
## Unanswered Questions ########################################
-------------------------------------------------------------
How do I get the UID from os.stat mapped to a real username in NT?
http://www.faqts.com/knowledge-base/view.phtml/aid/6374
-------------------------------------------------------------
Lance
-------------------------------------------------------------
I'm getting an error stating that "None" object has no attribute "groups" during setup of numpy, any ideas?
http://www.faqts.com/knowledge-base/view.phtml/aid/6245
-------------------------------------------------------------
Michael Risser
-------------------------------------------------------------
how can i create a pop up window with entry on it, so that i can get the value from the entry and process it with the original frame, thanks
http://www.faqts.com/knowledge-base/view.phtml/aid/6347
-------------------------------------------------------------
tony zhang
-------------------------------------------------------------
How do you access the printer from Python under Linux???
http://www.faqts.com/knowledge-base/view.phtml/aid/6376
-------------------------------------------------------------
Dave Berry
-------------------------------------------------------------
How do I check and retrieve the error conditions & message of script executed via the Python/C API (without using PyErr_Print)
http://www.faqts.com/knowledge-base/view.phtml/aid/6234
-------------------------------------------------------------
Kostas Karanikolas
## New Entries #################################################
-------------------------------------------------------------
How can I get my _full_ program name (eg. "mylongpythonscript.py") under eg. NT? sys.argv[0] gives me the truncated MS-DOS style, "MYLONG~1.PY" etc.
http://www.faqts.com/knowledge-base/view.phtml/aid/6159
-------------------------------------------------------------
Jon Nicoll, Fiona Czuczman
Alex Martelli
This seems to work in my setup (2.0b2, Win98):
import sys
try: raise RuntimeError
except:
x=sys.exc_info()[2]
print x.tb_frame.f_code.co_filename
Placing this in alongfilename.py and running
python alongfilename.py
results in the expected output:
alongfilename.py
##################################################
# Under (NT4, Python v1.5.2), the above also gives
# the 'short' form for me.
# This is a bit more Win32 specific, but works for my environment
import sys
import win32api
print win32api.FindFiles(sys.argv[0])[0][8]
## Edited Entries ##############################################
-------------------------------------------------------------
Where can I best learn how to parse out both HTML and Javascript tags to extract text from a page?
http://www.faqts.com/knowledge-base/view.phtml/aid/3680
-------------------------------------------------------------
Paul Allopenna, Matthew Schinckel, Magnus Lyckå
Python Documentation
If you want to (quickly) strip all HTML tags from a string of data, try
using the
re module:
import re
file = open(filename,'r')
data = file.read()
file.close()
text = re.sub('<.*?>', '', data) #Remove comments first, or '>' in
#comments will be interpreted as
#end of (comment) tag.
text = re.sub('<!--.*?-->', '', text)
This will also strip any javascript, but only if the page has been made
'properly'
- that is, the javascript is within HTML comments.
If you want to know how it works, read the 're' chapter in the library
reference,
as it discusses the usefulness of 'non-greedy' regular expressions.
-------------------------------------------------------------
How do I change the name of a process (as viewed by 'ps') from Python?
http://www.faqts.com/knowledge-base/view.phtml/aid/6149
-------------------------------------------------------------
Adam Feuer, Fiona Czuczman
Oleg Broytmann
Don't know much about Mac. Probably, there is no such thing as "process
name". :)
On Windows, it is possible, and I saw a code doing that. Probably, Mark
Hammond was the author, if I remember it right.
On UNIX it is impossible now. To do this, someone will need to wrap one
of "setproctitle" sources. The most known code is "setproctitle" from
sendmail, but it accompanied with not-so-free license. More liberal
license is for similar code in PostgreSQL, so if anyone is interested to
do some work and produce a working module - PostgreSQL is a good place
to start.
To all Python users and developers:
Less than half a year ago, I moved with my team to BeOpen.com, in the
hope of finding a new permanent home for Python development. At
BeOpen, we've done several good things for Python, such as moving the
Python and Jython development process to SourceForge, and the
successful release of Python 2.0.
Unfortunately, BeOpen.com's original plans for PythonLabs didn't work
out as hoped, and we weren't able to reach mutual agreement on
workable alternative plans -- despite trying for months.
I am proud to have found a new home for my entire team: starting
today, Tim Peters, Barry Warsaw, Jeremy Hylton, Fred Drake and myself
are working for Digital Creations. We will be spending part of our
time on core Python development (including Jython and Mailman) and
part of our time on Python infrastructure improvements that also
benefit Zope.
Python will remain Open Source; Digital Creations has no desire to
monetize or brand the Python language or specific Python
distributions. All future work we do on Python as Digital Creations
employees will be owned by a non-profit organization yet to be
created. We think of this new organization as the Python Software
Foundation. In the meantime (while the PSF is under construction) I
will own such copyrights personally.
We're excited to be working for Digital Creations: they are one of the
oldest companies active in the Python community, one of the companies
most committed to Python, and they have a great product! Plus, we
know they have deep financial backing. We trust that Digital
Creations will provide a stable home for Python for many years.
Digital Creations has also offered to take over hosting of the
python.org and starship sites. On behalf of the Python community,
we're grateful for this support of the two prime community sites for
Python, and we expect to be implementing the transitions shortly.
These are exciting times for the PythonLabs team -- and also for
Python and its community. Mainstream successes for Python are showing
up everywhere, and we're proud to be a part of such a smart and
friendly community. A great year lies ahead!
--Guido van Rossum (home page: http://www.python.org/~guido/)
wxPython 2.2.2 has finally been released! You can get your copy at
http://wxPython.org/download.php. At that site you'll find the sources,
docs, and binaries for Linux and Win32 for both Python 1.5.2 and Python 2.0
Here's an excerpt from the CHANGES.txt file:
New in 2.2.2
------------
Significantly changed how the wxStyledtextCtrl code that wraps
Scintilla is implemented. Most of it is now automatically generated
from an interface definition file provided by Scintilla. This means
that it will be much easier to stay in sync with new Scintilla
releases, but also means that some of the method and identifier names
have changed. See wxPython/demo/data/stc.h for a copy of the C++
interface from which the Python interface is generated. There is now
some inline documentation in that file that should really help explain
how things work.
I am now using the Python Distutils to build wxPython and to make some
of the distribution files. (See http://www.python.org/sigs/distutils-sig/)
This means no more messing with my kludgy build.py/Makefile hack,
builds will be more consistent with other Python extensions that also
use Distutils, and will hopefully make wxPython easier to build for
platforms where there have been troubles before. If you are building
wxPython for Python 1.5.2 or for 1.6, then you will need to get and
install version 1.0 of Distutils from the website above. If you are
using Python 2.0 then you already have it.
Added wxInputStream and the wxFileSystem family of classes,
contributed by Joerg Baumann.
Added wxProcess and support for it to wxExecute. wxProcess lets you
get notified when an asyncronous child process terminates, and also to
get input/output streams for the child process's stdout, stderr and
stdin.
Removed the old python sizers.
Added __add__, __sub__ and __cmp__ (equality check only) for wxPoint
and wxRealPoint.
Changed the build to make one big extension module instead of one for
the core and each contrib. This allowed me to do away with the
libwxPyHelpers.so on unix systems.
Lots of little fixes here and there.
Some hacks on wxGTK to try and make the AutoComplete listbox in the
wxStyledTextCtrl to behave better. It's still not as nice as on
wxMSW, but at least it's a bit more usable now.
--
Robin Dunn
Software Craftsman
robin(a)AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!
*** Creating Python Extensions Using Borland's Free Compiler V2.0***
I am pleased to announce a set of step-by-step instructions and examples to
create extensions using the free Borland Command Line Compiler with the
standard Python Windows Binary Distribution.
This information can be found at
http://www.cyberus.ca/~g_will/pyExtenDL.shtml .
Version 3.0 updates the linking library to Python 2.0 and removes an
obsolete patch for the Python 1.5.2 config.h file. I have also added a
section about using VIDE (http://www.objectcentral.com/), a free and useful
IDE for Borland and other compilers.
**********************************************************************
ABSTRACT
This paper describes the method used to create Python Extensions using the
Borland 5.5 C++ Compiler (BCC). This command line compiler is available
free from http://www.borland.com/bcppbuilder/freecompiler/. I describe the
steps that are necessary to produce the extension from the C source code
and how to set up the associated files for the compiler and linker. These
extensions work with the standard Windows Distribution of Python. The
process used to produce the extension is very easy and consists of running
a simple batch file that I provide as part of this package. A section is
provided
on how to create extensions using VIDE to make it even easier. I also have
some examples and a short reference section at the end of this paper that
may be helpful.
Gordon Williams
g_will(a)cyberus.ca
Hello JPython users,
I'm very happy to announce the formation of the Jython project on
SourceForge. Jython is the successor to JPython, the Java
implementation of the Python programming language. We've created this
new project in accordance with the CNRI JPython 1.1.x license, in
order to ensure the continued existence and development of this
important piece of Python software. The intent is to manage this
project with the same open policies that are serving CPython so well.
Finn Bock and I have been working on the next release, to be called
Jython 2.0. Finn has integrated his JPython errata, and Python 2.0
language features such as augmented assignments, list comprehensions,
and extended print have also been added. The free Apache Jakarta
OROMatcher software has taken the place of the previously non-free
OROMatcher code for regular expressions, so there will be no further
need to dual license. Jython 2.0 will eventually be released with a
license similar to CPython 2.0.
I don't know when the first alpha release of Jython 2.0 will happen,
but all the code is currently available in the SourceForge CVS tree.
I will also be converting the old Jitterbug database to the SF bug
tracker as soon as possible.
I've created several mailing lists to support Jython development:
jython-users(a)lists.sourceforge.net
This list will supplant jpython-interest(a)python.org and should be
the general discussion list for Jython users.
jython-dev(a)lists.sourceforge.net
This is an analog to python-dev(a)python.org, except that it will
have an open subscription policy. This is the place for Jython
developers to discuss and help move the Jython project further.
jython-announce(a)lists.sourceforge.net
A low-traffic, announce only list.
jython-checkins(a)lists.sourceforge.net
Similar to python-checkins(a)python.org, this list will receive CVS
checkin and diff messages.
All these mailing lists, and all current information on the Jython
project is available at SourceForge, at
http://sourceforge.net/projects/jython
I will not be automatically subscribing any current jpython-interest
members to the new lists; that's up to you.
I know Finn joins me when I say that we look forward to working with
you on Jython, and to your contributions in furthering this project's
development.
Cheers,
-Barry
This is an update of FXPy, a Python extension module which provides
an interface to the FOX cross-platform GUI library:
Home Page: http://home.hiwaay.net/~johnson2/FXPy
Download Source: ftp://ftp.cfdrc.com/pub/FOX/FXPy-0.99.135.tar.gz
Windows Binaries: ftp://ftp.cfdrc.com/pub/FOX/FXPy-0.99.135-win32.exe
To build FXPy from the sources, you will also need to download version
0.99.135 of the FOX library:
FOX Home Page: http://www.cfdrc.com/FOX/fox.html
Download Source: ftp://ftp.cfdrc.com/pub/FOX/fox-0.99.135.tar.gzftp://ftp.cfdrc.com/pub/FOX/fox-0.99.135.zip
As you may have guessed by now, the latest release of FXPy is
version 0.99.135.
What is it?
-----------
FXPy is a Python extension module which provides an interface to the FOX
cross-platform GUI library. With a few minor exceptions, FXPy provides a
complete interface to FOX. FOX is a C++-based toolkit for developing
graphical user interfaces easily and effectively. Some of the
significant features of FOX include:
* A rich set of widgets (including dials, shutters, tree lists, and
many other "modern" widgets).
* Powerful but easy-to-use layout managers.
* Extensive support for 3-D modeling using OpenGL or Mesa.
* Supports the XDND protocol for drag-and-drop.
* Registry for persistent application settings.
* Runs natively under Unix/X and Microsoft Windows.
* And much, much more!
Please see the FOX home page (URL listed above) for more details about
the FOX library's features. Also consider subscribing to the foxgui-users
mailing list for the latest news about FOX development; again, see the
FOX home page for information on this.
FXPy is (c) 1999, 2000 Lyle Johnson (ljohnson(a)resgen.com) and is released
under the GNU Lesser General Public License.
<P><A HREF="http://home.hiwaay.net/~johnson2/FXPy">FXPy-0.99.135</A> -
interface to the FOX cross-platform GUI library. (18-Oct-00)