Edit python on linux server
- #Edit python on linux server how to#
- #Edit python on linux server install#
- #Edit python on linux server software#
- #Edit python on linux server download#
In the terminal window issue the cd Downloads command to change your working directory to /home/ yourusername/Downloads, and then issue the cd introcs-1.0 command to change your working directory to /home/ yourusername/Downloads/introcs-1.0. Initially the working directory is /home/ yourusername. In your file manager, double click on the /home/ yourusername/Downloads/introcs-1.0.zip file to unzip the file, thus creating a directory named /home/ yourusername/Downloads/introcs-1.0.Īt any time the terminal application has a working directory.
#Edit python on linux server download#
Use your Web browser to download this introcs-1.0.zip file to your /home/ yourusername/Downloads directory.
#Edit python on linux server install#
Perform these steps to download and install the booksite library: Close the IDLE window.ĭownloading and Installing the Booksite Library If an IDLE window appears, then you have installed IDLE properly.
In the Terminal window issue the command idle3.If Python generates no error messages, then you have installed Pygame properly.Īt the Python > prompt, type exit() followed by the Enter key to exit Python. If Python generates no error messages, then you have installed NumPy properly.Īt the Python > prompt, type the statement import pygame followed by the Enter key. If Python generates no error messages, then you have installed Tkinter properly.Īt the Python > prompt, type the statement import numpy followed by the Enter key. If you see that output, then your installation of Python was successful.Īt the Python > prompt, type the statement import tkinter followed by the Enter key. Type "help", "copyright", "credits" or "license" for more information.
Perform these steps to test your installations: Python3 -m pip install -U setuptools -user That command downloads and installs PyGame via pip, the Python-specific package manager.įollow-up to the previous note: An alternative installation strategy is to use your package manager to install only the python-3, python3-tk, idle3, and python3-pip packages, and then use pip to install the others by issuing these commands in a terminal window: Then open a terminal window and issue the python3 -m pip install -U pygame -user command. If your package manager doesn't offer python3-pygame, then first use your package manager to install all of the other required packages. Note: It's likely that your package manager will offer all of the required packages, with the possible exception of python3-pygame. The package names may vary slightly across Linux distributions. Using your package manager (for example, Synaptic), download and install these packages: python3, python3-pip, python3-tk, python3-numpy, python3-pygame, python3-setuptools, and idle3.
#Edit python on linux server software#
All of the software is freely available on the Web.
#Edit python on linux server how to#
This page tells you how to setup a Python programming environment for your Linux computer and provides a step-by-step guide for creating and running a simple "Hello, world" Python program.