Developing an app in visual studio code using python - python

I’m kinda new to programming and the only programming language I'm kinda familiar with at the moment is python. I heard visual studio code can develop an app for both ios and android devices. However, can the visual studio code accept any programming language? Like, let's say I created a code using python, can the visual studio code develop it right away?

VS Code has an official Python module that works very well so no problems on that front. 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. 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. 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
!

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. It
is not tide to any language. Developing for IOS or Android depends on
language, but not on the editor that you're using. 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:
What is an application/program?
What is Python application (since you showed your interest in language)?
How basic apps run?
What is IDE and why do you need it?
Your question got many "downvotes" because you don't quite know what you're asking.
Hope this will help!

Related

Which is Easier to create an .exe file ,Vb or python with tkinter?

I'm making an small audio editor interface, it needs to have a dialog box with 3-4 button options along with activate option, when the user clicks on activate,another dialog box will be popped asking him for his Mac address and a code, i heard Visual basic is good for making .exe but does it give me full control over the application?
You have to think about where your strengths lie. If you are a strong Python coder then go in that direction. if you are a strong VB coder then go in that direction. I would argue that neither of the options you are thinking of using would be ideal.
I would actually recommend C# within Visual Studio 2015 community. Python isn't natively compiled to an EXE and there are more hoops to jump though to get a compiled executable.
Recently I used C# and Visual Studio 2015 community to create myself a similar small GUI interface for the work I was doing. I have previously used Python with QT. The extra hoops I had to work through to get an EXE from python definatly made the choice of python at the time a downside.
C# has a large amount of libraries available for it using the NUGET libraries in Visual Studio. VB is quite dated (but still quite usable) compare to C#.
Python also has a large number of currently supported opensource libaries.
As you don't have any experience on C# (As mentioned in a comment) then you should go with VB.Net. I guess it has all the features you described you needed. But I would recommend you to learn C# as soon as possible if you want to become a good Coder because C# language is similar to many other famous/ popular and strong Coding Languages so it will be easier to learn other languages too when you would need them.
I too don't have much knowledge about C# and am trying to learn it. Believe me it's much more convenient than VB.Net as per my few experience.

Which IronPython editor I can use to develop scripts for Tibco Spotfire controls

Can we use any IRONPython editor to develop scripts for Tibco Spotfire controls.
Can we use IDLE editor to develop IRONPython scripts for Tibco Spotfire? If yes then how to integrate the tibco module with IDLE editor, Can anyone help on this??
You should be able to use any development tool (ide) which supports ironpython. One of the best in my point of view is PTVS (Python Tools for Visual Studio), just search for it. But when you want some thing very lightweight with only some syntax hilighting, i prefer using Visual Studio Code or Atom. But PTVS has a lot of nice features. One of the most important ones are those for debugging, because they prevent you from using some console printing or some thing similar as debugging tool. Just take a look at it.
EDIT
As far as i can see, it should work just fines with PTVS. Taking a look at this, is't just some API as any other api: API-Doc
Spotfre has its own IDE for developing scripts but it is very poor one when analysing its functionalities. I dont think you can use any IDE to debug the scripts but you can at least use the one suggested by BendEg to make creation of the code more 'pleasant'.
Spotfire uses IronPython, which is a .NET implementation of python. In other words, is .NET driven by python. To test simple python functions, you can use CodeSkulptor, a cloud based python interpreter. For IronPython, you can use this java based online version but again, this is to test simple scripts

Using netbeans as IDE for Python

I am about to embark on learning Python (largely for the purposes of using it as scripting glue between my applications).
I use Netbeans (6.8) on Linux for both my C++ and PHP development work. Ideally, I would like to use the same IDE for Python - and there is a Python plugin for Netbeans (admittedly, its still in Beta).
Does anyone have any experience using Python with Netbeans?
Shall I use Netbeans (for the reasons stated above - i.e. already familiar environment), or is there a [GOOD] reason why I should use a different IDE?
Although I've not been using it for long, I was in the same situation as yourself and just decided to bite the bullet. I haven't had any issues with it so far and found he most important thing to be that you are using an environment that you are both familiar and comfortable with. Any quirks you find along the way are probably more than made up for by the shallow learning curve given by not having to get used to an entirely new IDE.
That said however, if you are only just picking the language up I can't recommend the "official" command interface, IDLE, enough as it just let's you get into the guts of the language giving instant feedback etc.
Additionally, the following SO question has a comprehensive list of Python IDE's if you find that the Python plugin for Netbeans just doesn't work for you.

