Sub Replace()
Selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find
.Text = "@here"
.Replacement.Text = "^c"
.Forward = True
.Wrap = wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = False
.MatchSoundsLike = False
.MatchAllWordForms = False
End With
Selection.Find.Execute Replace:=wdReplaceAll
End Sub
PyQt4 не устанавливается через pip.
import sys
from PyQt4 import QtGui,QtCore,QtWebKit,QtScript
sys.exit(app.exec_())
import sys
from PyQt4 import QtGui,QtCore,QtWebKit,QtScript
app=QtGui.QApplication(sys.argv)
web=QtWebKit.QWebView()
web.setGeometry(100,50,800,480)
web.setWindowTitle('MyBrowser')
web.load(QtCore.QUrl('http://www.belursus.info'))
web.show()
sys.exit(app.exec_())
from PIL import Image, ImageDraw
image = Image.new('RGBA', (200, 200))
draw = ImageDraw.Draw(image)
draw.ellipse((20, 25, 100, 150), fill = None, outline ='blue')
draw.ellipse((19, 24, 101, 151), fill = None, outline ='blue')
del draw
image.show("test.png", "PNG")
draw.line((0, 0) + image.size, fill=128, width=5)