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
;; htmlutil - Some useful tools for working with HTML text and HTTP URLs | |
; This module provides tools for escaping HTML text, with HTML | |
; entities for special characters; and for escaping strings to be | |
; safely included into URLS; and back. | |
;; Primary commands: | |
; html-escape-str - Escape (quote) a character for HTML | |
; html-unescape-str - Un-escape an HTML entity string | |
; url-quote-str - Quote special characters in a URL string |
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
'''_ | |
Demo code for my question here: | |
https://www.reddit.com/r/reinforcementlearning/comments/7pxvh1/help_with_a_policy_gradient_detail/ | |
Run with: | |
python3 demo.py --verbose --episodes 100000 |
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
''' | |
Usage: | |
export DJANGO_SETTINGS_MODULE=project_name.settings | |
djcsv.py someapp.models.SomeModel > output.csv | |
Run "djenv.py -h" for full help. | |