Рейтинг в виде звезд
http://biznesguide.ru/coding/156.html http://biznesguide.ru/coding/162.html
http://biznesguide.ru/coding/156.html http://biznesguide.ru/coding/162.html
http://blog.ronix.net.ua/2011/11/unity-kak-dobavit-ikonku-skype-v-sistemnyj-trej.html
Когда индийская женщина согласна, красная точка на лбу становится зеленой.
http://forum.corona-club.ru/index.php?PHPSESSID=42b6abf92870b74f3f2056aa2e2e3960&topic=9822.0
http://upload.com.ua/browse/565281/
import Image
baseim = Image.open(“original.png”)
logoim = Image.open(“logo.png”) #transparent image
baseim.paste(logoim,(baseim.size[0]-logoim.size[0],baseim.size[1]-logoim.size[1]),logoim)
baseim.save(‘new.png’,‘PNG’)
here is the original image
and this is the logo
then this is the image after watermarking
Источник
import datetime
from django import newforms as forms
from django.newforms.extras.widgets import SelectDateWidget
from django.utils.translation import ugettext as _
year = datetime.date.today().year
class SampleForm(forms.Form):
default_date = forms.DateField(label=_('Default date'), initial=datetime.date.today,
help_text=_('Today date in text input.'))
birth_date = forms.DateField(label=_('Birth date'), initial=datetime.date.today,
help_text=_('Today date in 3 selects (each for day, month and year) with 100 latest years'),
widget=SelectDateWidget(years=range(year, year-100, -1)))
future_date = forms.DateField(label=_('Future date'), initial=datetime.date.today,
help_text=_('Today date in 3 selects (each for day, month and year).'))
Источник