If I change the server, the path change at the same time. Same things for the Dates.
I've 2 questions :
First question :
I've recover the path '/home/tim/Bureau/Servers/Server3/2019-11/'
I would like to add this path to new Dropdown. So I try that :
But my new dropdown is fill with the litteral path, not with the content of the CSV variable :
Could you show me how to fix it ?
The idea is at the end, I can use the path generate with my dropdown with pd.read_csv to display it to do something like that ( but with only dropdown and the CSV display in add) :
Always with the same idea, I need to use it on my website but I can't install jupyter notebook in my server. So I decide to use embed_minimal_html to create a standalone html page.
So I try to add that at the end of my code :
And the Page1.html is generate with my two dropdowns Server and Dates. But when I try to add the CSV variable in order to have the interatcive display ( display the path and change it with my choice in my dropdown, like with jupyter noteboopk ), I've this error :
There is a CSV variable, So why I've this error ? Could you show me how to fix it ?
Please, could you help me ? There are the last two problems that I have !
I am using python 3.4. Below is the exception I am getting-
Traceback (most recent call last):
File "./oop.py", line 20, in <module>
y = DerivedClass("Manu")
File "./oop.py", line 15, in __init__
super().__init__(self,value)
TypeError: __init__() takes 2 positional arguments but... (2 Replies)
I have the following code:
#!/usr/bin/env python
mylist =
def printWithoutNewlines():
for objects in mylist:
#print(objects)
objects = objects.replace('hello', "hi")
print objects
When executed, it gives the following output:
## ./loop.py
hi... (3 Replies)
Need to run this api command via curl, the python code works without any problems , but we want the same to be run as curl command
import requests
params = {'username': 'testuser'}
params = 'c3NhbmthMDJjsd'
params = 'test'
params = 'guide'
params = '192.168.0.37'
params =... (2 Replies)
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)
Hey there,
First post here in the Unix forums, but I have used them a lot for research over the last year. Anyways, to why I'm here now:
I'm working on a project and I'll be using the AIS Parser SDK by Brian C. Lane (can't post the link, but google that and the first 8 links will be relevant) ... (4 Replies)
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)
Hi All,
I have to upgrade python installed on my Redhat enterprise Linux 4. I downloaded the latest python package from python website but not able to install the new package as the make command itself goes on running for more than a day. Can some help me regarding this. Is ther any method to... (2 Replies)
Hello I'm writing a web server in python(obelisk-http.sourceforge.net)
and I'm having a greeat problem with POST method it like that
When someone make a POST request to the server it must open the executable(perl/python/.exe/elf) and send to the STANDART in (stdin) the request and get the... (2 Replies)
Helloo...
I am not much familiar with python..I found this small script in python I even do not have python on my computer...can anyone help me out to convert this into ksh or sh..
PLEASE any help I will appreciate..
here is python code..
#!/usr/bin/env python
import random # Get a... (3 Replies)
Guys
I need to convert a code from JSP (Java Tags are also there inside JSP) to PYTHON.
I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP.
Any idea how to approach?
Thanks in advance to all
C Saha (1 Reply)