Announcement

Collapse
No announcement yet.

Anyone here know Python Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Are y'all speaking English?

    Comment


      #17
      I know arcmap 10.1 but when the people at work talk python it goes over my head...

      Comment


        #18
        Was gonna tell you exactly what to do, but looks like its already been outlined nicely for you.

        Comment


          #19
          I like TURTLES

          Comment


            #20
            Originally posted by Conway View Post
            You dont need to know python to do that. Open your feature class to editing, go to the table. Right click on the field name and select "Field Calculator"

            PM me if that does not make any sense.
            PMing you

            Comment


              #21
              Originally posted by Hamshire View Post
              I use arcmap 10.1 but I purposely avoid python. Bump for ya.
              I purposely avoid pythons also !!

              Comment


                #22
                got it PointID= "GE_Grass"&[PNTID]

                Comment


                  #23
                  Thank you sirs. You are all gentlemen and some of you are scholars.

                  Comment


                    #24
                    I didn't know there were that may Arc user on here........

                    I been running it for about 10 years now.

                    Big Daddy - i do know Python somewhat, but I know VB.NET better, so let me know if I can help in anyway.

                    Comment


                      #25
                      I can count to potato

                      Comment


                        #26
                        Glad I gave up on computer science and got into dragging hose and throwing ladders

                        Comment


                          #27
                          Just to make good on my statement above:

                          Code:
                          PNTID_Collection = [1,2,3,4]
                          Grass_Collection = []
                          for PNTID in PNTID_Collection:
                              PointID = "GE_Grass_" + str(PNTID)
                              Grass_Collection.append(PointID)
                              
                          print Grass_Collection
                          which gives you: ['GE_Grass_1', 'GE_Grass_2', 'GE_Grass_3', 'GE_Grass_4']

                          And just because, you can do the same thing in ruby:
                          Code:
                          puts [1,2,3,4].map {|i| "GE_Grass_#{i}"}
                          Last edited by Loneaggie; 05-30-2014, 03:42 PM.

                          Comment


                            #28
                            Originally posted by gumbl3 View Post
                            Glad I gave up on computer science and got into dragging hose and throwing ladders
                            I'm glad I gave up on hot asphalt and throwing ladders and got into software engineering lol

                            Comment


                              #29
                              African or European Swallows?

                              Comment

                              Working...
                              X