Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Variable list
Post: RE: Variable list

Can't see where it explains that. I'm just going to give up, I could have just typed it all out in less time than it's taken so far. Just did it in excel in 5 mins instead.
Ivan86 General Coding Help 9 4,717 Aug-19-2018, 07:21 AM
    Thread: Variable list
Post: RE: Variable list

Ok thanks for the responses. I understand where it's going wrong I think but I'm not sure how to fix it to do what I'm after. I've renamed some of the variables now. Getting rid of the example, this...
Ivan86 General Coding Help 9 4,717 Aug-18-2018, 10:37 PM
    Thread: Variable list
Post: RE: Variable list

oops, I mistyped it. It's actually values = "example{}test{}" id = ["%.3d" % i for i in range(1, 100)] result = values.format(id, id) outputfile = "Z:\RESULT.csv" import csv with open(csvfile, "w") a...
Ivan86 General Coding Help 9 4,717 Aug-18-2018, 09:17 PM
    Thread: Variable list
Post: Variable list

Hi! I'm brand new to python FYI. I'm trying to create a text list with a changing variable on each line e.g. Output:example001test001 example002test002 example003test003 ...So far, from searching on...
Ivan86 General Coding Help 9 4,717 Aug-18-2018, 09:02 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020