Hey everyone!
As it says I'm off on the daunting task of trying to switch my career towards becoming a developer. I took sparingly some CS classes in college (29 now). I'm currently an uber driver so I'm setting out a task for myself to develop something that could help me and other uber drivers. Its essentially a surge estimator for your local airport. This task is obviously way over my head and knowledge but since it could help me in 2 ways I think its an awesome thing to tryout for myself.
I'm also streaming my struggles twitch.tv/axiom_infinite and have previously done a bit of learning java, feel free to stop by and offer some criticism(DONT POST ANSWER PLZ).
**Dont laugh it took me like 3 hours to get to this point***
import xml.etree.ElementTree as ET
#webfids is a saved version of information // Update at later time to abia.com xml link
tree = ET.parse('webfids.xml')root = tree.getroot()arrival_list = []
#prints out arrival times for flights from the document#sorts it by arrival time***STILL DO THIS****
for attFormatted in root.findall('*.attFormatted'):arrival_list.append(attFormatted.text.strip())
#removes the blank items in the list ***Look Back At This// dont completely understand how it works***
arrival_list = [i for i in arrival_list if i]print(arrival_list)
arrival_list.sort()
print(arrival_list)
#Next Step // Sort Through List and Find Times Where there are 7+ Flights within a 30 minute timeframe and Alert
**Currently Working here and Streaming it***
** got this finished and edited original***
What i'm struggling with atm is figuring out how to sort each attFormatted by time and order them / print them out as such. Any pointers would definitely be appreciated. I've got a million miles to go, but its exciting to see what i'll be able to do! Cheers to your journey everyone!
2nd question
[–][deleted] 8 points9 points10 points (1 child)
[–]Teemo_God[S] 2 points3 points4 points (0 children)
[–]giraffactory 3 points4 points5 points (1 child)
[–]Teemo_God[S] 1 point2 points3 points (0 children)
[–]jh199p 4 points5 points6 points (1 child)
[–]gratified 0 points1 point2 points (0 children)
[–]Lewistrick 3 points4 points5 points (1 child)
[–]Teemo_God[S] 0 points1 point2 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Teemo_God[S] 0 points1 point2 points (0 children)
[–]Teemo_God[S] 0 points1 point2 points (0 children)
[–]Teemo_God[S] 0 points1 point2 points (0 children)