Entries Published On August, 2017
[Python] Html parse islemi
from lxml import html with open(r’sozluk.html’, “r”) as f: sayfa = f.read() t = html.fromstring(sayfa) “”” — ORNEK HTML — <p class=”Normal para-style-override-2″ xml:lang=”tr-TR”><span class=”char-style-override-3″ xml:lang=”en-US”>abaküs </span><span class=”char-style-override-4″ xml:lang=”en-US”>abacus</span></p> <p class=”Normal para-style-override-2″ xml:lang=”tr-TR”><span class=”char-style-override-3″ xml:lang=”en-US”>abiyotik </span><span class=”char-style-override-4″ xml:lang=”en-US”>abiotic</span></p> “”” kelime1 = t.xpath(‘//span[@class=”char-style-override-3″]/text()’) kelime2 = t.xpath(‘//span[@class=”char-style-override-4″]/text()’) ii = 0 for x,y in zip(kelime1,kelime2): ii += 1 …
[mariadb][mysql]InnoDB: Failed to find tablespace for table
[ERROR] InnoDB: Failed to find tablespace for table + in the cache. Attempting to load the tablespace with space id [ERROR] InnoDB: Your database may be corrupt or you may have copied the InnoDB tablespace but not the InnoDB log files. Internet uzerinden cok fazla bilgi olmasina ragmen kendi sorun cozme seklimi de blog sayfama …