Effective Python Setup Tips for Coding Success

preparation n.w
1 / 9
Embed
Share

Learn essential setup procedures for Windows, Linux, and Mac systems to establish a productive Python coding environment. Discover the process of setting up Python tools, utilizing the Linux command line interface, installing Anaconda, managing Python environments, and exploring major Python libraries. Enhance your workflow with Jupyter for interactive Python development.

  • Python Setup
  • Coding Environment
  • Linux Commands
  • Anaconda Installation
  • Python Libraries

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Preparation

  2. Topics Windows based setup Work with the Linux command line interface Set up Python tools Coding environment

  3. Windows based setup Anaconda Install python3 and pip

  4. Command line interface (linux/mac terminal) Preferred systems Linux Windows subsystem for linux; or virtual machine + linux (e.g., virtualbox) Mac command line Common linux shell commands Quick start: https://ubuntu.com/tutorials/command-line-for-beginners More comprehensive: https://ryanstutorials.net/linuxtutorial/ Numerous youtube tutorials

  5. Most important commands man show a command s usage File/directory operations Understand how files are organized file paths pwd, ls, cd, rm, mv, cp, mkdir, rmdir cat, wc, less, head/tail, sort Other utilities top, ps https://ryanstutorials.net/linuxtutorial/cheatsheet.php

  6. Python environment Use python3 Install pip or anaconda (or miniconda) a tool for conveniently installing python libraries/tools python3 -m pip install --upgrade pip Python virtual environment is preferred python3 -m pip install --user virtualenv python3 -m venv env_name_chosen_by_you Activate the environment source env_name/bin/activate you will notice the environment name show up in the command prompt. Then, install packages you need with pip Deactivate the environment deactivate

  7. Jupyter A convenient interactive interface for Python (https://jupyter.org/) Installation methods Activate the environment you created, then run pip install notebook Run jupyter notebook or python3 m notebook

  8. Major python libraries numpy - scientific computing library pandas exploratory data analysis (tabular data pre-processing) Scikit learn (sklearn) most machine learning modeling methods (non deep learning) Matplotlib powerful visualization package It s easy to install them: in an activated environment pip install numpy pandas matplotlib sklearn

  9. Other popular coding environments Check out vscode Sublime text

Related


More Related Content