Giter Club home page Giter Club logo

10-python-apps's Introduction

Junior/Trainee Python Developer Project

This repository contains various projects designed to help Junior or Trainee developers strengthen their Python skills, covering fundamentals to advanced concepts such as File I/O, classes, consuming external APIs, web scraping, and implementing Pythonic code. All these projects were inspired by the course Python Jumpstart by Building 10 Apps.

Repository Structure

  • hello-world:

    • Folder covering basic Python concepts, such as variables, data types, functions and get data entered by user.
  • birthday-app

    • Use of docstring and use of date management using the date library.
  • guess-that-number

    • Use of control structure and use of native python libraries such as random.
  • daily-journal

    • Import functions from other files.
    • Using File I/O correctly (automatic closing).
  • weather-app

    • Use of external libraries such as requests and beautifulsoup4.
    • Use of the namedtuple function.
  • LOL Cat

    • Download content from an external API.
    • Interact with the operating system file handler from Python.

Topics Learned

  1. Enumerate:

    • It is a built-in function that allows you to iterate over a sequence (such as a list, tuple, or string) and obtain both the element and its index on each iteration. This eliminates the need to maintain a separate accountant.
  2. Import features from other files correctly:

  • Use the word import file_name and access the functions of that file using the dot notation. This facilitates understanding and explicitness when reading and understanding code.
  1. namedtuple:
  • Namedtuples facilitate access to the values of a tuple which makes the code more readable, since we access the values by their tag instead of being able to access the values by their location within the data structure.
  1. python __file__ :
  • The file variable contains the absolut path to the file that is being executed. This is useful when you want to access files that are in the same directory as the file that is being executed.
  1. subprocess library:
  • The subprocess library allows you to run commands on the operating system. This is useful when you want to run a command that is not native to Python, such as opening a file in the default text editor.
  • The python subprocess.run() function allows you to run a command and wait for it to finish before continuing with the execution of the program.

Requirements

  • Python 3.9
  • Additional dependencies are detailed in the requirements.txt files in each specific folder.

Usage Instructions

  1. Clone this repository: git clone https://github.com/your-username/your-repository.git
  2. Navigate to the project folder you are interested in.
  3. Follow the specific instructions for each project within their respective folders.

Contributions

Feel free to contribute to this repository through pull requests. If you find errors, have suggestions, or new ideas, we are open to collaborations!

Acknowledgments

These projects were inspired by the Python Jumpstart by Building 10 Apps course.

10-python-apps's People

Contributors

mrgoonies avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.