Python Forum
Using a variable to replace an integer? (Except it isn't working!)
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using a variable to replace an integer? (Except it isn't working!)
#3
I appreciate the response! But unless I'm misunderstanding what you're saying, I don't think that's the problem. Like I said in that note at the top of the code, there is a complete url in the actual script (I couldn't put it in because this is my first post and the site restricts me) and the parts of the script that rely on it (step 1 and to a lesser degree step 2) function perfectly. The part of the script that I think is the problem area is step 3, I'm just not sure why. That said, I'm pulling it up on my linux machine right now and trying it, so I'll be sure to keep you posted!

UPDATE: Yeah I think I was right, there was definitely some miscommunication somewhere down the line 'cause that didn't work either, haha!
Reply


Messages In This Thread
RE: Using a variable to replace an integer? (Except it isn't working!) - by s1monsays - Jul-25-2017, 04:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  working directory if using windows path-variable chitarup 2 842 Nov-28-2023, 11:36 PM
Last Post: chitarup
  Working with Excel and Word, Several Questions Regarding Find and Replace Brandon_Pickert 4 1,734 Feb-11-2023, 03:59 PM
Last Post: Brandon_Pickert
  Factorial Code is not working when the given number is very long integer Raj_Kumar 2 2,397 Mar-31-2020, 06:40 PM
Last Post: deanhystad
  Why replace treats an integer value 999 as 999.0? new_to_python 10 4,553 Feb-16-2020, 01:49 PM
Last Post: new_to_python
  Mixed string,Integer input variable issue maderdash 2 2,836 Nov-06-2018, 09:46 AM
Last Post: snippsat
  replace html string with python variable ! evilcode1 4 6,333 Aug-30-2018, 03:14 PM
Last Post: snippsat
  Search & Replace - Newlines Added After Replace dj99 3 3,486 Jul-22-2018, 01:42 PM
Last Post: buran
  string with integer variable within Andy1845c 9 5,180 Mar-12-2018, 10:28 PM
Last Post: Larz60+
  int(variable) not changing variable to an integer StoopidChicken 2 3,030 Jan-11-2018, 10:30 AM
Last Post: StoopidChicken

Forum Jump:

User Panel Messages

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