Python Forum
How can i limit length string?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can i limit length string?
#1
Hi.
I'm not python developer, but i need change some python script.
I use this script in my zabbix-server for rabbitMQ
https://github.com/jasonmcintosh/rabbitm...tmq/api.py
And names on my rabbitMQ-server queues are long, more then 128 symbols and i can't write them to my database on zabbix-server.
So i need change the script for limit value queue['name'] to 128 symbols.
How can i change the script?
Please, help me
Thank you.
Reply


Messages In This Thread
How can i limit length string? - by perrfect - Feb-10-2020, 12:05 PM
RE: How can i limit length string? - by Jendker - Feb-10-2020, 12:11 PM
RE: How can i limit length string? - by perrfect - Feb-10-2020, 02:34 PM
RE: How can i limit length string? - by Jendker - Feb-10-2020, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  python gives wrong string length and wrong character thienson30 2 3,002 Oct-15-2019, 08:54 PM
Last Post: Gribouillis
  Highlight/Underline a string | ValueError: zero length field name in format searching1 1 3,025 Jul-01-2019, 03:06 AM
Last Post: metulburr
  calculating length of string desul 12 8,681 May-22-2019, 10:50 AM
Last Post: ankit
  Python - Limit Sentence Length to 10 Words - Text file dj99 2 5,194 Jul-21-2018, 02:24 PM
Last Post: dj99
  Python find the minimum length of string to differentiate dictionary items zydjohn 3 3,625 Mar-03-2018, 05:23 PM
Last Post: Gribouillis
  Get string length RedSkeleton007 3 4,601 Dec-04-2017, 03:19 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

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