Python Forum
Simplest/Quickest/Best Way to Get Started?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simplest/Quickest/Best Way to Get Started?
#1
I decided to use Python.

Now into the third day and still not up and running.

I have win10.

Tried Anaconda because it was advised everywhere.

Had hassles and reinstalls with it.

Then tried spyder and had hassles with it.

Tried conda as part of all this and had hassles with it.

Want database utility in what I want to write to tried to get mysql because it was advised.

Had all sorts of hassles with it.

Nearly all of these hassles I think are due to incompatabilities with various versions of this multitude of packages.

Like when I open spyder it tells me there's an update available every time. When I try to install the update with coda

Like I just tried to install mysql-connector-python and it told me it is incompatible with my python (3.8 I think).

I think maybe I've gone off on the wrong track.

What's the simplest, quickest, easiest, most fireproof way of installing python so's I can get busy (complete with some kind of database facility (just to keep a few hundred simple records is all) ) ?

p.s. like what I mean is I see conda is simply a package manager - it just gets things for you and installs them, except often it doesn't, and then I learned that anaconda itself is something similar being 'just a collection of packages' some guy said when I was browsing troubleshooting anaconda hassles.

And it seems to me these 'helping' apps are getting to where they're just a big hassle. All I need is python and mysql and whatever makes the one able to use the other, isn't it?
Reply
#2
(Oct-22-2020, 08:44 AM)abrogard Wrote: All I need is python and mysql and whatever makes the one able to use the other, isn't it?

I personally don't think so, you should be more like Kimi Räikkonen I know what I'm doing.

Currently you have no understanding how nuts-and-bolts of Python and programming in general fit together. If you are up and running what gives you the knowledge to use tools you know next to nothing?

While you in state of 'guessing' that you have Python 3.8 I suggest that you don't try to start with writing code to connect to database which has any real/important data.

I think that most straightforward way to start could be to go python.org/downloads, download and install Python for your appropriate OS and move forward from there.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply
#3
do you really need MySQL? I don't have problems with using MySQL, nor I recommend against it, it just look like overkill for what you have described in your other task - just keeping some strings.
can you use sqlite3, which is file like database and support comes included in Standard Library? A simple text file in the right format may do too. It depends on your goal (apart from "storing some 250-chars-long strings")

I personally prefer working with python downloaded from python.org and use VS Code as IDE.
You may look at these two tutorials. Follow them (especially the one regarding the installation)
https://python-forum.io/Thread-Python-3-...er-Windows
https://python-forum.io/Thread-VS-Code-from-start

On Windows I also happen to use Notepad++ with some plugins for quick and dirty jobs (i.e. if you don't want to delve into more advanced IDE, yet get some basic features like syntax highlighting)
No Anaconda, Spyder, Jupyter, etc. But I understand and accept that it may be more convenient for some users or in some use cases.

Note that Simplest/Quickest/Best Way may not always be the same :-) e.g. simplest/quickest is to use IDLE that comes with python on windows. But it's considered poor substitute for IDE, i.e. not BEST way :-).
abrogard and metulburr like this post
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
#4
i dont ever advise a person to use Anaconda. I just always tell them to do the following steps. However if your using 9/10's of the packages in anaconda, then it just saves you a step to install them.

1) Download pygame from pygame.org
1) Download python from python.org
2) pip install PACKAGNAME (where PACKAGENAME is whatever 3rd party library you want) AND do that command in the windows prompt not the python interpreter.
3) If you want an IDE, install whatever one you want and link your python version to that one

(Oct-22-2020, 08:44 AM)abrogard Wrote: (just to keep a few hundred simple records is all) ) ?
MYSQL is overkill for this. A simple python dictionary set in a JSON file could handle this. A text file would do even, but then you dont have the structure. As an added bonus in using JSON: you are learning to work with python dictionaries, you do not need any 3rd party libraries at all as json module is in the standard library, and if in the future you want to convert to MYSQL you can easily obtain it by loading the JSON back in as a python dictionary and proceed from there.
abrogard likes this post
Recommended Tutorials:
Reply
#5
(Oct-22-2020, 10:05 AM)metulburr Wrote: Download pygame from pygame.org
I think @metulburr means python from python.org
metulburr likes this post
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
#6
Thanks very much for all those replies. I must have not set notifications because I didn't get any. Have to look into that.

I will backpedal and uninstall everything and start back where a couple of you have suggested. If this current thing doesn't work out.

It's just what I was thinking and where I would have gone in the first place but something directed me to anaconda as the easiest and the best!

Mysql overkill is also interesting. I'm accustomed to using mysql in connection with my phpbb boards and think of it as a handy easy tool - like it comes with phpbb. But all this fuss and commotion i'd happily go elsewhere.

I just want to be able to access the rows by number or even by content which is what makes me think of a db rather than a text file of my own creation.

:)
Reply
#7
Anaconda indeed comes with some packages included and that's why it's considered easier by some (again - it's subjective). Also - you may not need these packages anyway, depending on what you plan to do.

With respect to db - one think is do you want server running (i.e. sqlite3 that I suggested is server-less). As I said, a lot depends on what you plan to do next (e.g. a nosql database like Redis may also work for your use case)
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
#8
whoops yeah, i meant python from python.org haha
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot get started standenman 4 1,147 Feb-22-2023, 05:25 PM
Last Post: standenman
  Need help i just started the whole thing gabriel789 16 3,090 Sep-12-2022, 08:04 PM
Last Post: snippsat
  Can't even get started dr6 1 1,586 Aug-18-2020, 04:38 PM
Last Post: Larz60+
  Getting started mba_110 0 1,698 Jan-18-2019, 05:23 PM
Last Post: mba_110
  Getting Started wargasme 5 3,362 Jun-19-2018, 07:25 PM
Last Post: ichabod801
  Just getting started alwillia 6 3,530 May-20-2018, 07:22 PM
Last Post: ljmetzger
  Simplest way to create a musical note and play it insearchofanswers87 3 13,542 Nov-21-2017, 07:02 PM
Last Post: insearchofanswers87

Forum Jump:

User Panel Messages

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