This script mimics rsync which is available for the unix platform and have been ported to win32 one.
It is a sort of advanced version of xcopy.
Its aim is to selectively synchronize folders.
More precisely it copy selective parts of a folder to a destination folder and in addition can remove parts of the destination folder that do not correspond to parts of the original folder.
I like its capability to avoid copying files through the .cvsignore mechanism or the pattern matching mechanism and its capability to delete files that are no longer relevant,
not to mention that because it's a python script anyone can easily fix or improve it as he whish.
rsync implemented in Python - 0 views
Pyro - About - 0 views
-
Pyro is short for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. Never worry about writing network communication code again, when using Pyro you just write your Python objects like you would normally. With only a few lines of extra code, Pyro takes care of the network communication between your objects once you split them over different machines on the network. All the gory socket programming details are taken care of, you just call a method on a remote object as if it were a local object!
PyTone: MP3 jukebox redux - 0 views
scipy cluster example dendogram - 1 views
-
Now that we have a dendrogram from which to inspect, let's find a suitable color threshold. One can see roughly three major clusters formed by using a distance threshold of 1.2. Now, let's plot another dendrogram using this as the color threshold. The legend displays the predictions of each flat cluster formed by cutting with this threshold
Eli Bendersky's website » Python metaclasses by example - 12 views
-
-
Study and understand this example and you’ll grasp most of what one needs to know about writing metaclasses.
-
To control the creation and initialization of the class in the metaclass, you can implement the metaclass’s __new__ method and/or __init__ constructor [6]. Most real-life metaclasses will probably override just one of them. __new__ should be implemented when you want to control the creation of a new object (class in our case), and __init__ should be implemented when you want to control the initialization of the new object after it has been created.
- ...3 more annotations...
« First
‹ Previous
101 - 110 of 110
Showing 20▼ items per page