Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
  Information Thread: RPG Tutorial Series
Post: RPG Tutorial Series

I've been developing a Python RPG Tutorial Series as a side project over the last few months. It's not exactly the most professional code written, but it's great for beginners looking to make their ow...
Knight18 Tutorial Requests and Submissions 0 634 Dec-06-2020, 09:09 AM
    Thread: Python Scrapy Tutorial
Post: Python Scrapy Tutorial

A Tutorial series on the Scrapy Web Scraping Library. Scrapy is a rather advanced web scraping (the act of extracting data from the internet) library, so it's harder to learn than it's easier (but sim...
Knight18 Tutorial Requests and Submissions 0 2,025 Oct-19-2020, 04:56 PM
    Thread: tkinter
Post: RE: tkinter

The most obvious mistake is that you're creating separate Tkinter sessions with Tk(). There's probably other things wrong with your code as well, but if you want to be creating several windows, you sh...
Knight18 GUI 12 1,582 Sep-15-2020, 03:38 PM
    Thread: Spent over an hour trying to get matplotlib to work
Post: RE: Spent over an hour trying to get matplotlib to...

Have you actually installed the library? Most libraries (the ones not in the standard library) need to be downloaded and installed separately. If you haven't already done it,use the "pip install mat...
Knight18 Data Science 10 1,409 Aug-31-2020, 09:22 AM
    Thread: Which is the best platform to teach kids python?
Post: RE: Which is the best platform to teach kids pytho...

You should search around online for websites specfically targeted towards kids. Like this one. kidscancode Kids would probably learn better visually (videos) rather than books and text.
Knight18 News and Discussions 5 991 Aug-21-2020, 04:32 AM
    Thread: how to make objects move at a precise amount of time?
Post: RE: how to make objects move at a precise amount o...

1. Create a list with those values. 2. Create a variable that will act as the index (or counter) for the list. 3. Every time a collision occurs, update the variable and use the variable on the list t...
Knight18 Game Development 2 556 Aug-02-2020, 12:15 PM
    Thread: PyQt5 Full Tutorial
Post: RE: PyQt5 Full Tutorial

Thanks for that resource. I'll definitely use it as reference.
Knight18 Tutorial Requests and Submissions 4 1,181 Aug-02-2020, 12:09 PM
    Thread: PyQt5 Full Tutorial
Post: RE: PyQt5 Full Tutorial

That's certainly an interesting take. I'm still a bit new to PyQt5, so I'm still working out some of the finer details. Maybe a tutorial on resizing and sizes is needed. It's certainly an important co...
Knight18 Tutorial Requests and Submissions 4 1,181 Aug-01-2020, 05:03 PM
    Thread: PyQt5 Full Tutorial
Post: PyQt5 Full Tutorial

A Full Tutorial on the latest version (PyQt5) of the popular PyQt GUI library. All the way from setting it up and installing it to using advanced (and fancy) widgets such as the QProgressBar and QSlid...
Knight18 Tutorial Requests and Submissions 4 1,181 Aug-01-2020, 10:17 AM
    Thread: Failure to open web pages
Post: RE: Failure to open web pages

How many element are there in link_elems? You do know why you are getting this error right? It's because the index you trying to access doesn't exist in the list. Like, (this is a hypothetical situa...
Knight18 Homework 3 566 Jul-25-2020, 05:02 PM
    Thread: The best Python editor?
Post: RE: The best Python editor?

I personally use the Python IDE for quick development/writing small code. And I keep PyCharm around for a heavy duty IDE for my bigger projects. My HDD is a bit slow and PyCharm runs significantly slo...
Knight18 News and Discussions 12 1,569 Jul-22-2020, 04:52 AM
    Thread: PyInstaller related question
Post: RE: PyInstaller related question

You've likely made a mistake with the file paths and locations of your extra scripts/images/icons/etc. Make sure they are all in the same directory. If you didn't understand what I'm saying, read th...
Knight18 General Coding Help 6 916 Jul-18-2020, 06:02 AM
    Thread: Centering labels and buttons
Post: RE: Centering labels and buttons

I'm not sure I fully understand what you're describing, but it sounds a bit similar to this use of grid with entry boxes. It's about creating a table like arrangement of entry-boxes with no gap in bet...
Knight18 GUI 8 2,219 Jul-16-2020, 09:29 AM
    Thread: PyGame Not Quiting
Post: RE: PyGame Not Quiting

Your code just looks rather weird. I mean the part related to "quitting" and your placement of while loops. You lack a sys.exit() statement too. I really think you read this article and focus on how ...
Knight18 Game Development 2 670 Jul-16-2020, 09:11 AM
    Thread: Creating a Scrolling (infinite) Background
Post: Creating a Scrolling (infinite) Background

I've been dabbling in Pygame for over a month now and I've discovered many things. I've created two games so far + 2 more in development. I intend to share those some time in the future too. One of t...
Knight18 Tutorial Requests and Submissions 1 1,132 Jul-13-2020, 05:38 PM
    Thread: pushbutton with image
Post: RE: pushbutton with image

Yup you can. button = QPushButton(win) button.setIcon(QtGui.QIcon('myImage.jpg'))I copied the code from here, as reference.
Knight18 GUI 1 560 Jul-13-2020, 05:04 PM
    Thread: Web Crawler's Crawling Ability
Post: RE: Web Crawler's Crawling Ability

Is it your own web crawler or what?
Knight18 Web Scraping & Web Development 3 776 Jul-12-2020, 04:10 AM
    Thread: Why int() cannot pass a string representation of a float into int?
Post: RE: Why int() cannot pass a string representation ...

Because float will convert "4" to 4.0, which is a float. On the other hand, you simply can't have an integer with a value of 4.1, hence it fails. You could try stuff like rounding off or truncating ...
Knight18 General Coding Help 1 586 Jul-09-2020, 05:26 AM
    Thread: Compile to Windows exe.
Post: RE: Compile to Windows exe.

Wow, didn't know that. Thanks, I learnt something new today.
Knight18 General Coding Help 6 1,167 Jul-05-2020, 03:49 PM
    Thread: Improve performance
Post: RE: Improve performance

It would, yeah. But you're going to have to comprise somewhere. Unfortunately, Python isn't the best when it comes to speed and performance.
Knight18 Game Development 4 732 Jul-05-2020, 03:45 PM

User Panel Messages

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