TOraRep component incapsulated Oracle call interface (OCI) for Oracle Reports 2.5. Use a TOraRep component to enable an application to launch Oracle Reports for designing and running reports. Double-click a TOraRep at design time to begin running Reports Designer. To run a specified report at runtime, call the Run method. For information about using ReportSmith, see the ReportSmith documentation.
EventStudio is a CASE tool for Sequence Diagram, Call Flow, Message Sequence Chart, Use Case and Process Workflows generation. EventStudio goes beyond UML and supports advanced constructs that make it suitable for Real-time Embedded System Design,...
Popup Sweeper enables blocking unsolicited and in-your-face floating popup ads. It is a powerful popup blocker that prevents new windows from automatically opening while you are browsing the internet. It also allows you to block advertising...
Application for call phone administration for Panasonic PABX. Statisticals Graphics, Power Filter and much more...
Python default values for keyword arguments are evaluated only once and not on every function call. For example following function will not work as user may expect:
def printNow(l=, now=datetime.now()):
Working with Windows API which usually takes like a zillion for each function can be a little bit frustrating and if I want to only change two in the middle for each call I had to wrap everything into lambda functions which change arguments to the...
Without thinking in thread creation the idea is to call several times
a function assigning a thread for each call with related parameters
and returning the list of results in a pretty pythonic way.
For example, if we have already...
Decorates a class so that it encounters a breakpoint for any call to class.method_name(self,args,*kwargs), where
method_name is given by string
only if arguments meet a test: arg_test(self,args,*kwargs) -> bool [default...
Call windows API GetSystemPowerStatus to determine if the AC power is on or off. Great example of calling Windows APIs using Ptyhon.
Just import, call and log your selected call/return/exception/etc. events.
You can use a standard Python logger from the logging module.
Quite flexible tool and about 50 efective SLOC only (excluding the example script).
For many of my Python modules I find it convenient to provide a small if __name__ == "__main__": ... block to be able to call individual methods from the command line. This requires some kind of translation of command-line string...
This script identifies every chr(xx) call in a script (being xx an integer) and replaces it with a constant byte string. For example: print chr(13) + chr(255) in the input .py file gets translated into '\n' + '\xff' on the output .py file, not...
Make staticmethod call itself without calling self.method
Take an instance (call it foo) and create a factory class (call it InstanceFactory) that produces foo's. Then inherit from InstanceFactory.
The builtin set and frozenset types are based on object equality; they call __eq__ to determine whether an object is a member of the set or not. But there are cases when one needs a set of objects that are compared by other means, apart from the...
A convenience script to update a pre-specified folder containing
subversion, mercurial, bazaar, and/or git source folders
To use it:
change the 'src' variable below to point to your source folder
What this recipe does:
Maps linux usb hid ioctls and related C structs to python;
Call ioctls, make some sense of output.
Prints all reports for the device with some info.
Works with python 2.4 (tested python 2.4.6...
A function that employs ctypes to call the underlying UTF-8 APIs for getting command line arguments on Windows.
This module allows one to create a command to call a Python function from the command line, and to call that function with arguments from the command line without using getopt or optparse
This reciepe shows how to call a web service located on a remote machine to do stuff (convert centigrads to faranheit and farahneits to centigrads and retrieve the results as a python object.