By leonardo maffi
See my page of Junk Software too
[For bugs and suggestions, my email on Home page]
From approximately the most recent update
Approssimativamente a partire dall'aggiornamento più recente
|
Name
|
Version
Date |
English
notes
Note in Italiano |
Needed
|
Screenshots
or demo output |
|
| hungarian.d |
V1.2
Oct 8 2012 |
Hungarian_algorithm implemented in D language. See Wikipedia for more info. It also contains a solution for the Euler Problem 345
Algoritmo Ungherese implementato in linguaggio D. |
D V.2 compiler. | ||
| fitt.zip |
V1.0
Aug 11 2011 |
D and Python implementations of the FITT transform. More info inside the zip.
Implementazioni D e Python della trasformata FITT. Maggiori informazioni dentro lo zip. |
D/DMD compiler, Python | ||
| rect_pack.zip |
V1.2
Jul 17 2009 |
Efficient packing of many rectangles
inside a bigger one. Improved from this
C# code.
Efficiente impaccamento di rettangoli dentro un rettangolo più grande. Migliorato a partire da questo codice C#. |
Python, D compiler. Optional Psyco, MatPlotLib. |
![]() |
|
| d_gc_usage.d |
V1.2
Sep 21 2008 |
A small tutorial (inside a working
module) in the usage of the garbage collector API in the D language.
Una piccola spiegazione sull'uso del garbage collector in D e della sua API (contenuta dentro un modulo compilabile). |
D compiler | ||
| bktree.py |
V1.0
Apr 18 2008 |
Fast Levenshtein distance and
BK-tree implementations in Psyco.
Implementazioni veloci della distanza di Levenshtein e degli alberi KB in Psyco. |
Python + Psyco | ||
| fpaq0.zip |
V1.3
Apr 16 2012 |
A simple order-0 arithmetic
file compressor for stationary sources (independent bytes with a uniform
distribution throughout the file). Original
C++ GPL code by Matt Mahoney, translated to D by me.
Un semplice compressore aritmetico di ordine 0 per sorgenti stazionarie (byte indipendenti con distrubuzione uniforme per tutto il file). Codice originale C++ GPL di Matt Mahoney, che ho tradotto in D. |
D compiler | ||
| libs_d.zip |
V2.25
Oct 11 2010 |
Big library for the D programming
language with many useful functions and classes, mostly to allow functional-style
programming (Python-inspired too), but also for various other things. Python
licence.
Ampia biblioteca per il linguaggio D, con molte funzioni e classi, soprattutto per permettere programmazione in stile funzionale (e ispirata a Python), ma anche per altre cose. Licenza Python. |
D compiler V.1.037+ (With Phobos) | ||
| distances.py |
V0.10
Feb 27 2007 |
A Python module that collects
some distance functions, with an demo ASCII density plot to show them.
Modulo Python che raccoglie alcune funzioni distanza, con un density plot in ASCII per mostrale in funzione. |
Python 2.5 | distances | |
| threepointscircle.py |
V1.0
Feb 11 2007 |
Python module to quickly compute
the center and radius of the circle passing through three given points.
Modulo Python per calcolare in fretta il cento e raggio del cerchio passante per tre punti dati. |
Python | ||
| pointinpoly.py |
V1.2
Feb 12 2007 |
Python predicate (function)
that return True if a given point is inside a given polygon/triangle.
Predicato (funzione) Python che restituisce True se un punto dato è interno ad un poligono/triangolo dato. |
Python | ||
| btreeprint.py |
V1.3
Feb 8 2007 |
Python module to produce the
textual ASCII art representation of a given binary tree. Tree
basic structure.
Modulo Python per produrre una rapprentazione testuale ASCII di un albero binario dato. Struttura di base dell'albero. |
Python 2.5. Psyco optional. | btreeprint Html: btreeprint |
|
| yopyra.zip |
V1.5
Sep 13 2009 |
A tiny but nice Python ray tracer
by Carlos Gonzalez
Morcillo. I have improved it in many ways, but I have tried to keep
it short and simple, and then I have compiled to an executable with ShedSkin.
Now it's about 12-14 times faster. The zip contains an animation, some example
code, the executable for Win (but ShedSkin can compile it on Linux too),
and more.
Un minuscolo raytracer in Python, da Carlos Gonzalez Morcillo. L'ho migliorato in vari modi, cercando di mantenerlo corto e semplice, e poi l'ho compilato con ShedSkin, adesso è circa 12-14 volte più veloce. Lo zip contiene una animazione, un po' di codice d'esempio, l'eseguibile per Win (ma ShedSkin può compilarlo anche per Linux) e altro. |
Python 2.4+, ShedSkin. PIL and Psyco are optional. Compiled version doesn't require Python. | ||
| lastiter.py |
V1.0
Jan 25 2007 |
Python module containing Lastiter
class, it is like iter(), but it starts yielding items from the second one.
Lastiter has a "last" property that returns the precedent item of the iterable.
Useful when you need computations that need two successive items of an iterable,
like two lines in a file, two elements given by groupby, etc.
Modulo Python contente la classe Lastiter, simile a iter() ma restituisce gli elementi a partire dal secondo. Lastiter ha una property "last" che fornisce l'elemento precedente dell'iterabile. Può essere utile quando necessiti di elaborare due elementi succesivi di un iterabile, come due linee in un file, due elementi forniti da groupby, ecc. |
Python 2.5 | ||
| heap.py |
V1.5
Jan 22 2007 |
Python module to manage Heaps
in object oriented way. Inside it uses the heap of the Python standard library.
Modulo Python per gestire gli Heap ad oggetti. Internamente usare gli heap della biblioteca standard. |
Python 2.5 | ||
| graycode.py |
V1.0
Jan 21 2007 |
Python module to manage Gray
codes.
Modulo Python per gestire i codici di Gray. |
Python 2.4+ | ||
| nhuffman.zip |
V1.4
Jan 21 2007 |
Python script that implements
a n-way templated Huffman encoder-decoder of strings, unicode strings, and
lists of hashable objects. The zip contains my first Pyrex compiled module
too (already compiled for Python 2.5 for Windows).
Script Python che implementa un Huffman encoder/decoder a n-vie a template, che funziona su stringhe, stringhe unicode e liste di oggetti hashabili. Lo zip contiene anche il mio primo modulo compilato Pyrex (già compilato per Python 2.5 per Windows). |
Python 2.5, Pyrex optional | ||
| num_pyramid.py |
V1.0
Dec 31 2006 |
Small Python script to solve
the problem of pyramid
of numbers with the CSP module (below).
Piccolo script Python per risolvere il problema della piramide dei numeri col modulo CSP (presente sotto). |
Python 2.5 | ||
| csp.zip |
V1.8
Sep 25 2010 |
Python module that wraps Constraint
module (for handling Constraint Solving Problems over finite
domains) by Gustavo Niemeyerby with a simpler API. The zip contains the
constraint module itself too, slightly modified.
Modulo Python che wrappa il modulo Constraint (for la risoluzione di problemi con Restrizioni su domini finiti) di Gustavo Niemeyerby con un'API più semplice. Lo zip contiene anche il modulo constraint stesso, leggermente modificato. |
Python 2.5 (and maybe Python 2.4 too) | ||
| A005150.py |
V1.1
Dec 24 2006 |
Some different Python implementations
of a series A005150
generator.
Varie implementazioni in Python di generatori della serie A005150. |
Python 2.4+ | ||
| bitarray.py |
V1.5
Dec 23 2006 |
Python module that implements
Bitarray class, a dynamic array of bits. More methos can be added.
Modulo Python che implementa classe Bitarray, un array dinamico di bit. Altri metodi possono venire aggiunti. |
Python 2.4 or Python 2.5 | ||
| Lyrics
graph (page) |
V1.0
Nov 29 2006 |
Little Python script to generate
graphs from song lyrics.
Piccolo script Python per generare grafi dal testo di canzoni. |
Python |
![]() |
|
| Python
templating (page with sofware) |
V1.2
Nov 11 2006 |
Script that implements a Python
pre-processing templating stage for Python/C/C++ etc. source code.
Script che implementa uno stadio di preelaborazione a temple in Python per codice Python/C/C++ etc. |
Python 2.4 | ||
| markov text.zip |
V1.5
Feb 23 2007 |
This program generates some
realistic text using a Markov chain. The zip file includes a text (from
Project Gutemberg) used to compute the statistics, an example output, and
a weighted choice function.
Questo programa genera del testo realistico usando una catena di Markov. Il file zip include un testo (dal Progetto Gutemberg) sul quale vengono calcolate le statistiche, un risultato d'esempio e una funzione choice pesata. |
Python | markov_text.txt | |
| turtle_geometry.ps hilbert_koch_curves.pyw |
V1.2
Oct 25 2006 |
Basic Turtle geometry implemented
in PostScript (PS), and few images (Hilbert and Koch curves, etc.) implemented
with the turtle geometry. You can open the PS file with any text editor,
it contains full explanations (if you aren't able to open it with a text
editor, you can try with this). GhostScript
is able to show this PS correctly (others, like Paint Shop Pro 7 aren't
able to do it). I have added a little Python script that uses the built-in
turtle geometry to draw a couple of the same figures, to show some code
differences between PS and Python languages.
Le basi della geometria della tartaruga implementate in linguaggio PostScript (PS), e alcune immagini (curve di Hilbert e Koch, etc.) implementate con tale geometria della tartaruga. Il file PS può essere aperto con qualunque editor testuale, contiene spiegazioni molto dettagliate (se non sei in grado di aprirlo con un editor di testi, puoi provare con questo). GhostScrip è in grado di visializzare correttamente questo PS (mentre ad esempio Paint Shop Pro 7 non è in grado di farlo). Ho aggiunto un piccolo script Python capace di mostrare un paio delle stesse figure per mostrare alcune differenze tra il codice nei linguaggi Python e PS. |
PostScript (like GhostScript) (Python optional) | ||
| myodict.py |
V1.2
Apr 12 2007 |
Ordered dict
data structure with O(1) for set, get, and del too. It's slow, I don't know
if a faster Python version can be created. Full info, tests and speed tests
inside the source.
Struttura dati dizionario ordinato, con O(1) per inserimenti, estrazioni e anche per le rimozioni. È lenta, non so se si può creare una versione più veloce. |
Python | ||
| odictstr.zip |
V.1.0
Sep 26 2006 |
Subtype of
ordered dict, that allows string only as keys. This limitation allows the
access of the keys from the index of their insertion order, and the append
of values without a key. It uses my improved version of Odict class, included
(not written by me). Sottotipo di dizionario ordinato, che come chiavi accetta solo stringhe. Questa limitazione permette l'accesso delle chiavi con l'indice del loro ordine di inserimento, e l'accodamento di valori senza chiave. Usa in mio miglioramento della classe Odict, inclusa (non scritta da me). |
Python | ||
| tensor.py |
V.2.1
Sep 25 2006 |
Given a sequence
of dimentions, and an ement data, creates the corrisponding tensors (made
of Python lists). Works with mutable element data too. Data una sequenza di dimensioni, e un elemento base, crea il tensore corrispondente (fatto di liste Python). Funziona anche con elementi base mutabili. |
Python | ||
| numberwords.py |
V.2.0
Sep 17 2006 |
Converts a number to its written
English name, or the opposite. Original code from Bengt Richter, Stephen
Thorne and Scott David Daniels, improved. Converte un numero nella sua forma scritta Inglese, o viceversa. Codice originale di Bengt Richter, Stephen Thorne e Scott David Daniels, migliorato. |
Python | numberwords.txt | |
| tabler.py |
V.1.1
Sep 17 2006 |
Given a string
containing a textual table, splits it into a list of lists, according to
the position of the most frequent word beginnings/endings. Data una stringa contenente una tabella, la separa in una lista di liste, secondo la posizione dei più frequenti punti di inizio/fine delle parole. |
Python | ||
| lace.pyw |
V.1.0
Sep 12 2006 |
Some fractals. Original code by Roger Bagula and Paul Bourke. | Python, Pygame, optional Psyco | ||
| redemo2.pyw |
V.18
Dec 22 2006 |
My improved version of REdemo,
to create and debug regular expressions. La mia versione migliorata di REdemo, per la creazione e debug di regular expressions. |
Python | ||
| min2_max2.py |
V.1.1
Sep 25 2006 |
Python 2.5 will add the key parameter (like the key parameter of the function sorted) to the functions min and max, so this module can help to run new scripts in older Python versions (note: beside the key parameter, they accept only the first value). | Python | ||
| follow_mouse.pyw |
V.1.1
Jul 26 2006 |
The Processing language (www.processing.org) is essentially Java, so it can be much faster than Python (especially if you don't use Psyco and/or some numerical module), but many of the examples can be implemented in Python too (I have used Pygame, because NodeBox (http://nodebox.net) isn't available on Win). Here I have implemented this one. | Python, Pygame | ||
| psycod.py |
V.1.0
Aug 1 2006 |
Little module to use Psyco as
a decorator. Per usare Psyco come un decoratore, una piccola comodità. |
Python | ||
| primes.py |
V.1.4
Jul 30 2006 |
Python module for prime numbers management. It contains functions to find the prime numbers up to a given number, to find the prime number successive to a given number, and to tell if a given number is prime. It contains rather fast algorithms, but it's Python (plus Psyco if you have it), so for more serious purpose I suggest gmpy.sourceforge.net. Modulo Python per la gestione di numeri primi, contiene funzioni per trovare i numeri primi minori di un numero dato, per trovare il numero primo successivo ad un numero dato, e per determinare se un numero è primo. Gli algoritmi contenuti sono abbastanza veloci (e non miei), ma è scritto in Python (con Psyco se lo si possiede) per cui per scopi più seri consiglio gmpy.sourceforge.net. |
Python, optional Psyco | ||
| accenter.zip |
V.1.0
Jul 30 2006 |
Python program that approximately
puts back the Italian accented words in a text where the accents are replaced
by the apostrophe. The source code contains explanations mostly in Italian.
Programma Python per riaccentare testi italiani nei quali le lettere accentate sono state sostituite da apici. Il sorgente contiene spiegazioni in Italiano. |
Python | ||
| color.py |
V.1.1
Sep 12 2006 |
Python module that implements
a Color class, able to do many colour conversions and transformations.
Modulo Python che implementa una classe Color capace di molte conversioni e trasformazioni cromatiche. |
Python | ||
| fractal_tennis.pyw |
V.1.1
Jul 27 2006 |
Python program that shows random
iterated functions (fractal tennis). In the images on the right you can
see gamma corrected negative rescaled example image of a fractal fern and Sierpinsky Triangle. Programma Python che visualizza funzioni iterate stocastiche ("tennis frattale"). |
Python, Pygame, Optional numeric and Psyco | ||
| elements.py |
V.2.0
Jul 23 2006 |
Python module that gives a dictionary
of the chemical elements and some of their proprieties. Data mostly coming
from Wikipedia. As demo I have created this dynamic Html table, using Sortable Table V.1.03
by Erik Arvidsson and this little script
gen_table.py.
Modulo Python che fornisce un dizionario contenente gli elementi chimici e alcune loro proprietà, che poi può essere elaborato a seconda dei bisogni. Dati per lo più tratti da Wikipedia. Per dimostrazione ho creato questa tabella Html dinamica, usando Sortable Table V.1.03 di Erik Arvidsson e questo piccolo script gen_table.py. |
Python | ||
| cface.pyw |
V.1.2
Jul 20 2006 |
Chernoff faces (see
Wikipedia), translated and modified from the Java code by John Wiseman.
Visualisation using Tkinter, but the class can be easily subclassed to make
it work with other graphical libs.
Facce di Chernoff (vedi Wikipedia), tradotto e modificato dal codice Java di John Wiseman. Visualizzazione in Tkinter, ma la classe può essere facilmente subclassata per lavorare con altre biblioteche grafiche. |
Python (with Tkinter) | ||
| trie.py |
V.1.2
Jul 18 2006 |
Trie tree
of strings (data structure), improved from James Tauber code, http://jtauber.com.
Albero trie di stringhe (struttura dati), migliorato dal codice di James Tauber, http://jtauber.com. |
Python, optional Psyco | ||
| geodetic_dist.py |
V.0.1
Jul 16 2006 |
Small Python library to compute
the distance of two points on Earth. It uses three algorithms of increasing
precision.
Piccola biblioteca Python per il calcolo della sistanza tra due punti sulla Terra, usa tre algoritmi di precisione crescente. |
Python | ||
| bioutil.py |
V.1.14
Dec 6 2006 |
Small Python library of basic
bioinformatics utilities: dictionaries for symbols conversion, restriction
enzymes management, etc.
Piccola biblioteca Python di utility bioinformatiche di base: dizionari per la conversione di simboli, convertitori, gestione enzimi di restrizione, ecc. |
Python | ||
| dotplot |
V.0.10
Jul 6 2006 |
First program that uses bioutil.py;
given two genetic sequences in fasta format (or even two times the same
sequence), computes the dotplot of them.
Primo programma che usa bioutil.py, date due sequenze genetiche in formato fasta (anche due volte la stessa), ne calcola il grafico dotplot. |
Python, Psyco | ||
| castello.py |
V.1.0
Jun 30 2006 |
A computer Science Olympics problem. Un problema delle olimpiadi informatiche. |
Python | ||
| graph.zip |
V.2.36
Jan 2 2008 |
A big Python library (a module)
to manage graphs. Some algorithms can surely be added still, but most functionality
is already implemented. Optional: you can use Psyco to make it faster, and MatPlotLib
to show adjacency matrices.
Un'ampia biblioteca Python per la gestione dei grafi, contiene molti metodi per svolgere molte operazioni diverse. Opzionale: se si dispone di Psyco è più veloce, e si dispone di MatPlotLib si possono visualizzare graficamente le matrici di adiacenza dei grafi. |
Python, optional Psyco | ||
| tableFormat.py |
V.1.0
Jun 28 2006 |
Python script to format a 2D array into a table. The code isn't really
simple, but the script performs basic things still (but it's enough for
my purposes). It also contains a hairy function that tells if a given
object is a number. It recognises as numbers: Script Python per la formattazione di una array bidimensionale in forma di tabella. Nonostante il codice non sia proprio semplice, quello che fa è abbastanza elementare (ma per i miei scopi e' sufficiente). Contiene anche una funzione un po' contorta per stabilire se un dato oggetto è un numero, riconosce come numeri: 10, 10L, 10.5, 010, 010.0, 10J, -5.1e21-2.1e20j, "10", "10L", "10.5", "010", "010.0", "10J", "-5.1e21-2.1e20j" |
Python | ||
| bioinfo1.zip |
V.1.0
Jun 26 2006 |
Two little Python scripts to
find certain proteins, and to count the number of given subsequences in
very big fasta files. Modified and debugged from: "An
Overview of Python in Bioinformatics", by Vineeth Surendranath,
www.pyzine.com, Issue 8, October 20 2005.
Due piccoli script Python per cercare certe proteine, e per contare il numero di sottosequenze date dentro una serie di file fasta molto grandi. Modificato e debuggato da: "An Overview of Python in Bioinformatics", di Vineeth Surendranath, www.pyzine.com, Numero 8, 20 Ottoble 2005. |
Python | ||
| txtsub2srt.py |
V.1.0
Jun 22 2006 |
Little Python script to convert subtitles from a txt format to a srt format. Piccolo script Python per la conversione di sottotitoli da formato txt a formato srt. |
Python | ||
| plane_inversion.zip |
V.1.0
Jun 21 2006 |
Little program to invert the
points of the plane, that can be seen as a little demo for Pygame too. There
is a little library for complex numbers management too.
Programmino per l'inversione dei punti sul piano, utile anche come demo per Pygame. Include anche una piccola biblioteca di funzioni per la gestione dei numeri complessi. |
Python, Pygame | ||
| text_spacer.zip |
V.0.1
Apr 3 2006 |
Little toy
program that gives help to put spaces back in a text without spaces.
Programmino giocattolo che fornisce aiuto nello spaziare un testo privo di spazi. |
Python | ||
| dla.zip |
V.1.0
Mar 3 2006 |
Diffuse Limited Aggregation
on the lateral surface of a cylinder. Python sourcecode + Windows executable
produced with ShedSkin. It works without ShedSkink too, but it's too much
slow. On the right, an example image, the program can be improved a lot.
The fractal dimension of this DLA can probably be increased allowing only
movements in four direction.
Diffuse Limited Aggregation sulla superficie laterale di un cilindro, sorgente Python + eseguibile per Windows prodotto con ShedSkin. Funziona anche senza ShedSkin, ma risulta troppo lento. A destra un'immagine d'esempio prodotta dal programma, che può essere migliorato in vari modi. La dimensione frattale di questo DLA può probabilmente essere aumentata facendo muovere il punto solo in quattro direzioni. |
Python, ShedSkin | ||
| oliva.zip |
V.1.4
Feb 4 2008 |
Conversion to Python of a small
QBASIC program for the simulations of the colour pattern on the shells of
molluscs, from the book "The algorithmic beauty of sea shells" by Hans Meinhardt,
Springer Verlag. On the right an example image (the program saves in pgm
image format, here I have converted it to png with only 16 shaes of grey).
It contains a version written in the D language too, that requires my
d libs.
Adattamento in Python di un piccolo programma in QBASIC per realizzare modelli dei pattern di colore dei gusci di conchiglia allegato al volume "The algorithmic beauty of sea shells" di Hans Meinhardt, Springer Verlag editore. A destra un'immagine di esempio prodotta (il programma la salva in formato pgm, qui è stata convertita in png a soli 16 grigi). Contiene anche una versione scritta nel linguaggio D che richiede le mie d libs. |
Python | ||
| k-means |
V.2.0
Jun 2 2007 |
Short English article on the
k-means with Python (and ctypes optinally too).
Breve articolo in Inglese sulle k-means in Python (e anche con ctypes opzionale). |
Python 2.5 Optional: PIL, ShedSkin, MatPlotLib, ctypes |
![]() |
|
| horspool.py |
V.1.0
Feb 8 2006 |
Simple but sufficiently fast
algorithm to substring sarch (it's not meant to be faster than normal search
string methods).
Algoritmo molto semplice ma sufficientemente veloce per la ricerca di sottostringhe in una stringa (non serve per superare la velocità dei metodi builtin delle stringhe). |
Python, ShedSkin, optional Psyco | ||
| sga.py |
V.1.0
Feb 8 2006 |
Simple Genetic Algorithm (designed
for ShedSkin).
Algoritmo genetico semplice (progettato per ShedSkin) |
Python, ShedSkin, optional Psyco | ||
| encoding.zip |
Jan 4 2006
|
Telephone
number encoder, the result of a contest between Lisp and C++.
Encoding di numeri di telefono, il risultato di una sfida tra Lisp e C++. |
Python | ||
| brainfuck.zip |
V.1.2
Sep 10 2009 |
A Brainfuck interpreter written in
Python by Philippe Biondi and modified (it uses Psyco,
and it can be compiled with ShedSkin), with executables for Win produced
by ShedSkin (for 8 and 16 bit cells), plus a Brainfuck=>C translator
written in Python, plus some Brainfuck example programs (not written by
me), and example of BF program compiled (PI16), and more.
Modifica di un interprete per Brainfuck scritto in Python di Philippe Biondi (che sfrutta bene Psyco e può essere compilato con ShedSkin), con relativi eseguibili per Win ottenuti da ShedSkin (per celle di 8 e 16 bit), più un traduttore Brainfuck=>C scritto in Python, più un po' di programmi di esempio in Brainfuck (non scritti da me), un esempio di programma BF compilato (PI16), e altro. |
Python, ShedSkin, Psyco, C | ||
| Briciole Python 1 |
Oct 19 2005
|
Tiny almost useless Python programs.
Minuscoli programmi in Python. |
Python | ||
| thumbnails.zip |
V.1.3
Sep 27 2005 |
Modules to produce Jpeg thumbnails
to use on websites. It recognises true greyscale images, and saves them
as greyscale jpeg thumbnail (no thumbnail program that I know of does this),
and sharpens up the thumbnails.
Moduli per generare miniature (thumbnails) Jpeg da usare su siti. In più rispetto al solito riconosce come tali le vere immagini in B/N e produce Jpeg monocromatiche (cosa che non fa nessun programma per thumbnails che io conosca), e fa una intensificazione delle miniature. |
Python, PIL | ||
| spectralColors.pyw |
V.1.0
Sep 19 2005 |
Small function to compute the
RGB color given the wavelenght of a monocromatic light.
Piccola funzione per calcolare il colore RGB data la lunghezza d'onda di una luce monocromatica. |
Python (with Tkinter) | ||
| inputFileName.py |
V.1.1
Sep 19 2005 |
Useful for very quick command
line scripts. If it doesn't receive a filename, it asks it with Tkinter
with file dialog.
Utile per rendere più comodi alcuni programmini a linea di comando scritti in fretta. Se non gli viene passato un nomefile, usa Tkinter per chiedere graficamente il nome del file richiesto. |
Python (with Tkinter) | ||
| automenu.py |
V.0.15
Sep 20 2005 |
Just a experimental
program to create Tkinter menus quite quickly.
Programma ancora del tutto sperimentale per la creazione molto automatizzata di menu in Tkinter. |
Python (with Tkinter) | ||
| calculator.pyw |
Set 14 2005
|
An exercise in writing a very
short calculator, with Tkinter. For Python Golf (similar to the Perl Golf)
I can use this version (309 bytes),
it's not easy to do a smaller calculator with well positioned buttons in
another language.
Un esercizio di scrivere una calcolatrice veramente breve, con Tkinter. Per Python Golf (simile al Perl Golf) può essere ridotto in questa versione (309 byte), difficile poter fare una calcolatrice con pulsanti ben formattati in meno byte in un altro linguaggio. |
Python (with Tkinter) | ||
| puzzle_game.pyw |
V.1.2
Set 14 2005 |
15 puzzle game meant as a Tkinter
exercise.
Gioco del 15 scritto come mio primo esercizio d'uso di Tkinter. |
Python (with Tkinter) | ||
| ais.zip |
Sep 15 2005
|
Implementation of some examples
of artificial immune systems. They are kinda translations of some java
applets. (Standalone version, no Python required,
2.6 MB).
Implementazione di alcuni esempi dimostrativi di sistema immunitario artificiale. Sono più o meno delle traduzioni in Python di queste applet java. (Versione funzionante senza Python, 2.6 MB). |
Optional Python with Tkinter | ||
| unique.py |
V.1.0
Jul 28 2005 |
A module with a function that
returns a list of the elements of the given sequence without duplicates.
If stable=True it keeps the original element order (using slower algorithms).
Modulo contente una funzione omonima per trovare tutti gli elementi unici di una sequenza data. Funziona con tutti i tipi di dati e può essere stabile o instabile (stabile significa che conserva l'ordine dei dati di partenza). |
Python | ||
| plot2.py |
V.1.1
Apr 16 2005 |
A small module that uses MatPlotLib
to plot 1D and 2D fuctions. Using Psyco even 2D functions (that require
lots of operations) can be plotted quite fast (in about 1 second).
Piccolo modulo che usa MatPlotLib per plottare funzioni 1D e 2D. Usando anche Psyco le funzioni 2D (che richiedono moltissimi calcoli) possono essere plottate molto in fretta (dell'ordine di un 1 secondo). |
Python with a GUI toolkit, MatPlotLib | ||
| Catene di parole |
V.1.0
Apr 16 2005 |
Word chains.
Catene di parole. |
Python | ||
| baseConvert.py |
V.3.6
Sep 6 2005 |
To convert the base of numbers,
between 2 and 64.
Conversioni di base numerica tra 2 e 64. |
Python | ||
| partition.py |
Apr 9 2005
|
To divide a sequence in parts
of length n.
Per dividere le sequenze in sotto-sequenze di lunghezza voluta. |
Python | ||
| xflatten.py |
Apr 9 2005
|
To flatten lists and other nested
sequences.
Per appiattire liste e altre sequenze nidificate. |
Python | ||
| Labirinto con stato |
V.1.1
Mar 28 2005 |
Maze with state. | Python, Graph | ||
| utility.py |
Feb 18 2005
|
A collection of mine of some
possibly useful functions (chrSetStr, cinterval, factorial, frange, frequences,
fromDigits, isPower2, mprint, mprintnl, nest, nestList, okElements, reverseDict,
rotateLeft, rotateRight, rreplace, seqMode, split, subsets, toDigits).
Una raccolta di alcune mie funzioni potenzialmente utili. |
Python | ||
| depth.py |
Jan 8 2005
|
Gives the maximum number of
indices needed to specify any part of a sequence.
Restituisce la profondità di una struttura nidificata, cioè il numero massimo di indici necessario per specificarne un elemento. |
Python | ||
| fibonacci.py |
Jan 4 2005
|
To compute Fibonacci numbers
very quickly.
Calcolo molto rapido dei numeri della serie di Fibonacci. |
Python | ||
| permute.py |
Jan 4 2005
|
Return all the permutations
of the elements of a given sequence.
Per calcolare tutte le permutazioni degli elementi di una sequenza data. |
Python | ||
| rightType.py |
Jan 4 2005
|
To verify the type of names,
inside functions, etc.
Per verificare il tipo di nomi, all'interno di funzioni, ecc. |
Python | ||
| select.py |
Jan 4 2005
|
Find the n-th rank ordered element, useless without Psyco. Data una sequenza disordinata, trova velocemente l'n-esimo elemento della sequenza ordinata, senza fare il vero sorting, utile solo se si usa Psyco. | Python, Psyco | ||
| Liste veloci |
Feb 16 2003
|
My first Mathematica
package.
Il mio primo package Mathematica. |
Mathematica | ||
| FastQSort |
May 15 2000
|
My fastest QuickSort routine.
La mia versione più veloce del Quicksort. |
Delphi 5 | ||
| DrawScript |
Apr 29 2000
|
To draw a script of vector graphics.
Tracciamento di un file di comandi vettoriali. |
Delphi 5 | ||
[For bugs and suggestions, email on Home page]