Extending Python and Zope in C - Python - Miscellaneous

  • Name
Extending Python and Zope in C
  • Author
Extending Python and Zope in C
  • Category
Python / Miscellaneous
  • HomePage Address
Click to Visit
  • No. of hits
54

     To extend Zope, you first extend Python. While extending Python is not brain surgery, it's no walk in the park either. There are two basic components to a Python extension. The first is obviously the C code. I'll cover that in a minute. The other component is the Setup file. The Setup file describes the module by supplying its module name, the location of its C code, and any compiler flags you may need. This file is preprocessed to create a makefile (on UNIX) or MSVC++ project files (on Windows). Before you ask -- Python on Windows is indeed built using the Microsoft compilers. The folks at Python.org recommend using MSVC++ to build extensions as well. It stands to reason that you should be able to persuade GNU compilers to do the trick, but I haven't tried that myself.

Top Python scripts
1).   Charming Python: Parsing with the SimpleParse module Many parsing tools have been written for Python. This column discusses a high-level parsing language built on top of Python. SimpleParse provides an EBNF-style syntax on top of mxTextTools that can greatly clarify the expression of grammars.
2).   Vorras Antibot Vorras Antibot is an image generation program that prevents automatic form submission by robots. If your web site is being overwhelmed with spam, automatic registrations, automatic forum or classified ad submissions etc., Vorras Antibot solves this problem by introducing a picture in your HTML forms that only a human can recognize.
3).   Extending Python and Zope in C Extending Python in C is easy once you see how it all works, and an extension of Python is equally easy to package up for Zope. The hard part is wading through the different documentation sets in search of the nuggets of information you need, and this article has collected them for you. Article includes code snipets.
4).   Addon for phpPowerCards 2.1 This is an addon written in Pyton for creating the configuration files for phpPowerCards 2.1. Features uploading the pictures to the right folder, and much more.
5).   Python for the PalmOS Pippy is a subset of Python to the PalmOS. With this you can create custom applications to run on Palm devices, and also as an interactive environment on the Palm. This article brings out the strengths and limitations of Pippy.
6).   Text Fader Text Fader uses math fucntionalities to fade the text to a particular degree of your choice. This can be used with designing contents for a website that supports python prgramming.
New Python scripts
1).   Python for the PalmOS Pippy is a subset of Python to the PalmOS. With this you can create custom applications to run on Palm devices, and also as an interactive environment on the Palm. This article brings out the strengths and limitations of Pippy.
2).   Text Fader Text Fader uses math fucntionalities to fade the text to a particular degree of your choice. This can be used with designing contents for a website that supports python prgramming.
3).   Addon for phpPowerCards 2.1 This is an addon written in Pyton for creating the configuration files for phpPowerCards 2.1. Features uploading the pictures to the right folder, and much more.
4).   Vorras Antibot Vorras Antibot is an image generation program that prevents automatic form submission by robots. If your web site is being overwhelmed with spam, automatic registrations, automatic forum or classified ad submissions etc., Vorras Antibot solves this problem by introducing a picture in your HTML forms that only a human can recognize.
5).   Extending Python and Zope in C Extending Python in C is easy once you see how it all works, and an extension of Python is equally easy to package up for Zope. The hard part is wading through the different documentation sets in search of the nuggets of information you need, and this article has collected them for you. Article includes code snipets.
6).   Charming Python: Parsing with the SimpleParse module Many parsing tools have been written for Python. This column discusses a high-level parsing language built on top of Python. SimpleParse provides an EBNF-style syntax on top of mxTextTools that can greatly clarify the expression of grammars.
 
 
 Seitenanfang  Home   Submit     Most Popular   New   Privacy Policy   Bookmark