cmd

Remove an '?' char from tqdm progressbar?

Remove an '?' char from tqdm progressbar? Question: I wrote a code that download videos with progressbar using tqdm module, and it works fine, just there is a ‘?’ char appeared in the progressbar and it only appears in the cmd. here is a pic of the progressbar any help will be appreciated. Asked By: …

Total answers: 2

How not to show the path when virtualenv is activated

How not to show the path when virtualenv is activated Question: So, when a python virtualenv is activated on Windows, the console line prompts something as: (env_name) C:env_path> Sometimes however the path can get too big, so hiding it and leaving the console something like this would be really helpful: (env_name) > Is there a …

Total answers: 1

How to activate an existing virtualenv projects?

How to activate an existing virtualenv projects? Question: I’m a beginner to Django and Python, and I’ve never used virtualenv before. However, I do know the exact commands to activate and deactivate virtual environments (online search). However, this learning course takes time and sometimes I need to split the work over 2 days. When I …

Total answers: 4

Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output – while installing auto-py-to-exe through pip

Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output – while installing auto-py-to-exe through pip Question: I am trying to download auto-py-to-exe on a different (windows) device than I usually use through pip. However when run I get the error (sorry it is so very very long): …

Total answers: 4

how to fix "django-admin not recognized"

how to fix "django-admin not recognized" Question: I just formatted my OS due some reason so installed python and django again. I tried to create the python project in the same environment as previous project but unlike that it does not recognizes the “django-admin” command please help me to solve this issue. I tried reinstall …

Total answers: 3

Could not import "D": FLASK_APP

Could not import "D": FLASK_APP Question: from flask import Flask app = Flask(__name__) @app.route(‘/’) def hello_world(): return ‘Hello, World!’ I am new to Flask. I wrote this basic code and save it in hello.py in my D:Cat_vs_Dogscripts folder. Then in command prompt, I wrote the following commands. C:UsersKetan Ingale>set FLASK_APP=D:Cat_vs_Dogscriptshello.py C:UsersKetan Ingale>flask run * Serving …

Total answers: 8

Install Python with cmd or powershell

Install Python with cmd or powershell Question: My question is if you can install python with powershell, cmd, vbs or any other language built into Windows already? If this was already asked please redirect me to the answer. “How to install Python using Windows Command Prompt” explains how to install the python if you already …

Total answers: 6

Python Programmatically Change Console font size

Python Programmatically Change Console font size Question: I found the code below which is supposed to programmatically change the console font size. I’m on Windows 10. However, whatever values I tweak, I can’t seem to get any control over the font size, and also for some reason the console which gets opened when I run …

Total answers: 3

Activate virtualenv and run .py script from .bat

Activate virtualenv and run .py script from .bat Question: I’d like to use Windows Task Scheduler to run a python script within a virtual environment. I’d like the Scheduler to run a .bat file that will activate the virtualenv run the script These steps work together from the command line, and they work individually in …

Total answers: 6

How to install Python using Windows Command Prompt

How to install Python using Windows Command Prompt Question: Is it possible to install Python from cmd on Windows? If so, how to do it? Asked By: madasionka || Source Answers: https://docs.python.org/3.6/using/windows.html#installing-without-ui Installing Without UI: All of the options available in the installer UI can also be specified from the command line, allowing scripted installers …

Total answers: 4