Total time: 10 minutes 
Updated: September 22nd, 2018
python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

python
PRIMARY
67 guides
code
68 guides
Calling all writers!

We’re hiring. Write for Howchoo

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Get the latest edition of Python in just minutes.
Ash's profile picture AshView
In these interests: codewindowspython
Run Python scripts in command prompt without typing the whole path.
Ash's profile picture AshView
In these interests: windowscodepython
You can run any Python script in a command-line interface.
Ash's profile picture AshView
In these interests: python
Got a Python question? We’ve probably answered it here.
Not sure what version of Python you’re running? Time to find out!
Python is a very popular programming language for data visualization.
In Python, comprehensions are a useful construct that allows us to create new sequences in a very concise way.
Slack has become one of the most important tools for communication in many companies, mine included.
If you’re familiar with Python’s keyword-only arguments, then you’ve probably wondered why the same constraint doesn’t exist for positional arguments. This changes with Python 3.
Specify a parallel filesystem cache for compiled bytecode
Learn how to use formatted string literals in Python
While this requirement may seem rare, learning how to nest defaultdicts properly in Python can be extremely powerful and save you from bloated and confusing initialization code.
python
PRIMARY
Python is howchoo’s favorite programming language. We believe python promotes the most organized and performant codebase possible. We also love Django so, naturally, we love Python.
Code is poetry — one line at a time.

A shortcut to auto-hide your dock in MacOS and OS X

Tyler Tyler (285)
Total time: 2 minutes 
Updated: September 12th, 2018

This guide will show you how to auto-hide your dock using a keyboard shortcut – without having to open up System Preferences.

Posted in these interests:

macos
PRIMARY
40 guides
mac
81 guides
osx
47 guides

You can change this option in System Preferences or you can simply type cmd + option + d from anywhere. This shortcut will toggle your dock between permanently displayed and hidden.

We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

What to do when you can’t drag a window to an external display in MacOS or OS X

What to do when you can't drag a window to an external display in MacOS or OS XWhat to do when you can't drag a window to an external display in MacOS or OS X
Zach Zach (233)
Total time: 1 minute 
Updated: September 12th, 2018

When I turned my computer on this morning, it seems that the menu bar was blocking me from dragging a Google Chrome window from my laptop display to my external display. After much trial and error, I found that I simply needed to drag the window further.

Posted in these interests:

macos
PRIMARY
40 guides
osx
47 guides
Drag the window further onto the second displayDrag the window further onto the second display

Drag a window from your primary display onto the secondary display until your cursor is at least 75% of the way across the external display. You’ll see the window suddenly jump onto this second display.

We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Basic Git commands

Tyler Tyler (285)
0
Updated: September 12th, 2018

There are some fundamental git commands that you will use frequently that are hard to work into a “how-to” guide. Here are some basic git commands and how to use them. These are in no specific order.

Here’s everything you’ll need to complete this guide:

git×1

git branch -v will show you all of your local branches, their commit messages, and which branch is checked out.

git status will show you the status of the branch you currently have checked out. Before you switch branches, merge, pull or push you want to make sure you have a clean working directory and you can check with git status.

git checkout -b branch_name will create a branch from the branch you currently have checked out, and it will be called “branch_name” or whatever you’d like to call it.

git add . is a useful command that will version control any new files and remove from version control any files that you’ve deleted. If you have a file that has been added to git that you have deleted from your repository, it won’t be deleted from git until you use git add ..

We’re hiring!
Are you a passionate writer? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Tyler's profile pictureTyler
Joined in 2015
Software Engineer and creator of howchoo.
Share this guide!
Related to this guide:
Python Path Variable Windows 10Python Path Variable Windows 10
Run Python scripts in command prompt without typing the whole path.
Ash's profile picture AshView
In these interests: windowscodepython
Run Python in TerminalRun Python in Terminal
You can run any Python script in a command-line interface.
Ash's profile picture AshView
In these interests: python
Python FAQPython FAQ
Got a Python question? We’ve probably answered it here.
Ash's profile picture AshView
In these interests: python
People also read:
Python Version
Not sure what version of Python you’re running? Time to find out!
Python is a very popular programming language for data visualization.
In Python, comprehensions are a useful construct that allows us to create new sequences in a very concise way.
Slack has become one of the most important tools for communication in many companies, mine included.
If you’re familiar with Python’s keyword-only arguments, then you’ve probably wondered why the same constraint doesn’t exist for positional arguments. This changes with Python 3.
Specify a parallel filesystem cache for compiled bytecode
Posted in these interests:
pythonpython
python
PRIMARY
Python is howchoo’s favorite programming language. We believe python promotes the most organized and performant codebase possible. We also love Django so, naturally, we love Python.
codecode
Code is poetry — one line at a time.
Discuss this guide:
We’re hiring!
Are you a passionate writer or editor? We want to hear from you!
We’re hiring!
Are you a passionate writer or editor? We want to hear from you!

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.

Want to support Howchoo? When you buy a tool or material through one of our Amazon links, we earn a small commission as an Amazon Associate.