microsoft / c9-python-getting-started Goto Github PK
View Code? Open in Web Editor NEWSample code for Channel 9 Python for Beginners course
License: MIT License
Sample code for Channel 9 Python for Beginners course
License: MIT License
In README.md
of chapter 15 (packages) the link to virtual environments points to https://docs.python.org/3.7/library/exceptions.html instead.
https://github.com/microsoft/c9-python-getting-started/blame/master/15%20-%20Packages/README.md#L27
Hi there I'm trying to learn and get into this whole programming thing and I don't even know where to start
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'.
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.
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']
On github, the folder labels currently sort like:
Add zeros to sort like:
In folder [Slides]
You not have a topic:
18 - Decorators
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.
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.
The videos are awesome. Thank you so much.
Could you please add videos for OOPs concepts in Python as well.
Thank you.
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.
python always store the value of next line....
so Anyone suggest me ...
????
Would you mind if I translate it into korean?
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."}}
There's no link to the actual videos in README.md, was this a deliberate choice? It makes it hard for people who follow links to this repo to find the actual videos.
https://www.youtube.com/playlist?list=PLlrxD0HtieHhS8VzuMCfQD4uJ9yne1mE6
I test the code several times in VS and pycharm, both showed exception error. Who can fix it, thanks.
Tuples are immutable collections used to store heterogeneous data. This is one of the basic concepts described in detail in the Python documentation.
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?
There is no leading zero in the files located in python-for-beginners/Slides now.
Add leading zeros to sort like:
This is a follow up to #22
This will add new requirements.txt file that will contain all the modules that are required for the execution of the Python scripts, I will also add documentation on how to use the requirements text file.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.