Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Python
0
votes
Q: How to read/process command line arguments?
I am originally a C programmer. I have seen numerous tricks and "hacks" to read many different arguments. What are ... can do this? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
command-line
python
0
votes
Q: open() in Python does not create a file if it doesn't exist
What is the best way to open a file as reading/write if it exists, or if it does not, then create it and ... to do the opening part. Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
linux
file-io
0
votes
Q: What is __future__ in Python used for and how/when to use it, and how it works
People including me know there is something in Python called __future__ and it appears in quite a few modules I read. ... am I right? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
0
votes
Q: How can I open multiple files using “with open” in Python?
I want to change a couple of files at one time, iff I can write to all of them. I'm wondering if I ... to this problem look like? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
file-io
0
votes
Q: Find which version of package is installed with pip
Using pip, is it possible to figure out which version of a package is currently installed? I know about pip ... am currently using. Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
0
votes
Q: About catching ANY exception
How can I write a try/except block that catches all exceptions? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
exception
0
votes
Q: How do I do not equal in Django queryset filtering?
In the Django model QuerySets, I see that there is a __gt and __lt for comparative values, but is there a __ne/!= ... (a=true, x__gt=5) Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
django
0
votes
Q: Styling multi-line conditions in 'if' statements?
Sometimes I break long conditions in ifs onto several lines. The most obvious way to do this is: if (cond1 ... an alternative way? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
if-statement
0
votes
Q: awscli fails to work: No module named 'awscli'
I am trying to install awscli using pip3 on Linux Mint 17.2 Rafaela. I am getting the error: Traceback (most ... anyone help with this? Select the correct answer from above options...
asked
Jan 30, 2022
in
Education
by
JackTerrance
python
pip
aws-cli
aws-services
0
votes
Q: How to recognize rectangles in this image?
I have an image with horizontal and vertical lines. In fact, this image is the BBC website converted to ... rectangle. Thanks! Select the correct answer from above options...
asked
Jan 29, 2022
in
Education
by
JackTerrance
hadoop
artificial-intelligence
python
machine-learning
Page:
« prev
1
...
17
18
19
20
21
22
23
24
next »
...