Getting started w/ Python on the desktop

I'm interested in getting started w/ developing Python based applications for a desktop environment and have a few (seemingly simple) questions:
What is the best method for developing GUI applications? I've seen several frameworks but the indexes I've found are a bit convoluted and mix (what seem to be) legacy packages. In your opinion, what is the best approach in this regard?
I've been reading a few books I recently picked up, but have been having trouble finding (rather, recognizing) a decent 'getting started' tutorial that focuses on Python apps for the desktop. Do you have any recommendations?
Thanks very much in advance! :)
wxPython is the best GUI framework.
The official docs are the best resource. They helped me quite a bit.
Have you considered Iron Python as an option? It's basically the Python language on top of the .NET Framework. Having been fortunate enough to work with the .NET Framework in the past on desktop-applications, I can attest to its depth of excellent.
wxPython is a phenomenal GUI toolkit for developing native applications. I highly recommend it. Also, if you combine it with py2exe you can create .exe files for running on Windows.
easyGUI and Tkinter are VERY easy libraries that can be used with Python to make GUIs. Further, as stealthdragon has suggested, you can use py2exe to compile your GUIs into EXEs for your PC. There are also other compilers such as pyc.
As Jonathan Sampson suggests, you might consider using IronPython and use it to wield the full power of the .NET framework. The IronPython Cookbook, which among other things shows you how to make a basic Twitter Client.

Python learning environment

I'm looking to get up to speed on Python:
Is it worth working locally via the ActivePython interface, then progressing to a website that supports one of the standard frameworks (Django or Pylons) OR utilize the Google Apps environment?
I want to stay as interactive as possible - making feedback/learning easier.
Go with the Python interpreter. Take one of the tutorials that many people on SO recommend and you're on your way. Once you're comfortable with the language, have a look at a framework like Django, but not sooner.
Not sure what you mean.
For development
First choice: idle -- you already have it.
Second choice: Komodo Edit -- very easy to use, but not as directly interactive as idle.
For deploying applications, that depends on your application. If you're building desktop applications or web applications, you still use similar tools. I prefer using Komodo Edit for big things (either desktop or web) because it's a nice IDE.
What are you asking about? Development tools or final deployment of a finished product?
I learned using the docs and IDLE (with shell). Go to Django well after you fully understand Python.
I would just start locally. Django and Pylons add another layer of complexity to the edit/feedback loop.
Unless your primary focus is to make python websites, just stick with an editor and the console.
ipython and your favorite text editor. spend an hour with these screencasts and you'll be comfy with it in no time.
http://showmedo.com/videotutorials/series?name=CnluURUTV
PyCharm from JetBrains has a nice all in one IDE and it welcomes you with a very good tutorial regarding the usage of the IDE (code completion, IntelliSense etc) based on simple Python examples when you installed it and run it for the first time.
It is interactive, because it explains each step for each topic and lets you try it. Then it checks if you have done it right and gives hints if not.
There is a Community Edition (free) available for download or you can buy the Professional version or have it via subscription.
Visual Studio from Microsoft has also Python integration.
You can choose between a Community Edition (free), or you buy Professional or Enterprise. You can also have an MSDN subscription, then you can always download the latest versions with no extra costs.
There are some template projects available (web projects, Django etc), but starting with it is not so easy as it is with PyCharm, since in Visual Studio there is no interactive tutorial for first use available.
The standard IDE coming with Python is of course IDLE, its latest version can be downloaded here.
However, if you just need an editor supporting Python Syntax, then look for NotePad++ or Visual Studio Code. All of them are free. For quick experiments with Python, there is also pythonfiddle.com or pythontutor.com available.
With pythontutor you can even visualize the execution graphically.
All of these apps / tools mentioned are free.
Then for the Python language and Django you can visit the following websites to start:
in English:
www.python.org/about/gettingstarted - for beginners
www.learnpython.org - beginners & advanced
www.w3schools.com/python - beginners & advanced
docs.djangoproject.com - Django tutorials & documentation
Writing your first Django App - Django step by step
RealPython.com - Various useful topics
Writing a wrapper for C# - call C# methods from Python
in German (use "translate to english" in your browser's context menu):
www.python-lernen.de - beginners & advanced
I am sure there is a lot more out there, but the learning sites mentioned above are free.

Categories

Resources