简体   繁体   English

使用 python 在 visual studio code 中开发应用程序

[英]Developing an app in visual studio code using python

I'm kinda new to programming and the only programming language I'm kinda familiar with at the moment is python.我对编程有点陌生,目前我唯一熟悉的编程语言是 python。 I heard visual studio code can develop an app for both ios and android devices.我听说 visual studio code 可以为 ios 和 android 设备开发一个应用程序。 However, can the visual studio code accept any programming language?但是,visual studio code 可以接受任何编程语言吗? Like, let's say I created a code using python, can the visual studio code develop it right away?比如,假设我使用 python 创建了一个代码,visual studio code 可以立即开发它吗?

VS Code has an official Python module that works very well so no problems on that front. VS Code 有一个运行良好的官方 Python 模块,因此在这方面没有问题。 However, developing for either iOS or Android comes with some additional concerns: in both cases, Python is not "native" on those platforms, so you have to include Python with your app, and there are no "official" Pythons for either platform.然而,为 iOS 或 Android 开发会带来一些额外的问题:在这两种情况下,Python 在这些平台上都不是“原生”的,因此您必须将 Python 包含在您的应用程序中,而且这两个平台都没有“官方”Python。 You can do it (read up, for example, on a platform/framework called Kivy), but quite frankly if those two specifially are your target you might be better off picking a different language.您可以这样做(例如,在名为 Kivy 的平台/框架上阅读),但坦率地说,如果这两个特别是您的目标,您最好选择不同的语言。 It's not really an ideal starter project.这并不是一个理想的入门项目。 However you can have a lot of fun just developing your Python skills and run it on platforms where it's better supported - like the one where you plan to run VS Code !但是,只要培养您的 Python 技能并在更好地支持它的平台上运行它,您就会有很多乐趣——比如您计划运行 VS Code 的平台!

I explained majority of what I thought in comment, but I'll just duplicate and add some key concepts you need to study.我在评论中解释了我的大部分想法,但我只会复制并添加一些您需要研究的关键概念。

Visual studio code is a software app that allows you to edit text. Visual Studio Code 是一款允许您编辑文本的软件应用程序。 It is not tide to any language.它不是任何语言的潮流。 Developing for IOS or Android depends on language, but not on the editor that you're using.为 IOS 或 Android 开发取决于语言,但不取决于您使用的编辑器。 From your question it seems like you don't understand primary concepts of app development or programming, so you better study this first.从你的问题来看,你似乎不了解应用程序开发或编程的主要概念,所以你最好先研究一下。

Things you should study:你应该学习的东西:

  1. What is an application/program?什么是应用程序/程序?
  2. What is Python application (since you showed your interest in language)?什么是 Python 应用程序(因为你表现出对语言的兴趣)?
  3. How basic apps run?基本应用程序如何运行?
  4. What is IDE and why do you need it?什么是 IDE,为什么需要它?

Your question got many "downvotes" because you don't quite know what you're asking.你的问题得到了很多“否决票”,因为你不太清楚你在问什么。
Hope this will help!希望这会有所帮助!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM