Electron microscopy
 
command= in Python
- Integrated Circuits -
- An Online Book -
Integrated Circuits                                                                                   http://www.globalsino.com/ICs/        


=================================================================================

 

sys.argv can be used to access command lie arguments from within your Python script.

Table 4723a.  Commands for the Anaconda Prompt and Unix.

 Command  Windows  macOS
List les in current directory   dir  ls -la
 Change directory (relative)  cd path\to\dir  cd path/to/dir
 Change directory (absolute)  cd C:\path\to\dir  cd /path/to/dir
 Change to D drive  D:  (doesn’t exist)
Change to parent directory   cd ..  cd ..
 Scroll through previous commands  ↑ (up-arrow)  ↑ (up-arrow)

Table 4723b.  Conda and pip commands.

Action Conda pip 
List all installed packages  conda list pip freeze
Install the latest package version  conda install package pip install package
Install a specic package version  conda install package=1.0.0 pip install package==1.0.0
Update a package  conda update package pip install --upgrade package
Uninstall a package conda remove package pip uninstall package

=====================================================

Popup window with options: code:
         Pop-up windows
         Pop-up windows
Output:         
         Pop-up windows
         Pop-up windows
         Pop-up windows
         Pop-up windows
         Pop-up windows
         Pop-up windows

=====================================================

Popup window with options: code:
         Pop-up windows

 

 

=================================================================================