Ruby like syntactic sugar

Ruby like syntactic sugar

Ruby like syntactic sugar Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Python License
  • Databases: N/A
  • Downloads: 548
  • Released: Mar 2, 2007

Ruby like syntactic sugar Description

Ruby offers very nice language constructs for loops or for iterating over lists like the following: 5.times { print "Hello World" }. This recipe shows how to implement these features in python.

Ruby like syntactic sugar Bookmark

Hyperlink code:
Hyperlink for Forum code:

Ruby like syntactic sugar Script Download Notice

Top 4 Download periodically updates information of Ruby like syntactic sugar script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Ruby like syntactic sugar torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

A meta class that provides behavior like Ruby

This script brings a Ruby-like class behavior. When a class is declared, it extends the old class if the class name exists already. ...
Python

Yet another Set class for Python

This script is a pure Pythonic implementation of a set class. The syntax and methods implemented are, for the most part, borrowed from PEP 218. ...
Python

The Singleton Pattern implemented with Python

... that shows how to implement the singleton pattern in Python. A singleton is a class that makes sure only one instance of it is ever created. Typically such classes are used to manage resources that by their very nature can only exist once. ...
Python

Real class methods in Python

This script demonstrates 'real' class methods, like they are known from Smalltalk. Class methods implicitely receive the actual class as the first parameter. They are inherited by subclasses, and may as well be overridden. Class methods may return anything, although they are particularly useful as constructing, althbr >/ ...
Python

Pythologic Prolog syntax in Python

Some of Python's powerful meta-programming features are used to enable writing Python functions which include Prolog-like statements. Such functions load ... -- the last unsupported major paradigm -- to Python. This script shows you how to deal with ...
Python