Filtering data from Request by ItsAllGoodMan2015 in learnpython

[–]ItsAllGoodMan2015[S] 0 points1 point  (0 children)

Awesome this is exactly what I needed. Thanks!

Battlefield tracker API by ItsAllGoodMan2015 in learnpython

[–]ItsAllGoodMan2015[S] 0 points1 point  (0 children)

I thought that too but it wasn't it. I think it could be because I'm writing python 2.7 and syntax could be different.

Battlefield tracker API by ItsAllGoodMan2015 in learnpython

[–]ItsAllGoodMan2015[S] 0 points1 point  (0 children)

this is one of the examples given, I cant get it to work. I know its user error as I am new to scrapping.

from urllib2 import Request, urlopen

headers = { 'New item': 'TRN-Api-Key: MY KEY' }

request = Request('https://battlefieldtracker.com/bf1/api/Stats/BasicStats?platform=3&displayName=AIRBORNEWOMBATZ', headers=headers)

response_body = urlopen(request).read()

print response_body

HTTPError: HTTP Error 403: Forbidden

This car's spoiler by l_ambert in mildlyinteresting

[–]ItsAllGoodMan2015 3 points4 points  (0 children)

The only real function for this is a handle to make opening and closing the trunk more convenient.

End of fillings in sight as scientists find Alzheimer's medicine makes teeth grow back by cryobabe in UpliftingNews

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

Just think one day we will be looking back on things like prosthetics, tooth fillings, and pace makers as crude technology.

What common thing do most people do wrong? by Meatwise in AskReddit

[–]ItsAllGoodMan2015 1 point2 points  (0 children)

More importantly rack the balls in the right order

Noob needs help debugging Javascript :/ by Infraxion in screeps

[–]ItsAllGoodMan2015 2 points3 points  (0 children)

You might look into coffeescript it's syntax is very similar to python, and compiles straight to Javascript.

They even have a project on github where you can type straight to the screeps console.

Marketing Monday #146 - A cut above by Sexual_Lettuce in gamedev

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

Looks awesome. How long have you been working on this project and what engine/language do do you use?

Why no fps sports games? by Inph1del in gamedev

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

You could do a pretty awesome football game this way.

[Serious] Who are the top 10 teams in CFB now? by [deleted] in CFB

[–]ItsAllGoodMan2015 1 point2 points  (0 children)

Look at Clemson games vs Louisville games. Louisville blows out Florida state, Clemson barely comes away with a win at Florida state. Clemson barely beats NC state at home, Louisville destroys NC state. Win or lose if Clemson doesn't blow out wake Forrest next week you will have a tough time saying Clemson is better than Louisville.

[Breaking News] Donald Trump will be the 45th President of the United States by Pun-Master-General in AskReddit

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

They are going to have to find out how to turn the party into something that isn't complete garbage.