Sorry, you do not have permission to send message.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

  • Ask questions get answers!

    We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge. All that you need is create an account. Join our community. Create your feed, follow your desired categories and users and keep updated.Besides gaining reputation with your questions and answers, you receive badges for being especially helpful. Badges appear on your profile page, questions & answers.Use your eared points to cread freely sticky questions and get answers rapidly.

Share & grow the world's knowledge!

We want to connect the people who have knowledge to the people who need it, to bring together people with different perspectives so they can understand each other better, and to empower everyone to share their knowledge.

What's your question?

Quereact Latest Questions

Hi I have a variables that is declared outsides fucntions. How can I use and change these variables inside function usign Python? thank you

  1. Follow this example to create a variable outside functions, and use it inside the functions: MyVariable = 99 #this is a global variable def changeAndPrint_GlobalVariable(): global MyVariable #use global variable in this function with "global" keyword print('Global variable "MyVariable" before changeRead more

    Follow this example to create a variable outside functions, and use it inside the functions:
    [crayon-6764228872f32156786358/]
    This code will print:
    [crayon-6764228872f37599170713/]
     

    See less
0
0
Like1 User
1 User

Hi, I want to convert a list using python. I have a list of list like this: Read more

  1. Hello this code may help you: def flatten_list(original_List): flat_list = [] for sub_list in original_List: for element in sub_list: flat_list.append(element) return flat_list #test original_List=[['a', 'b', 'c', 'd','e'], ['f', 'g', 'h', 'i'], ['j', 'k', 'l'], ['m', 'n', 'o']] print('original listRead more

    Hello

    this code may help you:
    [crayon-67642288732f9995186295/]

     

    See less
0
0
Like1 User
1 User

Hello I have two date : Read more

  1. Please use this code: $first_date = new DateTime("2022-01-01"); $second_date = new DateTime("2023-02-02"); $difference = $first_date->diff($second_date); echo "<difference> = " . $difference->y . " years, " . $difference->m." months, ".$difference->d." days " . "<difference in dRead more

    Please use this code:
    [crayon-6764228873481760769083/]
    It works as you expect

    See less
0
0
Like1 User
1 User

Hi everyone, I am new in PHP. I have this function which convert all alphabetic characters to uppercase: Read more

  1. This answer was edited.

    Hi, This is the syntax to concatenate strings: $text1 = "hello"; $text2 = "world"; $text = $text1 . ' ' . $text2; For your code, use this: function UppercaseText($text_list) { $GlobalText = ""; $TableSize = sizeof($text_list);; for ($i = 0; $i < $TableSize; $i++) { $BigText[] = strtoupper($text_lRead more

    Hi,

    This is the syntax to concatenate strings:
    [crayon-6764228873633786107768/]
    For your code, use this:
    [crayon-6764228873635517715709/]
    Have a good day

    See less
0
0
Be the first one react

Hi Could please tell me how to add or update SEO Focus keyphrase programmatically? I used this code but it doesn’t work: Read more

  1. This answer was edited.

    Hi, I think Yoast SEO removed metakeywords. Please see this aricle : Meta keywords Why we don't use them - and neither should you use this key instead : _yoast_wpseo_focuskw You can update it like any post meta. This is the syntax: //the value of the focus key word $myFocusKeyword = "focus keyword eRead more

    Hi,

    I think Yoast SEO removed metakeywords. Please see this aricle :

    Meta keywords Why we don’t use them – and neither should you

    use this key instead :

    _yoast_wpseo_focuskw

    You can update it like any post meta. This is the syntax:
    [crayon-67642288737f0640594875/]
    I tested it and it works fine.

    regards

    See less
0
0
Like1 User
1 User

Hi Everyone! I use a s7-1500 controller. I use MB_CLIENT function to read data from an other PLC. Everything work fine until I make change in my project and download to the PLC. I have error 80A3 and impossible to acknowledge until I make a stop/Run of the plc. Anyone can help me? Best Regards,

  1. Hi Maesa, If you use instances declared in a FB function. Try to use a global instance of MB_clien like this: use a global DB to declare the "ModbusDataconnectParamClient" structure. This will fix your problem and when you download the project, it will not cause problem for MB_client function. hopeRead more

    Hi Maesa,

    If you use instances declared in a FB function.

    Try to use a global instance of MB_clien like this:

    use a global DB to declare the “ModbusDataconnectParamClient” structure.

    This will fix your problem and when you download the project, it will not cause problem for MB_client function.

    hope this will help you

    See less
0
0
Like1 User
1 User