About 15,500,000 results
Open links in new tab
  1. python - How to convert list to string - Stack Overflow

    Apr 11, 2011 · How can I convert a list to a string using Python?

  2. slice - How slicing in Python works - Stack Overflow

    The first way works for a list or a string; the second way only works for a list, because slice assignment isn't allowed for strings. Other than that I think the only difference is speed: it looks …

  3. How do I make a flat list out of a list of lists? - Stack Overflow

    Dec 3, 2016 · If your list of lists comes from a nested list comprehension, the problem can be solved more simply/directly by fixing the comprehension; please see How can I get a flat result …

  4. python - Removing duplicates in lists - Stack Overflow

    Nov 1, 2011 · How can I check if a list has any duplicates and return a new list without duplicates?

  5. Command to list all files in a folder as well as sub-folders in windows

    Mar 11, 2015 · I tried searching for a command that could list all the file in a directory as well as subfolders using a command prompt command. I have read the help for "dir" command but …

  6. Array versus List<T>: When to use which? - Stack Overflow

    Jan 12, 2009 · A List uses an internal array to handle its data, and automatically resizes the array when adding more elements to the List than its current capacity, which makes it more easy to …

  7. join list of lists in python - Stack Overflow

    Apr 4, 2009 · Is the a short syntax for joining a list of lists into a single list ( or iterator) in python? For example I have a list as follows and I want to iterate over a,b and c.

  8. python - What does list [x::y] do? - Stack Overflow

    Jan 27, 2012 · It slices x[startAt:endBefore:skip] if you use skip = 2, every other element the list beginning at startAt and ending at endBefore will be selected. [Remember: indices live …

  9. Quick way to list all files in Amazon S3 bucket?

    Jul 26, 2010 · I have an amazon s3 bucket that has tens of thousands of filenames in it. What's the easiest way to get a text file that lists all the filenames in the bucket?

  10. Quick way to create a list of values in C#? - Stack Overflow

    Using array instead of Generic List typically has positive impact on the performance and should be recommended wherever performance matters; aforementioned expression for the array …