Skip to content
Advertisement

Tag: python-3.x

Python password generation

I need to generate random passwords for my company’s 200k+ customers. The password complexity requirement is a common one: length > 8 contains at least one upper case character contains at least one lower case character contains at least one number contains at least one symbols (e.g. @#$%) Here is the python 3.8 code I used to generate a random

Trying to find unique subarrays and sub-elements?

I have an array will subarrays containing [page_name, url, and id] in dirty_pages. This array contain duplicate subarrays. I need to parse each subarray in dirty_pages into clean_pages such that: there are no duplicates (repeating subarray) the 1st index in the subarray i.e. the url must be unique! For example This url should be counted as one (url/#review is still

Parse screeninfo into useable csv

I am tryin to parse a string from screeninfo to be useable in a csv file. here is my code here is the output: This results in a one cell csv because it imports the whole string. I am trying to parse it so that I can call x, y , width, height and display as individual cells. so it

Extract column from tabular data

My task is to pull a column out of table and write down its length len (). But my code is emitting it into a column, which is why len () counts each element of the column separately, and not their total water.txt: Desired intermediary output: Answer You are not correctly extracting the colum. The correct way is with a

Advertisement