Python Forum
Adding “import sys” to Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding “import sys” to Python
#3
im somewhat confused on what your intentions are. Can you elaborate more on what you are trying to accomplish? Adn what does this mean?
Quote:Because of import sys, the program substitutes its values instead of {0}.
sys.argv[1] is the first argument after running. Unless it is separated by spaces?
Recommended Tutorials:
Reply


Messages In This Thread
Adding “import sys” to Python - by Yevgen1991 - Oct-16-2020, 07:23 PM
RE: Adding “import sys” to Python - by Larz60+ - Oct-16-2020, 08:58 PM
RE: Adding “import sys” to Python - by metulburr - Oct-16-2020, 09:08 PM
RE: Adding “import sys” to Python - by snippsat - Oct-17-2020, 09:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding markers to Folium map only adding last element. tantony 0 2,175 Oct-16-2019, 03:28 PM
Last Post: tantony
  wordpress-python-xmlrpc. I can import 1 file. How do I import the entire folder? SamLearnsPython 0 3,295 Jul-05-2018, 06:21 AM
Last Post: SamLearnsPython

Forum Jump:

User Panel Messages

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