Skip to content

ucsb-cs8-m17/Lecture4_0815

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lecture4_0815

See also: https://ucsb-cs8-m17.github.io/lectures/lect04/

ssh -X pconrad@csil-21.cs.ucsb.edu

The first time you'll get a message such as:

ECDSA key fingerprint is SHA256:ANJ7ced3JXpxKnu8OhnS3f8Z0rE9aIKA+eHHgVlEzVc.
Are you sure you want to continue connecting (yes/no)? yes

Just say yes.

Machines are 01-48

CTRL/D can be used to exit.

For Windows, the program is MobaXTerm

To use it, look for "New Session" in upper left,

Then "ssh" upper left.

Then enter csil-15.cs.ucsb.edu (or whatever number) where it asks for host.

Then, you'll be prompted for username and password.

If you get this message when running idle3

or any other program that needs graphics...

_tkinter.TclError: no display name and no $DISPLAY environment variable

On Windows: Use MobaXTerm instead of a program such as PuTTY.

On Mac: You need to install XQuartz ... go to XQuartz.org, download, follow instructions, and try again.

Also: on Mac or Linux, maybe you forgot the -X part.

Testing with pytest

python3 -m pytest areaCalc.py

Using import pytest and pytest.approx()

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages