Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: [Matplotlib] Data Visualization with Matplotlib Tutorial
Post: [Matplotlib] Data Visualization with Matplotlib Tu...

I am developing a Matplotlib Tutorial series on my Youtube Channel. Please check out. Thanks!
MK_CodingSpace Tutorial Requests and Submissions 0 1,835 Apr-26-2021, 03:14 PM
    Thread: [Ursina Engine] Ursina Engine – 3D Python Game Engine Tutorial
Post: [Ursina Engine] Ursina Engine – 3D Python Game Eng...

I am developing a series of Ursina Engine – 3D Python Game Engine Tutorials on on my Youtube channel. Please check out.
MK_CodingSpace Tutorial Requests and Submissions 0 5,782 Feb-10-2021, 03:16 AM
    Thread: Pygame Tutorials
Post: Pygame Tutorials

I have developed a series of Python game tutorials on my Youtube Python Programming Channel, please check out. Thanks!
MK_CodingSpace Tutorial Requests and Submissions 0 4,179 Jan-13-2021, 06:27 PM
    Thread: (HELP GREATLY APPRECIATED) New user- Huge Pygame Installation Problem!
Post: RE: (HELP GREATLY APPRECIATED) New user- Huge Pyga...

As the message indicates, your python version Python 3.5 is too old and is not supported. You need uninstall it and install a newer version.
MK_CodingSpace Game Development 1 2,825 Jan-12-2021, 07:32 PM
    Thread: Pong game
Post: RE: Pong game

Looks like too many things go wrong in the code. If you want to use class, you might want to start with simple practice.
MK_CodingSpace General Coding Help 7 4,085 Dec-26-2020, 10:24 PM
    Thread: Error installing Pygame-Zero
Post: RE: Error installing Pygame-Zero

I have made a short tutorial video on how to install modules using pip command step by step. See if it helps.
MK_CodingSpace Game Development 1 3,175 Dec-26-2020, 03:50 PM
    Thread: Two loops behaving differently
Post: RE: Two loops behaving differently

Both print a = 1 on my machine
MK_CodingSpace General Coding Help 5 2,529 Dec-26-2020, 03:43 PM
    Thread: PROJECTILE WITH TURTLE
Post: RE: PROJECTILE WITH TURTLE

Some comments here. 1. This part needs to be out of the shoot() function. projectile = turtle.Turtle() projectile.speed(0) projectile.shape('square') projectile.color('white') pro...
MK_CodingSpace General Coding Help 2 2,706 Dec-26-2020, 03:39 PM
    Thread: Problem with the x-axis
Post: RE: Problem with the x-axis

fig, ax = plt.subplots() does not really plot the data. It specifies the axes the subplots will be drawn, so it should be outside of the for loop here. It is the ax.plot(x, y) that actually plots the ...
MK_CodingSpace General Coding Help 7 3,071 Dec-23-2020, 02:30 PM
    Thread: Problem with the x-axis
Post: RE: Problem with the x-axis

When you do subplot, it should be something like this fig, axs = plt.subplots(2) axs[0].plot(x, y) axs[1].plot(x, -y)
MK_CodingSpace General Coding Help 7 3,071 Dec-22-2020, 09:58 PM
    Thread: Problem with the x-axis
Post: RE: Problem with the x-axis

plt.subplot(3,2,subplot_count) shouldn't be at line 22, it should be at line 10. You got 5 graphs because there was 5 elements in markets variable. The first subplot was empty because you set subplot_...
MK_CodingSpace General Coding Help 7 3,071 Dec-22-2020, 09:31 PM
    Thread: Invalid index
Post: RE: Invalid index

In addtion to buran's change of line 12, try to change line 21 with ax[ax_indices[subplot_count][0],ax_indices[subplot_count][1]].plot(market_cut[columnname_0])
MK_CodingSpace General Coding Help 4 2,543 Dec-22-2020, 08:01 PM
    Thread: Problem with the x-axis
Post: RE: Problem with the x-axis

You were actually plotting plt.plot("ES_Close"), plt.plot("GC_close")..., which gives empty plot. The date information was never in the plot.
MK_CodingSpace General Coding Help 7 3,071 Dec-22-2020, 05:15 PM
    Thread: Help with pygame tutorial
Post: RE: Help with pygame tutorial

Larz60+, If you look more closely, you will find it's different **biggrin** (Dec-20-2020, 08:58 PM)Larz60+ Wrote: MK_CodingSpace, Your post is verbatim of what Metulburr posted 2 hours prior to...
MK_CodingSpace Game Development 10 5,479 Dec-20-2020, 09:03 PM
    Thread: Help with pygame tutorial
Post: RE: Help with pygame tutorial

I think the indentation should be like this while running: for game_event in pygame.event.get(): if game_event.type == QUIT: running = False if game_event.type == KEYD...
MK_CodingSpace Game Development 10 5,479 Dec-20-2020, 02:28 PM
    Thread: Noob warning: trying to use pip to install pytest and pep8 in Command Prompt
Post: RE: Noob warning: trying to use pip to install pyt...

I have made a short video on how to correctly install Python modules/libraries step by step. See if it helps. Most likely the pip command line wasn't in the correct path when you run it.
MK_CodingSpace General Coding Help 4 5,308 Dec-20-2020, 12:30 AM
    Thread: Turtle circle
Post: RE: Turtle circle

I think you just need to draw a circle inside a square. Orientation of a square, does this mean ths square is tilted? If so, then you need set turtle heading before you draw the square.
MK_CodingSpace Homework 3 2,467 Dec-17-2020, 04:05 PM
    Thread: returning values in for loop
Post: RE: returning values in for loop

Return statement exits the function. So when it returns 1 from the list, it also exits the function.
MK_CodingSpace General Coding Help 4 12,165 Dec-17-2020, 01:25 AM
    Thread: Is there a way to move text created by turtle.write()?
Post: RE: Is there a way to move text created by turtle....

Not sure I understand you completely, but can't you move the pen before you write the text? This will move the text.
MK_CodingSpace General Coding Help 7 5,929 Dec-15-2020, 02:04 AM
    Thread: PyGame
Post: RE: PyGame

I have made a short tutorial video on how to install python modules. See if it helps.
MK_CodingSpace Game Development 8 3,759 Dec-14-2020, 05:59 PM

User Panel Messages

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