Sayth Renshaw wrote:
> On Wednesday, 4 May 2016 17:57:32 UTC+10, Sayth Renshaw wrote:
>> Oops sorry noticed you did in the glob. Sorry squinting at phone.
>>
>> Sayth
>
> Hi
>
> this seems to be causing me an error in my thinking as well as the
> program. I am creating a function GetArgs to ta
On Wednesday, 4 May 2016 17:57:32 UTC+10, Sayth Renshaw wrote:
> Oops sorry noticed you did in the glob. Sorry squinting at phone.
>
> Sayth
Hi
this seems to be causing me an error in my thinking as well as the program. I
am creating a function GetArgs to take a path and file extension from t
Oops sorry noticed you did in the glob. Sorry squinting at phone.
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
Thank you Peter.
I was starting to flail and thought my use of glob.glob was wrong.
As an aside should I be using os.path to negate system inconsistency?
Thanks
Sayth
--
https://mail.python.org/mailman/listinfo/python-list
On 5/3/2016 4:55 PM, Sayth Renshaw wrote:
Is there something obvious to this I am doing wrong?
Sayth
Somethin happened so that I don't see what you did. Fortunately, it did
show up for Peter, between the '?' and name, so he could answer.
--
Terry Jan Reedy
--
https://mail.python.org/mailm
Sayth Renshaw wrote:
> Is there something obvious to this I am doing wrong?
> parser.add_argument("path", nargs="+")
The "+" implicitly turns args.path into a list
> files |= set(glob.glob(args.path + '/*' + args.extension))
so the glob() argument is evaluated as
list + str + str
T