Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Python
0
votes
Q: Python Print String To Text File
I'm using Python to open a text document: text_file = open("Output.txt", "w") text_file.write("Purchase Amount: ... how to do this? Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
string
0
votes
Q: How to debug in Django, the good way?
So, I started learning to code in Python and later Django. The first time it was hard looking at tracebacks and ... your Django code? Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
django
0
votes
Q: Directory-tree listing in Python
How do I get a list of all files (and directories) in a given directory in Python? Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
filesystem
directory
0
votes
Q: Python reverse / invert a mapping
Given a dictionary like so: my_map = { 'a': 1, 'b':2 } How can one invert this map to get: inv_map = { 1: 'a', 2: 'b' } Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
dictionary
0
votes
Q: How do I append one string to another in Python?
I want an efficient way to append one string to another in Python. var1 = "foo" var2 = "bar" var3 = var1 + ... built-in method to use? Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
string
append
0
votes
Q: What is the purpose of the single underscore “_” variable in Python?
What is the meaning of _ after for in this code? if tbh.bag: n = 0 for _ in tbh.bag.atom_set(): n += 1 Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
python
variables
0
votes
Q: python salesforce library to get salesforce data?
Is there a library or package which we can use with python to connect to salesforce and get data? Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
salesforce
python
0
votes
Q: How to get most informative features for scikit-learn classifiers?
The classifiers in machine learning packages like liblinear and nltk offer a method show_most_informative_features(), which ... lot! Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
scikit-learn
machine-learning
python
artificial-intelligence
0
votes
Q: How to run a code in an Amazone's EC2 instance?
I understand nearly nothing to the functioning of EC2. I created an Amazon Web Service (AWS) account. Then I ... user's guide. Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
amazon-ec2
amazon-web-services
python
0
votes
Q: How to choose cross-entropy loss in tensorflow?
Classification problems, such as logistic regression or multinomial logistic regression, optimize a cross-entropy loss. ... jungle. Select the correct answer from above options...
asked
Feb 4, 2022
in
Education
by
JackTerrance
machine-learning
data-science
python
scikit-learn
Page:
« prev
1
...
12
13
14
15
16
17
18
...
24
next »
...