User Tools

Site Tools


competitive_programming:linux

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
competitive_programming:linux [2018/08/14 10:18]
jguerin Removed interactive interpreter section. Moved to its own page in this namespace.
competitive_programming:linux [2018/08/15 10:48] (current)
jguerin Moved Python section down to deemphasize it.
Line 4: Line 4:
 This section assumes a basic working knowledge of Unix development including the use of an command-line editor (e.g., [[https://www.gnu.org/software/emacs/tour/|Emacs]], Vim), basic Unix commands and utilities (e.g., ls, cd, man), and development toolchains (g++, Python3, Make). This section assumes a basic working knowledge of Unix development including the use of an command-line editor (e.g., [[https://www.gnu.org/software/emacs/tour/|Emacs]], Vim), basic Unix commands and utilities (e.g., ls, cd, man), and development toolchains (g++, Python3, Make).
  
-===== Python3 Command-Line Arguments ===== 
- 
-Consider the Python code: 
-<file python test.py> 
-</file> 
- 
- 
-==== -c Command Flag ==== 
-While only occasionally convenient, limited Python3 code can also be entered directly on the command line with the command (''-c'') flag. 
-<code python> 
-$ python3 -c "print('Hello') ; print('World!')" 
-Hello 
-World! 
-</code> 
  
 ===== Pipes and Redirects ===== ===== Pipes and Redirects =====
Line 38: Line 24:
  
 ===== Bash Scripts ===== ===== Bash Scripts =====
 +
 +===== Python3 Command-Line Arguments =====
 +
 +Consider the Python code:
 +<file python test.py>
 +</file>
 +
 +
 +==== -c Command Flag ====
 +While only occasionally convenient, limited Python3 code can also be entered directly on the command line with the command (''-c'') flag.
 +<code python>
 +$ python3 -c "print('Hello') ; print('World!')"
 +Hello
 +World!
 +</code>
 +
  
 ===== Additional Resources ===== ===== Additional Resources =====
Line 52: Line 54:
 /tmp/ /tmp/
 </code> </code>
 +
 +
 +
  
competitive_programming/linux.1534259911.txt.gz ยท Last modified: 2018/08/14 10:18 by jguerin