If so, could someone present an example?
Thanks.
Sent from Mail for Windows 10
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On 11/10/15 22:22, Nym City wrote:
import urllib2
import json
locu_api = 'redacted'
ans=True
while ans:
print ("""
1.Search by City
2.Search by State
3.Search by Zip
4.Exit/Quit
""")
ans=raw_input("What would you like to do? ")
if ans=="1":
print("\n Enter
On 11Oct2015 09:29, Alex Kleider wrote:
On 2015-10-10 18:10, Cameron Simpson wrote:
However, you'r eusing input(), which unconditionally uses stdin and
stdout. In that circumstance I'd consider this:
[... temporarily replace stdin and stdout with test data ...]
Yes indeed, and thank you f
Thank you for your feedback. I modified the code to reflect your suggestion and
it worked. Now, I want to take it to the next level when I prompt the user to
make a selection from a list of options and based on their input certain part
of the code would execute. Here is the revised code:(site: h
Alex Kleider wrote:
> It'll take more studying on my part before I'll be able to implement
> Ben's suggestion.
I find Ben's example instructive, but when you're just starting you might
prefer a simpler approach:
import unittest
from unittest import mock
import collect
class TestCollectData(u
On 2015-10-10 18:10, Cameron Simpson wrote:
On 10Oct2015 17:41, Alex Kleider wrote:
I'm tOn 2015-10-10 18:10, Cameron Simpson wrote:
On 10Oct2015 17:41, Alex Kleider wrote:
I'm trying to follow a test driven development paradigm (using
unittest) but can't figu
There is no formal python certification other then courses with
certification of completion such as uw.edu or coursera. If you are into
infosec there is also
http://www.securitytube-training.com/online-courses/securitytube-python-scripting-expert/index.html.
But i think your best bet is your github
Hi All,
I have been using python for a year now and want to certify my skill.
May I know what are the certifications for python?
Thanks and Regards,
Anshu
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://ma