Twitter digest 2017 week 21

Posted by PyBites on Sun 28 May 2017 in Digest • Tagged with twitter, news, tips, python, books, pycon2017, pip, PEP, pyPI, Elizabeth, machine learning, boilerplates, open source, pycharm, copy, pytest, memory, tkinter, bokeh, flask, dicts, gitsuggest • 2 min read

Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.


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

Zip and ship, make an executable zipfile of your py project

Posted by Bob on Sun 25 December 2016 in Packages • Tagged with zip, packaging, distribute, pip • 2 min read

In this post I show an example how you can distribute your code as an executable zipfile, a neat trick I discovered in Chapter 6 of The Hitchhiker's Guide to Python


Continue reading

The Beauty of Python Virtualenvs

Posted by Julian on Thu 22 December 2016 in Tools • Tagged with python, pip, virtualenv, venv • 2 min read

Python Virtualenvs are incredible yet sadly under utilised!


Continue reading

How to get PyBites up and running on your machine

Posted by Pybites on Tue 20 December 2016 in Tools • Tagged with pelican, publishing, github, pip, virtualenv, git • 1 min read

This is a short post for Julian to get this Pelican blog up and running on his system.


Continue reading