[Tutor] Regarding "IDLE Subprocess Didn't Make Connection" Error

2018-11-16 Thread Break fast
Hello Python Tutors,

First off, thank you for existing! I hope I am emailing the right queue in
this situation.

I have installed Python from the python.org website, but have found myself
unable to use IDLE due to an error that is as follows:

"IDLE subprocess didn't make connection. Either IDLE can't start a
subprocess, or personal Firewall software is blocking the connection"

I have been researching this issue nonstop the last two days, and haven't
had any luck in resolving the issue.


I am running Windows 7 (x64), and have installed Python 3.7.1 and 3.6.7
numerous times now.

>I have shut off Avast (the only firewall on this pc).
>Scoured the Python root folder for any .py files, and there are none.
>Restarted PC after each install.
>Installed Python to a different harddrive.
>Ran IDLE as Admin

And I am still encountering the same issue.

If anybody has any insight on how to proceed from here, I would be
extremely grateful for any advice you could offer.

Thank you again, and hope you all have a good day!

--Logan McDonald


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Regarding "IDLE Subprocess Didn't Make Connection" Error

2018-11-16 Thread Avi Gross

BREAK fast ,

You certainly haven't been idle!

Until you get IDLE working ideally, you can still use one of many text editors 
and programming environments and perhaps run python on the files manually. 

Have you verified that the rest of your installation worked?


Sent from AOL Mobile Mail
On Friday, November 16, 2018 Break fast  wrote:
Hello Python Tutors,

First off, thank you for existing! I hope I am emailing the right queue in
this situation.

I have installed Python from the python.org website, but have found myself
unable to use IDLE due to an error that is as follows:

"IDLE subprocess didn't make connection. Either IDLE can't start a
subprocess, or personal Firewall software is blocking the connection"

I have been researching this issue nonstop the last two days, and haven't
had any luck in resolving the issue.


I am running Windows 7 (x64), and have installed Python 3.7.1 and 3.6.7
numerous times now.

>I have shut off Avast (the only firewall on this pc).
>Scoured the Python root folder for any .py files, and there are none.
>Restarted PC after each install.
>Installed Python to a different harddrive.
>Ran IDLE as Admin

And I am still encountering the same issue.

If anybody has any insight on how to proceed from here, I would be
extremely grateful for any advice you could offer.

Thank you again, and hope you all have a good day!

--Logan McDonald


Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] Info on APIs and handling JSON

2018-11-16 Thread Anil Duggirala
hello,

I have been looking for documentation about how to connect to APIs and
using the provided info within python. I have found a few websites
talking about very particular cases. Probably the most enlightening was
the 'requests' library documentation. Can someone please point me to
serious and comprehensive info on how to deal with APIs and then
handling JSON and other provided info in python? Maybe a book?

thanks a lot.
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Info on APIs and handling JSON

2018-11-16 Thread Mats Wichmann
On 11/16/18 12:31 PM, Anil Duggirala wrote:
> hello,
> 
> I have been looking for documentation about how to connect to APIs and
> using the provided info within python. I have found a few websites
> talking about very particular cases. Probably the most enlightening was
> the 'requests' library documentation. Can someone please point me to
> serious and comprehensive info on how to deal with APIs and then
> handling JSON and other provided info in python? Maybe a book?

json handling is simple: the json module is part of the Python standard
library.

https://docs.python.org/3/library/json.html

APIs have no specific answer.  An API is an Application Programming
Interface, each is different and specific to the project in question but
refers to how you communicate with the functionality of that project
from your program. Some popular ones have Python adaptations available,
otherwise you read the documentation and figure out how to code your
own. Sometimes the API is a style that lets you use an existing Python
project, even if it doesn't know anything about the thing you want to
talk to. requests is a good example - is the project you're interested
in provides a RESTful API, using HTTP protocols, then requests can
certainly be used to talk to it, but you still need to discover the
specifics and code them up yourself.  Other APIs provide other interface
styles.




___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor