> mkdir g:\tmp\trial
> cd g:\tmp\trial
> dotnet --info
.NET Command Line Tools (2.0.2-vspre-006949)
Product Information:
Version: 2.0.2-vspre-006949
Commit SHA-1 hash: 23fc6ec23d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Demo a simple embedded python interpreter | |
// See this post for context: http://codito.in/notes-on-vim-python-interop | |
// | |
// Compile with: gcc $(python-config --cflags --ldflags) pyembed.c -o pyembed | |
// Tested on python 3.6 in arch linux | |
// | |
// See https://docs.python.org/3/c-api/init.html for details of APIs. | |
// | |
#include <Python.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python2 | |
# usage: | |
# mkdir /tmp/trial | |
# git clone https://github.com/sushant354/indic2unicode | |
# sudo pacman -S python2-ply | |
# # copy the below code in /tmp/trial and save as convert.py | |
# cd /tmp/trial | |
# python2 convert.py input.txt output.txt |
OlderNewer