User Tools

Site Tools


python

Warning: Use of undefined constant PREG_PATTERN_VALID_LANGUAGE - assumed 'PREG_PATTERN_VALID_LANGUAGE' (this will throw an Error in a future version of PHP) in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: Use of undefined constant PREG_PATTERN_VALID_LANGUAGE - assumed 'PREG_PATTERN_VALID_LANGUAGE' (this will throw an Error in a future version of PHP) in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Table of Contents

docker

docker run -it -p 8888:8888 -p 6006:6006 -v sharedfolder:/root/sharedfolder floydhub/dl-docker:cpu bash
root@4aa86b7ed9d6:~# jypiter notebook
bash: jypiter: command not found
root@4aa86b7ed9d6:~# jupyter notebook

ipython

load in an external .py file:

%load file_name.py

and call any function defined in it.

pygame

get key from a user input as pygame.event http://content.gpwiki.org/index.php/Python:Pygame_keyboard_input

python.txt · Last modified: 2017/05/04 13:31 by zoza