Questions tagged [numbered]

20 questions
0
votes
1 answer

In Python: I need to take a text file with a poem and create a copy but with numbered lines 1., 2., ect

I only just started I am just not sure how to place the numbers in front of each line with it being in a txt file. This is what I have so far. def numbered(infile, outfile): for line in infile: line = #I am not sure where to go from…
ChelluhC
  • 37
  • 6
0
votes
1 answer

Windows CMD - use numbered variables

If this has been asked here before, I'm not finding it. I think I know a way around my actual problem, but it'd get a bit unwieldy; so this is more of a puzzle, I guess. I want to set 12 variables: set 01=01 - January set 02=02 - February set 03=03…
0
votes
2 answers

Calling numbered method or method named by a string

I have 100 method like public void function1() {} public void function2() {} .... public void function100() {} The question is how can i call these function without calling them one by one? or how can i call a function from a…
Tranoze
  • 27
  • 1
  • 5
0
votes
0 answers

Numbered list with text in same cell in excel

I was wondering whether it is possible to make a numbered list with text in the same cell just like in MS Word: Tom Jack Albert My goal is to have automatic numbering only while being able freely to input any text next to it by clicking the…
user1860809
  • 35
  • 1
  • 6
-1
votes
1 answer

IP Address regex vs Numbered List

I am using Trellix DLP solution and have IP Address classification to block outgoing IP Address information. My regex is \b(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})\b However, this also block documents which have 4 level numbered lists, like: …
bahmet
  • 3
  • 1
1
2