10 More Discussions You Might Find Interesting
1. Programming
Hello everyone ,
I need your help to end my python code.
I've this code in python :
from ipywidgets import interact, Dropdown
from ipywidgets import *
from ipywidgets.embed import embed_minimal_html
import pandas as pd
import os
import sys
#################### Dropdown servers... (1 Reply)
Discussion started by: Tim2424
1 Replies
2. Shell Programming and Scripting
Hi experts -
I'm relatively new to python, but I have an requirement to automate getting a file from a WebLib server using an API.
The file I'm requesting from this sever is an excel spreadsheet (.xlsx).
I get a valid response back via an xml doc from the server.
In this xml file I get... (8 Replies)
Discussion started by: timj123
8 Replies
3. Programming
Hi. I have timestamps that I am trying to convert to epoch time. An example:
I am trying to convert this to an epoch timestamp but have one little glitch. I have this:
import time
date_time = ''
pattern = ''
epoch = int(time.mktime(time.strptime(date_time, pattern)))
print epoch... (1 Reply)
Discussion started by: treesloth
1 Replies
4. Shell Programming and Scripting
Hi All,
I am looking for a generic code which can search for the existing delimiter(what ever it may be) in a file and convert it to Pipeline. The file may have Pipeline delimiter already in that case just leave it. Please find below some sample records.
Sample records1:
... (2 Replies)
Discussion started by: Arun Mishra
2 Replies
5. Shell Programming and Scripting
How to convert below bash code in perl and python.
for BLOCK in /sys/block/emcpow*
do
echo "100000" > "$BLOCK"/queue/nr_requests
echo "noop" > "$BLOCK"/queue/scheduler
done (2 Replies)
Discussion started by: learnbash
2 Replies
6. Shell Programming and Scripting
I have a file command.txt. It's content are as follows:-
The content of file is actually a command with script name and respective arguments.
arg1 and arg2 are dummy arguments , format : -arg arg_value
test is a argument specifying run mode , format : -arg
In my python code, i read it and... (1 Reply)
Discussion started by: animesharma
1 Replies
7. UNIX for Advanced & Expert Users
Good evening, everybody
A good math friend told me that it would be possible to shrink the size of the numerical datas I produce with a physical simulation code I programmed for my PhD.
It usually writes at least 100 GB to complete the simulation, and it seems that it is too high. There are... (7 Replies)
Discussion started by: Cybertib
7 Replies
8. Shell Programming and Scripting
Hello All,
I have some python code that pulls together titles and displays them on web pages.
Here is the section of code I am struggling with:
#string to grab title
titlePattern =r'''\s*(\(+\))?(?P<title>.*)'''
#returns the title part of the subject line
def getTitle... (0 Replies)
Discussion started by: jhampt
0 Replies
9. Programming
Hello..
is there any way to send a file or a string from jsp website to java program
which all I will develope
i remember that i can make socket connection between jsp and java but:confused::confused:
I dont now how
if there any website or booke explain that or if there another way ... (2 Replies)
Discussion started by: vip_a1
2 Replies
10. UNIX for Dummies Questions & Answers
We have an HP UX-11 server running Unix and we wish to run Java Server Pages on this system. Can anyone see a reason why these pages will not work under this environment.
Thanks for you help.
Matthew (2 Replies)
Discussion started by: MLarra51
2 Replies