Feeding Your Inner Developer

Month: February 2013

How to remove/unregister devices from your Amazon account

Sign in your amazon account, hover your mouse to Hello “Your Name” and Look for “Manage Your Kindle”. On the left…

## python 2.7.3
import csv
writer=csv.writer(open("output.csv","wb"), delimiter=';', quotechar='"', quoting=csv.QUOTE_MINIMAL)
with open('products.csv', 'rb') as csvfile:
    spamreader = csv.reader(csvfile, delimiter='@')
##    for row in spamreader:
##        writer.writerow(row[0].strip() + row[1].strip() + row[2].strip() +row[3].strip() +row[4].strip() +row[5].strip() + row[6].strip() + row[7].strip() + row[8].strip() + row[9].strip())
    x = 0
    for row in spamreader:
        x = x  + 1
        if (x % 100) == 0:
            writer=csv.writer(open("output"+str(x)+".csv","wb"), delimiter=';', quotechar='"', quoting=csv.QUOTE_MINIMAL)
        if row[9] != "":
            temp = row[9]
            row[9] = 'content_to_append' + temp

Appending to column of csv file

## python 2.7.3 import csv writer=csv.writer(open(“output.csv”,”wb”), delimiter=’;’, quotechar='”‘, quoting=csv.QUOTE_MINIMAL) with open(‘products.csv’, ‘rb’) as csvfile: spamreader = csv.reader(csvfile, delimiter=’@’) ## for…

How to append and pop values in MySql

MySQL SUBSTRING() returns a specified number of characters from a particular position of a given string. Syntax SUBSTRING(str, pos, len)…

Activating Windows 8 With no Crack/Patch

First of all you will open your command prompt as administrator by pressing the windows key and X key together…

Windows XP Keys/Serials (all versions)

• Win XP Home OEM: JQ4T4-8VM63-6WFBK-KTT29-V8966 • Win XP Home Retail: RH6M6-7PPK4-YR86H-YFFFX-PW8M8 • Win XP Home Upgrade: RH6M6-7PPK4-YR86H-YFFFX-PW8M8 • Win…

How to remove ID from URL in Joomla 2.5 and 3

Open componentscom_contentrouter.php in an editor and make a small changes: in function ContentBuildRoute(&$query) replace line 27 $advanced = $params->get(‘sef_advanced_link’, 0); with $advanced…

© 2020 DEVGET.NET. Theme by Anders Norén.