User Tools

Site Tools


python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
python [2013/07/10 10:25]
zoza
python [2017/05/04 13:31]
zoza
Line 1: Line 1:
 +====== docker ======
 +<​code>​
 +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
 +</​code>​
 +
 ====== ipython ====== ====== ipython ======
  
 load in an external .py file: load in an external .py file:
 +
 <code python> <code python>
 %load file_name.py %load file_name.py
-<​code>​+</code> 
 + 
 +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