Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,431
» Latest member: LhanePulse
» Forum threads: 38,833
» Forum posts: 176,092

Full Statistics

Online Users
There are currently 31 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, Applebot, AOL

Latest Threads
OLanePulse
Forum: General Coding Help
Last Post: LhanePulse
41 minutes ago
» Replies: 0
» Views: 9
Website Loads Slowly on D...
Forum: News and Discussions
Last Post: drelion
1 hour ago
» Replies: 0
» Views: 12
unicode and utf-8
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:40 PM
» Replies: 4
» Views: 385
If I open a file write or...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 07:49 AM
» Replies: 11
» Views: 722
scipy.optimize.curve_fit ...
Forum: Data Science
Last Post: willflanagan
Yesterday, 02:26 AM
» Replies: 1
» Views: 592
We open-sourced kubesdk —...
Forum: Code sharing
Last Post: JamesGreenwald
Jan-13-2026, 12:46 PM
» Replies: 1
» Views: 587
we open-sources faster py...
Forum: Code sharing
Last Post: tomtyiu
Jan-13-2026, 12:31 AM
» Replies: 0
» Views: 57
Exponential Number Conver...
Forum: General Coding Help
Last Post: Jessicaadams
Jan-12-2026, 02:41 PM
» Replies: 5
» Views: 572
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Jan-11-2026, 05:21 AM
» Replies: 3
» Views: 802
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Jan-11-2026, 02:57 AM
» Replies: 8
» Views: 631

 
Thumbs Up First impressions on forum software
Posted by: Kebap - Sep-13-2016, 02:24 PM - Forum: Board - Replies (29)

The new forum software seems really nice! I just wanted to explain this, because I may post more threads focussing on small improvements and annoyance..... More

Print this item

  User signatures
Posted by: Kebap - Sep-13-2016, 02:19 PM - Forum: Board - Replies (17)

I wanted to copy my signature from the old forum to here, but receive an error message:


[quote]
You cannot update your signature because it is too l..... More

Print this item

  Are the security questions for registration necessary
Posted by: Mekire - Sep-12-2016, 06:06 PM - Forum: Board - Replies (5)

Yo.

Also, assuming those are intended to be permanent, you really need to get rid of those security questions for registration.  It is way too much..... More

Print this item

  Text Adventure Tutorial - if structure to dictionary
Posted by: ichabod801 - Sep-05-2016, 10:26 PM - Forum: Game Tutorials - Replies (6)

So, you're new to Python, and you want to make a game. You figure you'll make a text adventure game, that won't be too hard. To get started, you just ..... More

Print this item

  Modules part 3
Posted by: metulburr - Sep-05-2016, 09:11 PM - Forum: Fundamentals - No Replies

Package Imports
Package imports are nothing more than a directory of imports. It turns a path on your computer into another namepsace, ..... More

Print this item

  Modules part 2
Posted by: metulburr - Sep-05-2016, 09:11 PM - Forum: Fundamentals - Replies (1)

Module Creation
Python modules are just files of python code. You do not need to write special syntax to tell python you are making a m..... More

Print this item

  Modules part 1
Posted by: metulburr - Sep-05-2016, 09:10 PM - Forum: Fundamentals - No Replies

Each file is a module, and modules import other modules to use the names they define. Modules provide an easy way to organize components into a system..... More

Print this item

  Multiple expressions with "or" keyword
Posted by: metulburr - Sep-05-2016, 09:10 PM - Forum: Common pitfalls and what to do - Replies (1)

Quote:incorrect
if input_value == "Yes" or "yes" or "y" or "Y":

A simple mistake: each expression after a or keyword i..... More

Print this item

  windows command prompt modifications, add options, start loc, add copy
Posted by: metulburr - Sep-05-2016, 09:06 PM - Forum: Python Installation and Execution - Replies (1)

change starting location of opening command prompt

This is a quick tutorial to change your command prompt auto start directory. Lets assume ..... More

Print this item

  syntax highlighting
Posted by: metulburr - Sep-05-2016, 12:32 AM - Forum: Board - Replies (57)

There is a plugin installed that allows syntax highlighting. The BBCode for it is

[shcode=python]CODE HERE[/shcode]
EDIT:
The BBCode ..... More

Print this item

  testing syntax highlighter
Posted by: metulburr - Sep-05-2016, 12:22 AM - Forum: Bar - Replies (5)

Python
[shcode=python]
class Ship:
   def __init__(self, sheet):
       self.frames = strip_from_sheet(sheet, (0,0), (122,164), 4, 4)
       self..... More

