1d
awarded Enlightened
1d
awarded Nice Answer
Aug
8
answered Invalid syntax error when defining a function (Python)
May
19
comment Python: continue after error library
@user40037 impossible to know what the problem is unless you show the offending piece of code.
May
18
comment Python search for file ending
Maybe add that str.endswith accepts a tuple of items to match so as per the example the OP has given: i.endswith((".avi", ".mp4"))
May
18
revised Python: continue after error library
added 470 characters in body
May
18
answered Python: continue after error library
Apr
16
awarded Notable Question
Mar
24
awarded Yearling
Mar
24
awarded Yearling
Mar
11
comment python subprocess and passing in shell arguments
@user2690151 feel free to accept the answer that provided the solution.
Mar
10
answered python subprocess and passing in shell arguments
Feb
21
awarded python
Feb
20
comment How to add a new functionality to a command line arparse menu?
Yes, generally you will want your code to be modular. This means splitting functionality in functions, classes and eventually modules and packages.
Feb
20
answered How to add a new functionality to a command line arparse menu?
Feb
20
comment How to add a new functionality to a command line arparse menu?
Did you read the argparse documentation? Adding an argument is very simple.
Feb
11
awarded Supporter
Feb
11
accepted Problems with Dell Wireless 5570 HSPA+ Mobile Broadband card
Feb
10
comment Problems with Dell Wireless 5570 HSPA+ Mobile Broadband card
Thanks, I will definitely try this!
Feb
3
comment Python how to use Counter on objects according to attributes
Show us what you've tried with counter and we'll be able to help.
1 2 3 4 5