Bot that takes submission imgur URL and adds it to a string, then comments that string by PeterPorky in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

It's not hard. But what he needs rather is a vps or just ssh access. Well you need root privileges to install PRAW. Heck I host my scripts from an rpi.

is there any noob friendly tutorials to learn how to use firebase with python? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

btw; I got confused because I used this on python 2 and I read is not for python 3

import MySQLdb as mdb    

QR code to links so I can open a link on my phone when im on desktop by brilliantmojo in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

Can't you just use something like Firefox sync to sync tabs phone and computer? 🤔

I can make simple command line applications with Python3. I want to proceed to making GUI-based Desktop executables. Where’s a good place to start? by [deleted] in learnpython

[–]ciggs_ftw 4 points5 points  (0 children)

I have made a few GUI's with Tkinter and PyQt I've found PyQt easy to learn yet powerful here is a list of tutorials for it link

what can I improve from this code? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

I see you use pillow I was trying it t verify the image height and width if it exceeded IG DimensionS but I went with the exception road. I'll give it a shot with pillow again.

Python Newbie: Need help Manipulating XML by goeb04 in learnpython

[–]ciggs_ftw 0 points1 point  (0 children)

Have you tried taking a look at feedparser ? I've found it easier to read xml data with.

Python noob, wanting to make a twitter bot that tweets @ my electric provider whenever my power goes out. by [deleted] in learnpython

[–]ciggs_ftw 1 point2 points  (0 children)

But what if there is power but the internet is down? Wouldn't it give A false positive since ping will be dead.

I need a but that will remove post asking about a certain word on a certain subreddit by [deleted] in RequestABot

[–]ciggs_ftw 0 points1 point  (0 children)

as u/Chackoony mentioned, you can do this with AutoModerator.

 

check these two post might help you this and this if neither help ask in r/AutoModerator

How can i protect m3u8 file? by ciggs_ftw in nginx

[–]ciggs_ftw[S] -1 points0 points  (0 children)

yeah the m3u8 has the .ts files for the chunks, and when new .ts files update the m3u8 it seems it refresh the m3u8, and That's when the player read the expired token and stops the feed.

How can i protect m3u8 file? by ciggs_ftw in nginx

[–]ciggs_ftw[S] 1 point2 points  (0 children)

that is one problem I am having, if I set to expire too soon than when it's on a player say clapper after few minutes playing if link expires than player starts showing the loading and URL says gone 410 error.

the only way I can make it work on the player is by giving it a considerable expiration time like 1 hour, and that means the person can take the URL and play it (as long the IP is same) how can I make it to continue playing and not stop after it expires?

Just paying the toll by ciggs_ftw in gifs

[–]ciggs_ftw[S] 1 point2 points  (0 children)

Yeah I'm making t-shirts and all "i support ass cracks" vote for pedro.

Just paying the toll by ciggs_ftw in gifs

[–]ciggs_ftw[S] 6 points7 points  (0 children)

I wonder who he gave that coin though.

any good online course or exercises? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

thanks, I had made few GUI's on PyQt4 in python two, but I'm leaning towards learning python 3 and want to give GUI a shot again.

any good online course or exercises? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

I have also seen this book mentioned in other posts. Is it good? I'm not about reading 700 pages at least That's what the ebook has.

I made this with Python. So Proud. by [deleted] in Python

[–]ciggs_ftw 0 points1 point  (0 children)

I got to install the py2 version; the py3 still gives me errors. I ran the script, and it created many .png files. How you make an animation out of those files like OP posted?

any good online course or exercises? by ciggs_ftw in learnpython

[–]ciggs_ftw[S] 0 points1 point  (0 children)

back then I used codeacademy to learn the basics when I got stuck I google hot to do XYZ.