This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EMIJ,235 | |
EMIL,240 | |
EMIN,237 | |
EMIR,234 | |
EMIS,236 | |
EMIT,180 | |
EMIZ,239 | |
EURU,241 | |
EUSA,238 | |
FAST,242 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
with open('boodmo.json') as data_file: | |
data = json.load(data_file) | |
cards = data['cards'] | |
for card in cards: | |
if (card['closed'] == False and card['idList'] == '55fa9cb8b9338073afd3dedc'): | |
print card['name'] + " (" + card['shortUrl'] + ")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# trello.com/b/Mumoqgty.json | |
import json | |
with open('boodmo.json') as data_file: | |
data = json.load(data_file) | |
cards = data['cards'] | |
for card in cards: | |
if (card['closed'] == False and card['idList'] == '55fa9cb8b9338073afd3dedc'): | |
print card['name'] + " (" + card['shortUrl'] + ")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="font-family:Arial,Helvetica,sans-serif;line-height:18px"> | |
<p>Dear Andriy,</p> | |
<p>Here is a summary of your order on Boodmo.com:</p> | |
<br> | |
<p>Sold by: Indian machines and trucks</p> | |
<table cellspacing="0" width="100%" style="border-collapse:collapse"> | |
<thead> | |
<tr style="background:#e8e8e8;color:#555"> | |
<th style="padding:8px;text-align:left">S.No</th> | |
<th style="padding:8px;text-align:left">Item</th> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you think sed is not working properly, just add quotes | |
echo "123123,1.0000" | sed 's/\([1-9]\).0000/\1/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import platform | |
import sys | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.support.ui import WebDriverWait | |
def _get_platform(): | |
# On Android sys.platform returns 'linux2', so prefer to check the | |
# presence of python-for-android environment variables (ANDROID_ARGUMENT | |
# or ANDROID_PRIVATE). |
OlderNewer