var x = 1;
// same as string.Format("A {0} B", x)
var y1 = $"A {x} B"; // y == "A 1 B"
// $@ for multiline
var y2 = $@"A
This file contains 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
# THIS CODE IS NOW RETIRED. GO TO THE NEW REPOSITORY: https://github.com/brakmic/TwitterClient | |
# -*- coding: utf-8 -*- | |
#============================================================================== | |
# A simple console-based twitter client capable of persisting data | |
# Usage: python client.py --config=your_json_config.json | |
# To persist to a database a valid DNS entry is needed. | |
# Also, create a proper Tweets table. Check 'insert' method in DbConnector. | |
# ============================================================================= |