#!/usr/bin/python
# -*- coding: utf-8 -*-
from BigData import Data
from job import tasks
import asyncio
class DataEngineer(Data):
pass
class DataScientist(Data):
pass
class DataScienceEngineer(DataEngineer, DataScientist):
def __init__(self):
self.name = "Anuj Chauhan"
self.role = "Data Science Engineer"
self.languages = ["Python3", "Java"]
self.hobbies = ["music", "road_trips", "maths"]
def say_hi(self):
print("Thanks for dropping by, hope you find something useful.")
async def do_job_work(self):
for i in range(0, len(tasks)):
if i % 20 == 0:
print("Hey, Can't you see I'm working")
print("bc code fat gaya! told you to test rigorously!!")
return 0
async def do_personal_work(self):
for i in range(0, len(study_tasks)):
if i % 10 == 0:
print("Guitar, Keyboard, Roadtrips, Hikings, Long walks .. zzz..")
print("What a life.. zzz..")
return 0
async def here_and_there(self):
f1 = loop.create_task(self.do_job_work())
f2 = loop.create_task(self.do_personal_work())
await asyncio.wait([f1, f2])
def get_back(self):
struggle = asyncio.get_event_loop()
struggle.run_until_complete(here_and_there())
struggle.close()
if __name__ == "main":
me = DataScienceEngineer()
me.say_hi()
me.get_back()
🎯
Focusing
Yet an¤ther seeker | Anime L○ver | Excellent C♡♡k | Psych¤ Enthusiast | Wannabe Musician/Artist | Avid Reader
-
Particle41
- Pune
- hanchau.github.io
- @hanChauJuna
Block or Report
Block or report hanchau
Report abuse
Contact GitHub support about this user’s behavior. Learn more about reporting abuse.
Report abusePinned
-
celery-features
celery-features PublicTried many features provided by celery - distributed task queue
Shell
-
-
-
dragtor/pipdepgenerator
dragtor/pipdepgenerator PublicTool to generate requirement.txt for python project
-
-
15 contributions in the last year
Day of Week | April Apr | May May | June Jun | July Jul | August Aug | September Sep | October Oct | November Nov | December Dec | January Jan | February Feb | March Mar | |||||||||||||||||||||||||||||||||||||||||
Sunday Sun | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Monday Mon | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Tuesday Tue | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Wednesday Wed | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Thursday Thu | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Friday Fri | |||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturday Sat |
Less
No contributions.
Low contributions.
Medium-low contributions.
Medium-high contributions.
High contributions.
More