The url has changed: https://odan.github.io/2017/07/16/finding-coordinates-by-address-with-the-google-maps-api.html
This file contains hidden or 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
# | |
# conditionalformatting.py | |
# Create two tables and apply Conditional Formatting | |
# | |
import win32com.client as win32 | |
excel = win32.gencache.EnsureDispatch('Excel.Application') | |
#excel.Visible = True | |
wb = excel.Workbooks.Add() | |
ws = wb.Worksheets('Sheet1') | |
ws.Range("B2:K2").Value = [i for i in range(1,11)] |
This file contains hidden or 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
# | |
# erpdatapivot.py: | |
# Load raw EPR data, clean up header info and | |
# build 5 pivot tables | |
# | |
import win32com.client as win32 | |
win32c = win32.constants | |
import sys | |
import itertools | |
tablecount = itertools.count(1) |
This file contains hidden or 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
""" | |
An example of using PyWin32 and the win32com library to interact | |
Microsoft Excel from Python. | |
This can be used instead of Visual Basic for Applications (VBA) | |
(c) Michael Papasimeon | |
""" | |
import win32com.client |
This file contains hidden or 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
""" | |
ATTENTION: | |
When using executemany with a list of tuples, the numbers representing the rows has to be strictly from 1 to the last. Or else it won't work. | |
I really don't understand why. | |
""" | |
import cx_Oracle | |
from parserFWF import getConfigDF | |
HOTEL_CONFIG = getConfigDF() #dataframe |
This file contains hidden or 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
library("shiny") | |
library("foreign") |
This file contains hidden or 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 numpy as np | |
import multiprocessing as multi | |
def chunks(n, page_list): | |
"""Splits the list into n chunks""" | |
return np.array_split(page_list,n) | |
cpus = multi.cpu_count() | |
workers = [] | |
page_list = ['www.website.com/page1.html', 'www.website.com/page2.html' |
This file contains hidden or 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
# https://nlpforhackers.io/named-entity-extraction/ | |
import os | |
import string | |
import collections | |
import pickle | |
from collections import Iterable | |
from nltk.tag import ClassifierBasedTagger | |
from nltk.chunk import ChunkParserI, conlltags2tree, tree2conlltags |
There's no shortage of good resources for learning laravel. So instead of the usual introductory tutorial were just gonna learn Laravel by building a project from scratch and that's gonna be a User Management System.
I don't know if my definition of a User Management System is correct but here's my idea of what's it's capable of doing:
- Register Roles
- Register Users
- Update Users
NewerOlder