Skip to content

Instantly share code, notes, and snippets.

View mobileappconsultant's full-sized avatar

Arkangel mobileappconsultant

  • Mobile Paradigm
View GitHub Profile
@mobileappconsultant
mobileappconsultant / Simpy.py
Last active December 4, 2018 12:01
Basic python script to practice some basic syntax in python version 3.5
# Different ways to test multiple
# flags at once in Python
x, y, z = 0, 1, 0
if x == 1 or y == 1 or z == 1:
print('passed')
if 1 in (x, y, z):
print('passed')
@mobileappconsultant
mobileappconsultant / simple_calculator
Created December 3, 2018 16:13
Simple calculator task in the Data Science lecture, implemented using a "pseudo" switch statement to replace the multiple if/else statements
import getpass
from getpass import getpass
def demo(argument):
options = {
1: one() ,
@mobileappconsultant
mobileappconsultant / sms_sender
Last active December 3, 2018 14:13
A simple python script to send text messages to any valid U.K number
#I want to import a library that manages time
import time
#I want to import a library that can help me define regular expressions
import re
#I want to import a library that tells me about the operating system I'm using and more!
import os