Hi Team,
I'm new to python and working on a project.
I have an API call which returns a dict(got the dict.values() and converted to list) as shown below:
Any clue, how can I get only offset values, in deed I need a sum of those. I can write a "shell sed command" inside python and using os.command can get the work done, but looking for a cleaner python solution/hint.
Thanks,
Ravi
Hi all...
As you know I like making code backwards compatible for as many platforms as possible.
This Python script was in fact dedicated for the AMIGA A1200 using Pythons 1.4.0, 1.5.2, 1.6.0, 2.0.1, and 2.4.6 as that is all we have for varying levels of upgrades from a HDD and 4MB FastRam... (1 Reply)
Hi all,
I am trying to run below python code for connecting remote windows machine from unix to run an python file exist on that remote windows machine..
Below is the code I am trying:
#!/usr/bin/env python
import wmi
c = wmi.WMI("xxxxx", user="xxxx", password="xxxxxxx")... (1 Reply)
I am working on requirement on spreadsheet in python scripting.
I have a spreadsheet containing cell values and with background color.
I am able to read the value value but unable to get the background color of that particular cell.
Actually my requirement is to read the cell value along... (1 Reply)
Okay, so I have had this problem on openSUSE, and Debian systems now and I am hoping for a little help. I think it has something to do with Python but I couldn't find a proper Python area here.
I am trying to redirect the output of "ssh suse-server 'python -V'" to a file. It seems that no matter... (3 Replies)
Hello,
Is there some type of functional way to read things in the Python shell interpreter similar to less or more in the bash (and other) command line shells?
Example:
>>> import subprocess
>>> help(subprocess)
...
...
I'm hoping so as I hate scrolling and love how less works with... (0 Replies)
Hi All,
If I use the "/usr/dict/words" inside the shell script, It is showing the error as,
grep: can't open /usr/dict/words
How can we resolve it?
Thanks & Regards,
Raja (2 Replies)
I have one script that named testing.sh
#cat testing.sh
#/bin/bash
echo "Enter your name:"
read name
#./testing.sh
Enter your name:
Sanjay
What I need it should take Input in the same prompt(mean to say dun go for next line) like given below.
#./testing.sh
Enter your name:Sanjay
... (1 Reply)
hey guys
i'm new in this world " unix "
i wanna any websites can help me to learn unix
or any websites i can download UNIX from it
thanks
:D (3 Replies)