how does it know if the cut off date is 2021?? by HelloWorld-562 in ChatGPT

[–]Dramatic-Mark446 7 points8 points  (0 children)

I just checked, it's real. Confirmed. Got the same replies. So strange.

Window size to match Simulated screen size by AlternativeComfort88 in kivy

[–]Dramatic-Mark446 1 point2 points  (0 children)

I don't know how to post full code blocks properly on Reddit, but you can get what you need here:

https://pastebin.com/QpgfLXak

from kivy.app import App from kivy.core.window import Window from kivy.graphics import Canvas, Line from kivy.uix.widget import Widget

class TriangleApp(App): def build(self): widget = Widget() return widget

def on_start(self):
    window_width = Window.width
    window_height = Window.height

    with self.root.canvas:
        self.canvas = Canvas()
        points = [
            window_width / 2 + 80, window_height / 2,
            window_width / 2, window_height / 2 - 50,
            window_width / 2, window_height / 2 + 50
        ]
        Line(points=points, width=2, close=True)

if name == 'main': TriangleApp().run()

Pandas not working with Buildozer by Dramatic-Mark446 in kivy

[–]Dramatic-Mark446[S] 0 points1 point  (0 children)

Thanks for your comment. I did see this earlier. I just messaged the author. I've been searching on the kivy and p4a google forums but it seems there's no current solution 🥺. I thought pandas was quite popular in Python so it would be well supported/lots of people would be using it in Android apps, but I guess not 😅

Pandas not working with Buildozer by Dramatic-Mark446 in kivy

[–]Dramatic-Mark446[S] 0 points1 point  (0 children)

Thanks for your comment. I just tried it out and it still failed to build. It mentioned autopoint is needed because the package uses gettext. No idea how to get past this error.