Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
window command window
(Aug-05-2021, 02:17 PM)RobertAlvarez424 Wrote: So this exe is for use in window 10 envoirment but actually can be a dos script or windows type script ? Opens cmd prompt window or used in window 10?
You seems a little lost on the basic stuff how OS(Windows) work,and i guess Python to.
Yes python.exe is for use in Windows as .exe is only for Windows OS,
Environment Variables Path is a convenient so Windows find version that you want use and command python and pip work from command line(cmd).
dos script and type script has nothing to with what we talk about here only how Python work on Windows.
(Aug-05-2021, 02:17 PM)RobertAlvarez424 Wrote: What is 'λ' character and how do you type this character with keyboard?
Do not now yet about pip. Does it package only dos type script
I do not type λ at all as i mention so i use cmder a much better version of cmd/powershell.
cmder insert λ automatic.

pip is the package installer for Python.
So if look at PyPi there is 319,780 projects.
If want use some of them in Python need to use pip.
Example with Requests that a lot people use.
# Install 
λ pip install Requests
Collecting Requests
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting charset-normalizer~=2.0.0
  Downloading charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Requirement already satisfied: idna<4,>=2.5 in c:\python39\lib\site-packages (from Requests) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in c:\python39\lib\site-packages (from Requests) (2020.12.5)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\python39\lib\site-packages (from Requests) (1.26.3)
Installing collected packages: charset-normalizer, Requests
Successfully installed Requests-2.26.0 charset-normalizer-2.0.4

# Test that it work
λ python
Python 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> r = requests.get('')
>>> r.status_code
>>> r.encoding
>>> exit()

snippsat, this is my first post for python questions, just starting out with python. This first post has a lot of info to learn from.
Thanks for your reply and everyone for you info too.

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Selenium: can't open a new window after clicking a button and I don't know why noahverner1995 0 54 Yesterday, 09:55 AM
Last Post: noahverner1995
  Closing Threads and the chrome window it spawned from Tkinter close button law 0 102 Jan-08-2022, 12:13 PM
Last Post: law
  How to automatically close mathplotlib output window? Pedroski55 2 671 Jun-17-2021, 09:00 AM
Last Post: Pedroski55
  Python OpenCV window not opening in fullscreen mode Zman350x 0 1,149 Apr-29-2021, 07:54 PM
Last Post: Zman350x
  Help for having the window open jip31 4 1,176 Apr-27-2021, 08:14 AM
Last Post: jip31
  mpv window freeze before video end rfeyer 18 2,912 Mar-09-2021, 06:12 PM
Last Post: rfeyer
  IDLE editing window no longer works chris1 2 902 Feb-06-2021, 07:59 AM
Last Post: chris1
  Load external font and does not show font in the window ATARI_LIVE 16 3,292 Feb-05-2021, 10:36 PM
Last Post: EthanPayne
  eliminating letters when typed in python window deebo 0 713 Jan-05-2021, 09:26 AM
Last Post: deebo
Question How to make a button always stay on a point when resizing the window? _ShevaKadu 5 1,304 Nov-04-2020, 03:59 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020