Using Python Requests on a Page Behind a Login

Posted by Julian on Fri 09 June 2017 in Modules • Tagged with requests, code, web scraping, python • 4 min read

In this post I discuss using the requests module on web pages behind a login


Continue reading

Learning Python by Building a Wisdom Quotes App

Posted by Dante on Tue 09 May 2017 in Learning • Tagged with challenges, learning, guest, wikipedia, API, code review, flask, requests, quotes, forismatic • 3 min read

In this guest post Dante tells us about his Wisdom of the Ages app he built for PyBites code challenge 16 (reviewed here). The best way to learn Python is to build something and we are proud of our community achieving just that.


Continue reading

How to Download an XML File with Python

Posted by Julian on Thu 04 May 2017 in Learning • Tagged with tutorial, learning, webscraping, requests, xml, beginners, python • 4 min read

In this post I detail how to download an xml file to your OS and why it’s not as simple as you’d think


Continue reading

Learn Python by Coding for Yourself

Posted by Julian on Thu 27 April 2017 in Learning • Tagged with learning, code, programming, python, resources, Flask, Warcraft, requests, gmail, APIs, sqlite3, challenge, motivation • 6 min read

In this post I discuss (with examples) why it’s important to learn Python by actually coding. It’s not enough to just read!


Continue reading

Best Practices for Compatible Python 2 and 3 Code

Posted by Bob on Wed 22 March 2017 in Tools • Tagged with 2vs3, tox, six, python-modernize, porting, future, 2to3, coverage, futurize, caniusepython3, pip, Requests, Werkzeug • 3 min read

95% of most popular Python packages support Python 3. Maybe you are lucky and get to start fresh using Python 3. However as of last year Python 2.7 still reigns supreme in pip installs and at a lot of places 2.x is the only version you get to work in. I think writing Python 2 and 3 compatible code is an important skill, so lets check what it entails.


Continue reading

Module of the Week - Requests-cache for Repeated API Calls

Posted by Bob on Tue 14 March 2017 in Modules • Tagged with requests, cache, APIs, package • 2 min read

Today a quick article on a nice caching module when working with APIs: Requests-cache.


Continue reading

Twitter digest 2017 week 03

Posted by PyBites on Sat 21 January 2017 in Digest • Tagged with twitter, news, python, podcasts, pydata, tips, grumpy, assert, async, requests, delegator, pyprojects, cookiecutter, resources • 2 min read

On Saturdays we will share a curated list of 15 cool things (mostly Python) we found / tweeted during the week.


Continue reading