[Tutor] Can one use python to concatenate n media files?

2015-10-11 Thread Fast Primes
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

Re: [Tutor] Custom Function that Takes argument

2015-10-11 Thread Alan Gauld
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

Re: [Tutor] how to unittest cli input

2015-10-11 Thread Cameron Simpson
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

Re: [Tutor] Custom Function that Takes argument

2015-10-11 Thread Nym City via Tutor
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

Re: [Tutor] how to unittest cli input

2015-10-11 Thread Peter Otten
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

Re: [Tutor] how to unittest cli input

2015-10-11 Thread Alex Kleider
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

Re: [Tutor] python certifications

2015-10-11 Thread TJ Nelson
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

[Tutor] python certifications

2015-10-11 Thread Anshu Kumar
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