- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
19 Posted Topics
Hi All, I need to call a function for evry 10 secs how can i achieve this in python | |
Hello All, Please let me know how to read/load the cmake file in python and access its elements. | |
Please let me know how to sort the list of String in either ascending / descending order without considering special characters and case. ex: list1=['test1_two','testOne','testTwo','test_one'] Applying the list.sort /sorted method results in sorted list ['test1_two', 'testOne', 'testTwo', 'test_one'] but the without considering the special characters and case it should be … | |
I am a newbie to py.test , Please let me know how to run the py.test in PyScripter Editor. I have tried in the belwo way but it doesn't work. import pytest def func(x): return x + 1 def test_answer(): assert func(3) == 5 pytest.main() | |
below is mycode though i have set keepalive, socket connection gets closed after sometime. sb_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM,socket.SOL_TCP) sb_sock.setsockopt( socket.SOL_SOCKET, socket.SO_KEEPALIVE, 1) sb_sock.connect((msg_host, host_port)) reg_msg="REG 0000 "+finder_id+"\r" sb_sock.send(reg_msg) | |
sample_json1={{ "globalControlId": 72, "value": 0, "controlId": 2 }, { "globalControlId": 77, "value": 3, "controlId": 7 } } sample_json2={ { "globalControlId": 77, "value": 3, "controlId": 7 }, { "globalControlId": 72, "value": 0, "controlId": 2 } } | |
Hi All, i want to know how to calculate number of sub String available with in a string in python | |
Hi All i have downloaded "xmldiff-0.6.10" from their official site (http:// [url]www.logilab.org/859[/url]). I have tried installing the same on my 32 bit Windows 7 OS using the command "setup.py install" but below exceptions are thrown in the console. please help me out in installing this package on Windows Exceptions thrown … | |
How to create n number thread in python. i want iterate over the for loop and create a thread for iteration sample code for i in range(o,50): i want to create 50 thread here which call the same function. how start and stop each thread after completion . | |
hi All, I am importing the SQL DB data into a CSV file, the length of the data is too large and doesn't fit with default csv file column width, so i need to increase the column width please let me know how can you achieve this . below is … | |
Hello all, i am importing the data from db using MySQLdb module in python, please let me know how to write this data into an excel sheet. from db i get data in multiple rows and columns please tell me how to write in excel | |
Hi All, i have basic python knowledge please let me know how to get started with jython please let me know where can i find good online books for jython, how to write some small programs and how to run them | |
Hello All, Ii want to know how can i check whether the response from the server is inJSON format or XML format . Please let me know how to do this, | |
Hello ALL, I need to capture the HTTP requests that are sent from my web application, using Selenium and python please help me in achieving this. | |
Hi, i have created python exe file of my code using py2exe module. i need to add my own customized icon for this exe file how to achive this | |
Hi, I want to know how to use Python variables in My sql statement and below is the syntax i am using import MySQLdb name="XYZ" number="123456" db=MySQLdb.Connect("localhost","root","12345","phone") cursor=db.cursor() sql= ("""INSERT INTO phonebook(number, Mobile) VALUES(%s,%s)""" , name,number) cursor.execute(sql) db.commit() db.close() but this throws the error please refer the attached screen shot … | |
Is there way to get the graphics card details in python. please help me in achieving this | |
I need to get the info available devices in my LAN network. My logic is as follows: 1.Send a UDP packet/s to the IP 255.255.255.255 and wait for the response from the available devices, once the devices repond back need to analyze the response.. Please help me out in implementing … | |
Hi, I want to know how to read the binary file from 10th byte to 90th byte in a file size of 100 bytes and need to write the read data into new binary file. please help me in doing this. |
The End.