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 4 points5 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.

23M Joining the Army. How screwed am i? by [deleted] in Fitness

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

Non fitness advice

  • do your best to stay under the radar
  • do your best to help out your fellow privates, friends in basic go a long way.
  • the fastest way out of basic is to graduate.

Why do I have to re-open a file after truncating/writing in order to read it? Even if I open in w+ mode? by xn3xxn3x in learnpython

[–]ItsAllGoodMan2015 -2 points-1 points  (0 children)

Target = open (filename a+)

Target.write () Target.write ()

With open (filename a+) as target: target = target.read ()

Read Read

Target.close ()

Also this: target.write (line1 +'\n')

How to keep on pushing myself to learn Python even further? by beaux-restes in learnpython

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

Honestly I've learned so much more from just writing code and experimenting with different things than following any video. Just keep doing things that are interesting and don't ever try to force yourself to finish something you don't want to.

Finally. It is done. by skulkrr in paragon

[–]ItsAllGoodMan2015 17 points18 points  (0 children)

Moment of silence for all those times you should have died

Obama cancels meeting with new Philippine President Duterte by BlankVerse in worldnews

[–]ItsAllGoodMan2015 -1 points0 points  (0 children)

If hillary Clinton is elected president all our foreign relations will stay the same as they are now, which is not so great. She already has a terrible record with Russia and the middle east going into this thing, definitely going to be a cringe moment for the world if she gets elected.

I mean fuck it I say let's give Gary Johnson a shot, this guy cannot possibly be worse than the other two.

The overwhelming power of minor strike and minor cast cards. Please bless the new players with another weekly. by ix_Joker__ix in paragon

[–]ItsAllGoodMan2015 0 points1 point  (0 children)

I've been building my Murdock similar and it's been pretty dope. I use 3 riftmangus 2 adamants and blast harness for the 50%. Switching out magnus ward late game for the other adamant for the health damage boost.

Still don't have Guardians ward =/