Tag: python


Found 5959 results for 'python'.


1) python - Does Python have a ternary conditional operator?
2) python - Does Python have a string 'contains' substring method?
3) python - Creating a singleton in Python
4) python - What does the "yield" keyword do?
5) python - What does if __name__ == "__main__": do?
6) python - Why is reading lines from stdin much slower in C++ than Python?
7) python - String formatting: % vs. .format vs. f-string literal
8) python - What does ** (double star/asterisk) and * (star/asterisk) do for parameters?
9) python - "Least Astonishment" and the Mutable Default Argument
10) python - Calling a function of a module by using its name (a string)
11) tls - Best way to secure local REST server?
12) python - Proxying Requests through Python and Burpsuite not working
13) python - Append to an environment variable without overwriting values from .env file
14) environment-variables - How does /usr/bin/env know which program to use?
15) linux - Where do I place environment variables so that they can be picked up by Apache?
16) osx - OS X - Why is python not properly sourced in `which python`?... and is more broken in the system-level python?
17) linux - Set persistent environment variable for all users
18) python - python - os.getenv and os.environ don't see environment variables of my bash shell
19) python - How do I access environment variables in Python?
20) python - Bash scripting from python
21) python - python-dev installation error: ImportError: No module named apt_pkg
22) python - Running mlflow as a systemd service - gunicorn not found
23) python - Why are modules in PYTHONPATH not found when the containing directory is part of PYTHONPATH and file exists?
24) python - Fixing a broken PYTHONPATH environment variable
25) python - Is it possible to change the Environment of a parent process in Python?
26) python - Python/Django - Avoid saving passwords in source code
27) python - plain Password is logged via my python script
28) python - How do I pass a variable by reference?
29) python - Convert bytes to a string
30) python - Python ? (conditional/ternary) operator for assignments
31) python - Pythonic way for `return (value == 'ok') ? 'ok' : 'nok' `
32) python - What are metaclasses in Python?
33) c++ - Python-equivalent of short-form "if" in C++
34) python - Conditional operator in Python?
35) python - Does Python have a ternary conditional operator?
36) python - Putting a simple if-then-else statement on one line
37) python - How to upgrade all Python packages with pip
38) python - python (bool) ? then : else syntax?
39) python - How to compare two string with some characters only in python
40) python - Test a string for a substring
41) python - Python string 'in' operator implementation algorithm and time complexity
42) python - How do I check if a given Python string is a substring of another one?
43) python - How do I get a substring of a string in Python?
44) python - How to check if a dict value contains a word/string?
45) python - How do I merge two dictionaries in a single expression (take union of dictionaries)?
46) python - How to determine whether a substring is in a different string
47) python - Check if a string has 2 characters next to each other - Python
48) python - How to check if the header contains the string "example@example.com"?
49) python - How can I safely create a nested directory?
50) python - How do I get the current time?