How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Your Solution Your Own Question
Your Solution
Your Solution, Computer Software Engineer
Category: Programming
Satisfied Customers: 1864
Experience:  Project Manager at an enterprise solutions integrator
106596173
Type Your Programming Question Here...
Your Solution is online now
A new question is answered every 9 seconds

I have issues with python IDE and Visual studio. I python

This answer was rated:

I have issues with python IDE and Visual studio
JA: What's your objective for this Python project?
Customer: I python codes for data analysis but now switched to use visual studio editor. My scripts do not display output with visual studio. I would love to get around the isuue so my scripts can display output.
JA: Anything else you want the Programmer to know before I connect you?
Customer: no

Hi, I'm Your Solution. I started using Python 2.4 in 2003. Today I regularly use Python 2.7 and 3.8
I am happy to help you with your issue today.

My goal is to give you the best experience possible without any additional cost.

Please allow me to start by telling you what I understand that you said:

--------------
You wrote Python code using the standard Python.org version, or iPython. Now you moved to using the visual studio editor. Your Python scripts do not display output in visual studio
You want our advice and guidance so you can get around the issue so your scripts can display output
Please confirm: Did I understand all your issues correctly?
A yes or no response is very important, so it will be highly appreciated.
--------------
By the way:
- Besides posting my comments here, you will also receive them in your mobile phone as SMS messages
- Also in your email address as email messages, with a link to the chatbox
- Please feel free to reply to any of them. I will get your messages
- Except that, if you want to post any files, please do it in the chat thread on the browser, as SMS pictures won't come up

 

With the information I have, please allow me to give you a general answer. If you need additional information, please let me know, OK?
.
1. The precise answer to your question depends on what statement, feature or package did you use in iPython to display your output

.

2. If you use Print(), that one works in all environments, and the same way in all of them

.

3. This is the Microsoft official tutorial page for Python in Visual Studio, step 2, writing and running code. Please note the use of the print statement
- Please read the whole page once for a better understanding, then go back to the top, and follow the instructions
https://docs.microsoft.com/en-us/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-02-writing-code?view=vs-2019

.

4. If you used a different approach to display your output in iPython, please share the details with me, so I can tell you how to solve the lack of display

.

5. If you want to share Python code with me, please don't paste it directly on the chat. It will eliminate the indentations

.

6. Also, please don't share iPython internal files, as I don't have iPython in place myself. If you can paste your Python code on a text file with the file extension .txt, please post it to this chat thread

.

7. To do that, please use the blue icon on the right end of the text box.
.
Please ignore any premium service offers and similar messages - those are automatic.
I cannot see them, cannot control them, you do not need them. Please ignore them.
The secure remote assistance session DOES NOT WORK on mobile phones, tablets, chromebooks, e-readers, dead or off-line computers, locked-out devices, streaming devices, intelligent assistant devices, magic jacks, landline phones, printers, smart TVs, remote controllers, modems, routers, game consoles, headphones or wristwatches. Live online Computers only
You can stop the offers by ending this chat
To do that, please scroll this chat window up to the top right corner. Then please rate me in stars and click the Submit button
That will close out the question and prevent you from further automated notifications, and any additional charges related to this question

 

This is my first version of an answer to your question. If you have follow-up questions, please feel free to continue the discussion.
- I am not closing this conversation. In fact, it stays open for 30 days after we both stop typing, unless you close it. I just want to give you all the information you may need
- Or, If you want to end this chat:
--- Please visit this chat thread in the web browser or the phone app, not on SMS or email
--- Please Scroll up this chat window to the top right corner
--- Please rate me in stars and click the Submit button
- That will close out the question and prevent you from further automated messages, and any additional charges related to this question
.
- If you want to come back and continue this chat, please click on the link in any of the email messages, or go to this web page and select the question:
https://my-secure.justanswer.com/dashboard
-----
Thank you for the opportunity to assist you.
- It has been my absolute pleasure to assist you today. Please let me know if you need any further information
- I am Your Solution. I am committed to helping you succeed. I'm always happy to help
- I am here from noon to 8 PM US Central Time, every day, except for meal breaks
I wish you the best
------
If you are satisfied with my response, may I please suggest that the next time you have a question for us, you address it directly to me?
- I would be more than happy to give you then the same high service level as I provided you today.
.
You can reach me in any of three different ways:
1. Please rate me now. You will get an option to add me to your favorites, then you can create your question from your favorites list
--- To rate me, please scroll up this chat window to the top right corner, then please rate me in stars and click the Submit button
2. Please go directly to my profile and ask the question there. This is the link:
https://www.justanswer.com/computer/expert-yoursolution/?rpt=3800
3. Please start a new question saying: "For Your Solution Only:" and end it with the same text: "For Your Solution Only"
--- The chatbot will pick my name and assign the question to me first
If I don't answer within one hour, your question will go to the pool and somebody else will answer it for you
-----------------------------
.
.

 

1. The precise answer to your question depends on what statement, feature or package did you use in iPython to display your output

2. If you use Print(), that one works in all environments, and the same way in all of them

3. This is the Microsoft official tutorial page for Python in Visual Studio, step 2, writing and running code. Please note the use of the print statement
- Please read the whole page once for a better understanding, then go back to the top, and follow the instructions
https://docs.microsoft.com/en-us/visualstudio/python/tutorial-working-with-python-in-visual-studio-step-02-writing-code?view=vs-2019

4. If you used a different approach to display your output in iPython, please share the details with me, so I can tell you how to solve the lack of display

5. If you want to share Python code with me, please don't paste it directly on the chat. It will eliminate the indentations

6. Also, please don't share iPython internal files, as I don't have iPython in place myself. If you can paste your Python code on a text file with the file extension .txt, please post it to this chat thread

7. To do that, please use the blue icon on the right end of the text box.

Your Solution and 9 other Programming Specialists are ready to help you
Customer: replied 3 days ago.
yes, you are right. Sorry, I was already in bed. I get this error message. ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it. However, I have installed the runner extension and it now works for VisualStudio but not for IDLE.
Customer: replied 3 days ago.
No, I think I will continue with visual studio for now or go back to jupyter notebook. Maybe some other I can remote connect. Thank you