Print this item

  testing unanswered posts (old)
Posted by: metulburr - Sep-02-2016, 04:40 PM - Forum: Board - No Replies

The CSS for code blocks is located at  ACP -> Templates and Style -> Themes -> Default -> global.css -> Select fro mthe drop down menu ".codeblock". T..... More

Print this item

  Testing formatting
Posted by: Ofnuts - Sep-02-2016, 10:01 AM - Forum: General Coding Help - Replies (1)

Trying

SomeCode+=instructions
  • A list
  • with
  • bullets
    1. a sublist
    2. with
    3. numbers
    [/lis..... More

Print this item

  Day one thoughts
Posted by: sparkz_alot - Sep-01-2016, 08:31 PM - Forum: Board - Replies (4)

This software, myBB, seems to work quite well right out of the box. I do, however, have two dislikes. The first is the "Member List" is viewable by ev..... More

Print this item

  Strings, index and slicing
Posted by: metulburr - Sep-01-2016, 08:19 PM - Forum: Fundamentals - Replies (5)

Single and Double Quotes
[spoiler=(Click to expand)]
String literals can be enclosed in either two single or two double quotes. The reason fo..... More

Print this item

  Lists
Posted by: metulburr - Sep-01-2016, 08:18 PM - Forum: Fundamentals - Replies (1)

Both lists and dictionaries are collections of objects. They both can be changed in place, can grow or shrink, and also can have any other objects nes..... More

Print this item

  Dictionaries
Posted by: metulburr - Sep-01-2016, 08:18 PM - Forum: Fundamentals - Replies (1)

You can think of Dictionaries as a collection of data that is unorganized, unlike lists. Items in dictionaries are stored and fetched by a key, instea..... More

Print this item

  Indentation
Posted by: metulburr - Sep-01-2016, 08:16 PM - Forum: Fundamentals - Replies (2)

Python detects block boundaries automatically, by line indentation. (the empty space to the left of your code). All statements indented the same dista..... More


Attached Files

Thumbnail(s)
               
Print this item

  How to Execute python code
Posted by: metulburr - Sep-01-2016, 08:15 PM - Forum: Python Installation and Execution - Replies (2)

There are 3 main ways to execute python code.

1) Interactive Prompt
[spoiler=(Click to expand)]
This is mostly used for experimenting and ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Namespace flooding with * imports
Posted by: metulburr - Sep-01-2016, 08:14 PM - Forum: Common pitfalls and what to do - Replies (1)

This is a tutorial of what not to do. Why not to do it, and what to use instead.


What not to use: (this is the most widely used examples)
[code]..... More

Print this item

  Files
Posted by: metulburr - Sep-01-2016, 08:13 PM - Forum: Fundamentals - Replies (4)

Files

The built-in function open() creates a Python file object, which serves as a link to a file residing on your machine. After cal..... More

Print this item

  Creating a repo for your completed scripts
Posted by: metulburr - Sep-01-2016, 08:12 PM - Forum: Tutorials - Replies (1)

If you dont know, there are sites that you can upload your code to where people can look, upload fixes, comment on, and download your code. It makes i..... More

Print this item

  Popularity Poll of myBB
Posted by: sparkz_alot - Sep-01-2016, 08:02 PM - Forum: Board - Replies (8)

What do you think of myBB from a 'user' standpoint?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  OLanePulse 41 minutes ago LhanePulse LhanePulse General Codin...
  Website Loads Slowly on D... 1 hour ago drelion drelion News and Disc...
  unicode and utf-8 Yesterday, 13:40 sorynturda DeaD_EyE General Codin...
  If I open a file write or... Yesterday, 07:49 Pedroski55 Pedroski55 General Codin...
  scipy.optimize.curve_fit ... Yesterday, 02:26 willflanagan willflanagan Data Science
  We open-sourced kubesdk —... 01-13, 12:46 beslanpuzl JamesGreenwald Code sharing
  we open-sources faster py... 01-13, 00:31 tomtyiu tomtyiu Code sharing
  Exponential Number Conver... 01-12, 14:41 Tuurbo46 Jessicaadams General Codin...
  a function to watch files 01-11, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... 01-11, 02:57 arbiel Pedroski55 General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
Most views
  The best Prog... 580836
  Tutorial Requ... 522890
  Web Scraping ... 442963
  New Users Int... 388608
  Newbie with P... 387183
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8197
snippsat 7399
deanhystad 6922
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
LhanePulse Today
drelion Today
Michaellor Today
PepeCyB 01-13
KennedyRichardDev 01-13

User Panel Messages

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