Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: open, read and replace a string in a file
Post: open, read and replace a string in a file

Hi, i want to read a file, and replace a certain value. i don t know the exact string value but i know what is before and after this value for optimization reason i want to open the file only one ti...
Reims General Coding Help 0 1,821 Oct-02-2019, 01:30 PM
    Thread: Access to the elements of a dictionnary
Post: Access to the elements of a dictionnary

Hi, i have the following json file contained in a file named file.conf and i Need to replace the value of ENDPOINT witn something else {"azure":{"ENDPOINT":"x","DB":"y","COL":"can"},"cache":{"path...
Reims General Coding Help 1 1,644 Oct-02-2019, 11:44 AM
    Thread: get and reuse the token value with huawei modem
Post: Error 125002 while trying to read messages from hu...

so i want to read some sms received in my huawei modem. for this i have to take a token value from one page and reuse it in another pages (sms-list) of my modem but i got this error 125002 which mean...
Reims General Coding Help 1 4,591 Oct-02-2019, 04:29 AM
    Thread: get and reuse the token value with huawei modem
Post: get and reuse the token value with huawei modem

Hi there, so i want to read some sms received in my huawei modem. For that i m tryin to first get the token and session id from the 'http://192.168.8.1/api/webserver/SesTokInfo page then try to reu...
Reims General Coding Help 1 4,591 Oct-01-2019, 03:28 PM
    Thread: convert sh script to python script
Post: convert sh script to python script

hi, i have a sh script code and need to convert it into python script. i m struggling finding the correspondant command. so here is my sh script RESPONSE=`curl -s -X GET http://192.168.8.1/ap...
Reims General Coding Help 0 2,166 Oct-01-2019, 12:10 PM
    Thread: from Json Time Serie file to python dictionnary
Post: from Json Time Serie file to python dictionnary

Hi, i have a preoccupation, i know the process to follow but not exactly how to implement it. so i have a json file which looks like json = [{"signal_name":"X", "signal_value":"valueX1", "time"="tim...
Reims General Coding Help 1 2,039 Sep-11-2019, 04:33 AM
    Thread: convert a json file to a python dictionnary of array
Post: RE: convert a json file to a python dictionnary of...

(Sep-10-2019, 10:26 AM)buran Wrote: what have you tried? Note that so called json that you have is not valid one. it looks like already converted to JSON object in python thanks Buran, i find out th...
Reims General Coding Help 2 2,261 Sep-10-2019, 01:08 PM
    Thread: convert a json file to a python dictionnary of array
Post: convert a json file to a python dictionnary of arr...

Hi there, i m a newbee so excuse if my question looks dummy. so i have a json file which look like this Output:[{'_id': '1', 'date': '2019-09-07', 'name': 'abi', 'value': 0, 'unit': '°C'}, {'_id...
Reims General Coding Help 2 2,261 Sep-10-2019, 10:23 AM

User Panel Messages

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