Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Negative Percentage PHP
Post: RE: Negative Percentage PHP

How in the world are that many database queries even being ran? With no plugins index.php is around 11.
Dragonexpert Board 6 5,784 Dec-07-2016, 07:15 PM
    Thread: idea for code boxes
Post: RE: idea for code boxes

Perhaps something like this: $excode = explode("\n", $code); if(count($excode) >= 50) { // spoiler stuff here }Replace with the correct variable name though.
Dragonexpert Board 4 5,411 Nov-03-2016, 12:59 PM
    Thread: I hate text editors
Post: RE: I hate text editors

I needed a couple of the products Jetbrains has so I ended up getting the licence for all products since it was cheaper for me. So far Pycharm seems alright.
Dragonexpert Bar 38 22,177 Oct-25-2016, 01:50 PM
    Thread: banning accounts upon key words/phrases
Post: RE: banning accounts upon key words/phrases

Just the post, but its only 2 extra lines of coding to have it check subject line as well.
Dragonexpert Board 22 14,684 Oct-24-2016, 03:48 PM
    Thread: banning accounts upon key words/phrases
Post: RE: banning accounts upon key words/phrases

The error message says your post contains one or more words that are not allowed.
Dragonexpert Board 22 14,684 Oct-24-2016, 03:37 PM
    Thread: banning accounts upon key words/phrases
Post: RE: banning accounts upon key words/phrases

I just finished building a plugin for a user that lets you scan a post for select words. If it contains a specific word, it gives an error message and the post won't go through. If the person is alr...
Dragonexpert Board 22 14,684 Oct-24-2016, 03:12 PM
    Thread: Creating Dynamic Variable Names
Post: RE: Creating Dynamic Variable Names

I was able to get it to work for selecting all fields. Final Code: https://github.com/dragonexpert/Python-M...convert.py
Dragonexpert General Coding Help 3 8,146 Oct-22-2016, 02:17 PM
    Thread: Creating Dynamic Variable Names
Post: RE: Creating Dynamic Variable Names

(Oct-21-2016, 09:24 PM)Ofnuts Wrote: So result is a dictionary, which means you have to initialize it with an empty dictionary (result={} before the loop...) Thanks so much.  The code works perfectl...
Dragonexpert General Coding Help 3 8,146 Oct-22-2016, 12:41 PM
    Thread: Creating Dynamic Variable Names
Post: Creating Dynamic Variable Names

I was looking around at the MySQLdb extension and noticed that returns are a field number instead of a field name. I was working on building a function to convert, but I got stuck. Everything works ex...
Dragonexpert General Coding Help 3 8,146 Oct-21-2016, 05:02 PM
    Thread: New Users Introduce Yourself
Post: RE: New Users Introduce Yourself

I was formerly part of the MyBB Group. I had resigned because of not having the time to be available consistently. I take on custom plugins occasionally. I haven't really used Python, but it does in...
Dragonexpert Bar 431 230,296 Oct-19-2016, 02:42 PM

User Panel Messages

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