Coder Social home page Coder Social logo

python_course's Introduction

Python_course

Course made in collaboration between David Redondo and Mariano Álvarez. The main objective was made a little introduction to some advanced points on python programming such as OOP, how to work with some data formats, web services, github...

Index

  • OOP
  • JSON
  • CSV
  • API
  • HTTP
  • GITHUB

Relevant links and helpful resources:

OOP (Classes)

https://realpython.com/python3-object-oriented-programming/

https://www.geeksforgeeks.org/python-oops-concepts/

JSON

https://realpython.com/python-json/

CSV

https://docs.python.org/3/library/csv.html

https://www.geeksforgeeks.org/working-csv-files-python/

API

image

HTTP

image

https://www.digitalocean.com/community/tutorials/how-to-get-started-with-the-requests-library-in-python-es#usar-la-api-de-traduccion

https://www.tutorialspoint.com/python_network_programming/python_http_authentication.htm#

https://j2logo.com/python/python-requests-peticiones-http/#requests-json

GITHUB

image

https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners

List of useful commands

GIT

  • git init // Generate a git empty local repository in the path where you are
  • git status // Show the status files within the path
  • git add // Add only the file called to the staging area
  • git add . // Add all the files to the staging area
  • git commit -m “ Write the commit purpose inside these quotation marks ” // This command records or snapshots the file permanently in the version history
  • git diff // Show all the differences between working directory files and localrepo files
  • git git diff –staged // Shows the differences between the files in the staging area and the latest version present
  • git reset // This command unstages the file, but it preserves the file contents
  • git reset // Undoes ALL the commits after the spacified commit and preserves the changes locally
  • git reset –hard // It does a hard reset which discard all history and goes back yo the specified commit
  • git checkout -b // It creates a new branch and It switchs to the new branch
  • git checkout // It switchs to the branch specified
  • git log --graph --all --oneline // This command is used to list the version history for the current branch summarized
  • git branch -a // It lists all the local branches
  • git branch -d // Delete the current branch
  • git merge // It merges the specified branch's histary inte the currente branch

GITHUB

  • git clone // It clones the url repository within the current path. This command it's pretty essential to establish a solid connection between both

  • git remote add // It connects your local repository to your remote repository.

  • git push origin // It pushs the files commited to the branch specified

  • git push --all // It pushs all the cahnages to the remote repository

  • git pull origin // It brings all the changes and new files uploaded to the specified branch

  • In case that you are having troubles to push or fetch your documents, include de command --rebase. This will update the branch with lastest changes. The command will have a sintax similar to this-> git push --rebase remote branch

image

  • If it doesn't work, try with the command -f to force it. The command will have a sintax similar to this-> git push -f

Helpful links of youtube videos

https://www.youtube.com/watch?v=5g37NElQnCQ&list=WL&index=4

https://www.youtube.com/watch?v=9AflLDdSjkg

https://git-scm.com/book/id/v2/Git-Branching-Remote-Branches

python_course's People

Contributors

drq13112 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.