Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: libmagic library issue
Post: libmagic library issue

have installed python 2.7.15 (32 bit) on windows 2012 R2 -64 bit server. we have installed elastalert which install magic & liblogic modules. when I run the elastalert process , its giving follow...
Sudhakar General Coding Help 0 5,193 Nov-13-2018, 09:06 PM
    Thread: Python 3/selenium - nontype error
Post: RE: Python 3/selenium - nontype error

try with below code driver.find_element(By.XPATH, '<xpath>').send_keys("trial")or search_box = driver.find_element(By.XPATH, '<xpath>') search_box.click() search_box.send_keys("trial")
Sudhakar Web Scraping & Web Development 2 11,877 Jun-28-2018, 08:19 PM
    Thread: Extract Strings From Text File - Out Put Results to Individual Files
Post: RE: Extract Strings From Text File - Out Put Resul...

let me add python quotes for easy understanding. for s in Words: with open("%s.txt" % s, "w") as f: for sentence in sentences: if( s in sentence): f.write(se...
Sudhakar General Coding Help 8 4,958 Jun-27-2018, 09:03 PM
    Thread: Extract Strings From Text File - Out Put Results to Individual Files
Post: RE: Extract Strings From Text File - Out Put Resul...

I modified your code for the last section. it works for me. please try from your end. for s in Words: with open("%s.txt" % s, "w") as f: for sentence in sentences: if( ...
Sudhakar General Coding Help 8 4,958 Jun-27-2018, 07:27 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020