Skip to content

Instantly share code, notes, and snippets.

View fernandorovai's full-sized avatar

Fernando Rodrigues Junior fernandorovai

  • São Paulo, Brazil
View GitHub Profile

Assume IIS is installed. My machine already had IIs 8.5.

DV : Adding some notes when using MS IIS Express 10

Install Python

  1. Download web installer (Python 3.6.3).
  2. Run as Administrator.
  3. Select custom installation for all users.
  4. Choose install directory such that there are no white spaces in the path. Not sure if it needs to be done. Just being cautious.
@fernandorovai
fernandorovai / multiClientSocket.py
Created October 26, 2019 02:27
socket_multiClient
import socket # Import socket module
import threading # Handle Threads
import time
import json
lock = threading.Lock()
i = [0]
def updateVal():
while True:
@fernandorovai
fernandorovai / mergeCsvs.py
Created July 15, 2019 15:41
Merge CSVs in Python
# Merge CSV files from a folder and save a new merged csv file
import os # Handle directories
import pandas as pd # Handle dataframes
import time # Get datetime
csvsDirectory = 'csvs'
outputMergedDirectory = 'csvs'
mergedFilename = 'merged.csv'
fileList = [csvFile for csvFile in os.listdir(csvsDirectory) if csvFile.endswith(".csv")]