Create a gist using Python

My default editor is Gvim. How to new a gist in Gvim? Before I start , I have to plan something.
  1. Use Python script to create a gist. Because Python is my favorite programming script. 
  2. Integrate the script with Gvim.
So I try to write a script to implement step one. It's work. 😀 If you want to try this script by yourself. You have to generate a token first. Go to your Github settings. Select the "Personal Access Tokens" in the left side nav panel. Click the Generate new token button then check the gist checkbox. Click the green Generate token button to get a token code.

Comments

Popular posts from this blog

How to write data into a excel file using vbscript

Format date as yyyy-mm-dd using vbscript