Git Product home page Git Product logo

c9-python-getting-started's Introduction

Getting started with Python

Overview

These three series on Channel 9 and YouTube are designed to help get you up to speed on Python. If you're a beginning developer looking to add Python to your quiver of languages or trying to get started on data science or web project which uses Python, these videos are here to help show you the foundations necessary to walk through a tutorial or other quick start.

We do assume you are familiar with another programming language, and some core programming concepts. For example, we highlight the syntax for boolean expressions and creating classes, but we don't dig into what a boolean is or object oriented design. We show you how to perform the tasks you're familiar with in other languages in Python.

What you'll learn

  • The basics of Python
  • Common syntax
  • Popular packages

Prerequisites

Courses

Getting started

Python for beginners is the perfect starting location for getting started. No Python experience is required! We'll show you how to set up Visual Studio Code as your code editor, and start creating Python code. You'll see how to manage create, structure and run your code, how to manage packages, and even make REST calls.

Dig a little deeper

More Python for beginners digs deeper into Python syntax. You'll explore how to create classes and mixins in Python, how to work with the file system, and introduce async/await. This is the perfect next step if you're looking to see a bit more of what Python can do.

Peek at data science tools

Even more Python for beginners is a practical exploration of a couple of the most common packages and tools you'll use when working with data and machine learning. While we won't dig into why you choose particular machine learning models (that's another course), you will get hands-on with Jupyter Notebooks, and create and test models using scikit-learn and pandas.

Next steps

As the goal of these courses is to help get you up to speed on Python so you can work through a quick start. The next step after completing the videos is to follow a tutorial! Here are a few of our favorites:

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

c9-python-getting-started's People

Contributors

heroichitesh avatar microsoftopensource avatar msftgits avatar rahulmahesh62 avatar saksham93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

c9-python-getting-started's Issues

Add leading zero to single digit folder names

I attempted to create a pull request since this is such a small change, but I was denied access. This is from a cloned repository.

My attempt to push: git push --set-upstream origin rename-folders
My push error is repeated here:

remote: Permission to microsoft/c9-python-getting-started.git denied to sweenish.
fatal: unable to access 'https://github.com/microsoft/c9-python-getting-started.git/': The requested URL returned error: 403

I am able to clone and push to my own GitHub repositories without issues.

Code doesn't work in more-python-for-beginners/01-Formatting and Linting

I've tried good.py both by python2 and python3, but it didn't work. Also, I've failed to understand why these codes are examples for formatting.... I've searched on google about formatting but it was about formatting strings in operators, braces or f-strings, which are not quite related to these codes.

Using URL in Calling APIs

I tried using
image_path = input('URL: ') and

headers = {'Content-Type': 'application/json', 'Ocp-Apim-Subscription-Key': SUBSCRIPTION_KEY}

My intent was to pass on any url of any image from the internet as an input and to display the description of the image. It wouldn't work. OBVIOUSLY. Is it possible to make it work?

Wrong file name

The file name is 'get_initails_function.py' which has error in 'initails' and has no consistency in 'function'. Change it to 'get_initials_solution.py'.

String formatting code is missing

The code in code_challenge_solution.py and format_strings.py in 4 - String variables in same.
The python code for string formats is missing.
As per the videos the topic was explained and practically executed.

SUBSCRIPTION_KEY in 16 - Calling APIs/call_api.py should be in separate config (like .ini) file

i was looking into 16 - Calling APIs/call_api.py. i think SUBSCRIPTION_KEY in 16 - Calling APIs/call_api.py should be in separate config (like .ini) file:

config.ini:

[KEYS]
SUBSCRIPTION_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxx"

then in call_api.py, we can get the SUBSCRIPTION_KEY from .ini file

import configparser
config = configparser.ConfigParser()
config.read('config.ini')
SUBSCRIPTION_KEY = config['KEYS']['SUBSCRIPTION_KEY']

No module named"requests" on chapter 37

After I copied the code to my VS and added subscription key, I execute the code, however, it showed the mistake.
Traceback (most recent call last):
File "c:/Autumn_Courses_2019/Python/API/API_json.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'

Why it triggered and how to solve it ? Thanks

Pad File numbers with leading zeros

There is no leading zero in the files located in python-for-beginners/Slides now.

  • 10 - file_name
  • 11 - file_name
  • 1 - file _name
  • 2 - file_name

Add leading zeros to sort like:

  • 01 - file_name
  • 02 - file_name
  • 10 - file_name
  • 11 - file_name

Python OOPs concepts

The videos are awesome. Thank you so much.

Could you please add videos for OOPs concepts in Python as well.

Thank you.

error code 401

I have just signed up with azure and created the computer vision service with west europe as end point and used the subscription key provided but i received the folowing error:

{"error": {"code": "401", "message": "Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}

Subscribe key without ****

The subscribe key of susan is listed in 'call api' part without encrypted or replaced by *****. if you leave that on purpose, it's very nice. otherwise, plz deal with it.

Pad Folder numbers with leading zeros

On github, the folder labels currently sort like:

  • 10 - topic blah
  • 11 - topic blahh
  • 1 - topic beginner
  • 2 - topic other
  • ...

Add zeros to sort like:

  • 01 - topic beginner
  • 02 - topic other
  • ...
  • 10 - topic blah
  • 11 - topic blahh

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.