Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to open Python?
#21
(Jun-23-2021, 07:34 PM)bensan Wrote: I have read your part of the command line but quite frankly Im not very interested in that. I see that is the job of the Python developers to understand & formulate some kind of window application for web developers to follow & clearly understand
You have to lean basic command line stuff,or just silly for me to spend more time on this than i already have done.
If a Python developers do not how to use command line he will never ever get any job.
(Jun-23-2021, 07:34 PM)bensan Wrote: And do I need to download & install Flask?
All is done from command line with pip,that's why you should do pip -V to see that pip work.
# Test pip
C:\Users\Tom>pip -V
pip 21.1.1 from c:\python39\lib\site-packages\pip (python 3.9)

# Install flask
C:\Users\Tom>pip install flask
Collecting flask
  Using cached Flask-2.0.1-py3-none-any.whl (94 kB)
Requirement already satisfied: Werkzeug>=2.0 in c:\python39\lib\site-packages (f
rom flask) (2.0.1)
Requirement already satisfied: itsdangerous>=2.0 in c:\python39\lib\site-package
s (from flask) (2.0.1)
Requirement already satisfied: Jinja2>=3.0 in c:\python39\lib\site-packages (fro
m flask) (3.0.1)
Requirement already satisfied: click>=7.1.2 in c:\python39\lib\site-packages (fr
om flask) (7.1.2)
Requirement already satisfied: MarkupSafe>=2.0 in c:\python39\lib\site-packages
(from Jinja2>=3.0->flask) (2.0.1)
Installing collected packages: flask
Successfully installed flask-2.0.1

C:\Users\Tom>
buran likes this post
Reply
#22
(Jun-23-2021, 07:50 PM)snippsat Wrote:
(Jun-23-2021, 07:34 PM)bensan Wrote: I have read your part of the command line but quite frankly Im not very interested in that. I see that is the job of the Python developers to understand & formulate some kind of window application for web developers to follow & clearly understand
You have to lean basic command line stuff,or just silly for me to spend more time on this than i already have done.
If a Python developers do not how to use command line he will never ever get any job.
(Jun-23-2021, 07:34 PM)bensan Wrote: And do I need to download & install Flask?
All is done from command line with pip,that's why you should do pip -V to see that pip work.
# Test pip
C:\Users\Tom>pip -V
pip 21.1.1 from c:\python39\lib\site-packages\pip (python 3.9)

# Install flask
C:\Users\Tom>pip install flask
Collecting flask
  Using cached Flask-2.0.1-py3-none-any.whl (94 kB)
Requirement already satisfied: Werkzeug>=2.0 in c:\python39\lib\site-packages (f
rom flask) (2.0.1)
Requirement already satisfied: itsdangerous>=2.0 in c:\python39\lib\site-package
s (from flask) (2.0.1)
Requirement already satisfied: Jinja2>=3.0 in c:\python39\lib\site-packages (fro
m flask) (3.0.1)
Requirement already satisfied: click>=7.1.2 in c:\python39\lib\site-packages (fr
om flask) (7.1.2)
Requirement already satisfied: MarkupSafe>=2.0 in c:\python39\lib\site-packages
(from Jinja2>=3.0->flask) (2.0.1)
Installing collected packages: flask
Successfully installed flask-2.0.1

C:\Users\Tom>

Thanks @snippsat. I do have a basic understanding of command line but the lack of any understanding is not my problem.

I AM TRYING TO GET A SIMPLE APPLICATION TO OPEN, & THAT WILL NOT HAPPEN regardless of how many ways I try. Ive been trying to achieve that for over a month now & my patience is running very thin.

I am not learning Python for the purpose of getting a job. I am a self employed business person developing a PHP/CodeIgniter website, with the hope of integrating Python. CodeIgniter has never required a command line prompt or anything like it.

You still did not answer my last question. That is very important to me as if Python can not "select, copy & paste" then I will be dropping the subject.
Reply
#23
(Jun-23-2021, 08:33 PM)bensan Wrote: You still did not answer my last question. That is very important to me as if Python can not "select, copy & paste" then I will be dropping the subject.
Not Python alone but Editors like VS Code or PyCharm can.
I see no point all trying to help anymore if this you response after all this so goodbye.
Gribouillis likes this post
Reply
#24
I suggest - take a breath, and pick up Head First Python. Book with a reasonable sense of humor, and a big portion of the book is the development of a web app. Takes you from installation to Flask, covers interactions with databases, so I believe that if you spend a little time with it you will get where you want. Does not overly focus on the command line interface.
Reply
#25
(Jun-23-2021, 09:11 PM)snippsat Wrote:
(Jun-23-2021, 08:33 PM)bensan Wrote: You still did not answer my last question. That is very important to me as if Python can not "select, copy & paste" then I will be dropping the subject.
Not Python alone but Editors like VS Code or PyCharm can.
I see no point all trying to help anymore if this you response after all this so goodbye.

Thanks @snippsat. I apologize if I offended you.

My old version of UltraEdit has an excellent macro system & I would like to integrate a similar system into CodeIgniter, hence my interest in Python.

I have installed Flask but I still CAN NOT OPEN A SIMPLE PYTHON TEXT EDITOR APPLICATION.

All programming languages including Python should have a userguide capable of being read & understood by a 12 year old, just the same as a newspaper.

I am giving up on Python & probably never coming back unless I see or read about some change in the attitude of Pythons developers.

PYTHON IS ABSOLUTELY HOPELESS TO LEARN.

I have never seen so many tutorials all demanding money to teach a subject. I am not aware of anything like that existing with PHP.
Reply
#26
(Jun-24-2021, 01:59 AM)jefsummers Wrote: I suggest - take a breath, and pick up Head First Python. Book with a reasonable sense of humor, and a big portion of the book is the development of a web app. Takes you from installation to Flask, covers interactions with databases, so I believe that if you spend a little time with it you will get where you want. Does not overly focus on the command line interface.

Thanks @jefsummers. From what I can gather Head First Python is just another money making effort to teach Python.

The spending of money to learn Python will be never ending. That scenario does not exist with PHP.

I dont see any humor in Python at all, unless I see some sucker pay money to learn it.

Im giving up on Python & probably never coming back.
Reply
#27
from command line type idle.
Reply
#28
(Jun-24-2021, 10:11 AM)Larz60+ Wrote: from command line type idle.
Idle will not work like this on Windows have to do python -m idlelib
If read this Thread so have just try to help him him to test python and pip(so can install stuff) work from command line,
to make sure Python installation and OS environment Path is ok.
It had been ok to get some feedback if did dos work or not,but that did never happened.
Then can use GUI or whatever after this basic stuff that has to work.
bensan Wrote:I have never seen so many tutorials all demanding money to teach a subject. I am not aware of anything like that existing with PHP.
PHP has free and paid tutorials/books just like any programming langaugs,we have a lot tutorials here of course all free.
bensan Wrote:Im giving up on Python & probably never coming back.
With your attitude to this so is this maybe the best solution.
Larz60+ likes this post
Reply
#29
And, of course, there is a Head First PHP and MySQL available on Amazon.
He wants a resource to teach him installation, Python, and Flask. It does exactly that. Not satisfied because not free. I learned long ago that investing a few dollars that ends up saving my time is often well worth it. From the report of hours and days spent, 11 bucks to rent the book or 27 to buy it shows how little he puts value on his time.
Reply
#30
Flask Mega Tutorial is good and free. Of course there is also book and a course by Miguel.
It starts from installation of python and Flask (i.e. what @snippsat was trying to teach them).
But the real problem is their attitude and confusion about basic concepts and I don't think this will change any time soon.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

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