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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,574
» Latest member: Donaldabani
» Forum threads: 38,632
» Forum posts: 175,025

Full Statistics

Online Users
There are currently 484 online users.
» 0 Member(s) | 479 Guest(s)
Bing, Baidu, Google, Yandex, AOL

Latest Threads
[split] Simple webbot for...
Forum: Code Review
Last Post: Larz60+
1 hour ago
» Replies: 2
» Views: 78
Dynamic Module Import Err...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 2
» Views: 116
What Are the Most Overloo...
Forum: News and Discussions
Last Post: Plyth
Today, 03:37 AM
» Replies: 2
» Views: 108
Setting AST node lineno c...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 09:15 PM
» Replies: 4
» Views: 213
How do select this table ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 03:52 PM
» Replies: 7
» Views: 272
Wish to write a code for ...
Forum: General Coding Help
Last Post: Hasan2025
Yesterday, 06:40 AM
» Replies: 4
» Views: 986
I have a question
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 04:47 AM
» Replies: 1
» Views: 94
How to produce a CPU load...
Forum: General Coding Help
Last Post: Plyth
Yesterday, 02:19 AM
» Replies: 2
» Views: 124
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jun-17-2025, 02:23 AM
» Replies: 1
» Views: 138
Webscraping: Attendance L...
Forum: Web Scraping & Web Development
Last Post: Larz60+
Jun-17-2025, 02:20 AM
» Replies: 1
» Views: 110

 
  Efficiency Crash Course
Posted by: micseydel - Oct-10-2016, 03:37 PM - Forum: Common pitfalls and what to do - Replies (2)

[Migrated from old forum, originally posted 20 January 2015.]

I'm writing this post because occasionally people ask about efficiency on the forum, an..... More

Print this item

  Generators/Iterators
Posted by: micseydel - Oct-10-2016, 03:30 PM - Forum: Fundamentals - No Replies

Iterators are simple objects which can be iterated over, and which can be interrupted, and continued later on. If you have an iterable such as a list,..... More

Print this item

  Comprehension Expressions
Posted by: micseydel - Oct-10-2016, 03:28 PM - Forum: Fundamentals - No Replies

[Migrated from the old forum, originally posted 22 February 2013.]

[color=#333333]Comprehensions are syntactic sugar for for loops. Here is co..... More

Print this item

  Naming Conventions (PEP 8)
Posted by: micseydel - Oct-10-2016, 03:21 PM - Forum: Common pitfalls and what to do - No Replies

[Migrated from old forum, originally posted 22 February 2013.]

[color=#333333][size=medium]NOTE: There's definitely wiggle room when it comes to th..... More

Print this item

  Sum Series w/ Fractions
Posted by: EwH006 - Oct-10-2016, 02:42 PM - Forum: Homework - Replies (12)

Good Morning,

I am new to programming and these forums. I plan on becoming a little more active here and on IRC while working toward my degree.

..... More

Print this item

  cookie operation
Posted by: x64 - Oct-10-2016, 02:07 PM - Forum: Web Scraping & Web Development - Replies (1)

i can not retrive cookie in python that i set.......
this code is for set up cookie.......
[python]
#!"E:\python\python.exe"
from http import cook..... More

Print this item

  Parallel Python
Posted by: Manjunath - Oct-10-2016, 09:54 AM - Forum: General Coding Help - Replies (2)

Hi, I'm processing huge data around 13million records, I have my sequential algorithm running for small number of records, my plan is to run the same ..... More

Print this item

  Dark theme
Posted by: metulburr - Oct-10-2016, 05:40 AM - Forum: Board - Replies (21)

I added a new dark theme. Each user can select their own theme in their User CP -> edit options -> Board style -> Carbon/default. Or the same can be d..... More

Print this item

  Learning python with LPTHW
Posted by: diemildefreude - Oct-10-2016, 03:35 AM - Forum: News and Discussions - Replies (30)

[quote='snippsat' pid='2093' dateline='1476040213']
Yep more about learning basic command line stuff,
and Powershell(not fan of it) only comes up be..... More

Print this item

  IRC alchemy bot using sockets
Posted by: metulburr - Oct-10-2016, 01:54 AM - Forum: Code sharing - Replies (2)

I wrote this years ago. So there are few bad habits on this. 
[spoiler]
[python]import sys
import socket
import string
import time, os
import ra..... More

Print this item

  creating an dropdownlist with javascript in django
Posted by: shahpy - Oct-10-2016, 01:05 AM - Forum: Web Scraping & Web Development - Replies (6)

hello

i have a question in django.
i hope you can help me.
i want to to get address of user when he is signing up.

i want to have a dropdownli..... More

Print this item

  [book] Various python and non python books available each day (free for 24hrs)
Posted by: Yoriz - Oct-09-2016, 11:36 PM - Forum: News and Discussions - Replies (188)

Various python and non python books available each day (free for 24hrs) that you would normally be charged payment for from ..... More

Print this item

  Basic animation (part 5)
Posted by: metulburr - Oct-09-2016, 08:17 PM - Forum: Game Tutorials - Replies (1)

Back to part 4
https://python-forum.io/Thread-PyGame-Ad...cts-part-4



We are going to skip over the space shooter game on this o..... More


Attached Files

Thumbnail(s)
           
Print this item

  Adding player effects (part 4)
Posted by: metulburr - Oct-09-2016, 08:11 PM - Forum: Game Tutorials - No Replies

Back to part 3
https://python-forum.io/Thread-PyGame-Ba...ing-part-3



We are going to add the ability to make the ship shoot a la..... More

Print this item

  Basic event handling (part 3)
Posted by: metulburr - Oct-09-2016, 03:15 PM - Forum: Game Tutorials - No Replies

Back to part 2
https://python-forum.io/Thread-PyGame-Lo...ets-part-2



Basic movement of an image can..... More

Print this item

  Loading images, transparency, handling spritesheets (part 2)
Posted by: metulburr - Oct-09-2016, 03:01 PM - Forum: Game Tutorials - No Replies

Back to Part 1
https://python-forum.io/Thread-PyGame-Cr...dow-part-1



Dow[url=https://python-forum.io/thread-403.html]..... More


Attached Files

Thumbnail(s)
                   
Print this item

  Creating a window (part 1)
Posted by: metulburr - Oct-09-2016, 02:54 PM - Forum: Game Tutorials - No Replies

This tutorial starts a series of tutorials. This specific one handles opening a window, and modifications to that window. Feel free to ask questions o..... More


Attached Files

Thumbnail(s)
   
Print this item

  a python script i would like to have
Posted by: Skaperen - Oct-09-2016, 09:00 AM - Forum: General Coding Help - Replies (3)

i would like to have a python script that, given the path to another script, will indicate if there is a reason that other script would need to be run..... More

Print this item

  guessing script
Posted by: simon - Oct-09-2016, 08:02 AM - Forum: Homework - Replies (3)

Hello, this is my first time in python and i need help with my code, i want to guess a number between 1-100, but the problem is i can only guess 1-3ti..... More

Print this item

  Help with click
Posted by: dullboy - Oct-09-2016, 07:54 AM - Forum: General Coding Help - Replies (12)

Here is the code,
[code]
#test.py
import click
def print_version(ctx, value):
   if not value or ctx.resilient_parsing:
       return
   click...... More

Print this item

  Shorten this List Comprehension
Posted by: ATXpython - Oct-09-2016, 01:10 AM - Forum: General Coding Help - Replies (7)

Hello,

I currently have a script that pulls data from rows of a spreadsheet, appends that to a list, then writes that list to a csv file.
Recently..... More

Print this item

  GUI list of installed packages
Posted by: Larz60+ - Oct-09-2016, 12:23 AM - Forum: Code sharing - Replies (2)

Hello,

I had this posted on python-forum.org.
It's a simple tkinter list of installed packages and version numbers

[code]
import tkinter.tix a..... More

Print this item

  Testing unanswered posts (new)
Posted by: ichabod801 - Oct-08-2016, 11:08 PM - Forum: Board - No Replies

Please do not respond to this post.

Quote:TESTING: this post should show in unanswered

Print this item

  Alt history randomized
Posted by: jamesfrancis - Oct-08-2016, 07:26 PM - Forum: Code sharing - Replies (2)

I made this program called the Alt history randomized.
As you can see, it prints a string that basically creates a new, random historical figure, his..... More

Print this item

  Asynchronous Logging in python 2.7
Posted by: Elbi - Oct-08-2016, 06:37 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm new to python. I need help with asynchronous logging implementation

We are doing a lot of logging in our code and we have found that a l..... More

Print this item

  Forum-wide Competition: Rock Paper Scissors [Meta-thread]
Posted by: nilamo - Oct-08-2016, 06:10 PM - Forum: News and Discussions - Replies (10)

This thread exists to hold information about the competition itself... not discussion about individual bots or the current standings (there will be an..... More

Print this item

  Entry widget : unable to get the text entered
Posted by: dlemper - Oct-08-2016, 03:10 PM - Forum: GUI - Replies (2)

System is Windows 8.1  Python 3.5
 
The entry window appears and text can be typed, but I've been unable to get/use that text.
Have reread most web..... More

Print this item

  Competitions?
Posted by: nilamo - Oct-08-2016, 03:04 PM - Forum: Board - Replies (2)

I've been working on a competition for members of our little forum, but... where should I post it? General? Scripts? Bar? It'll be an ongoing thing, w..... More

Print this item

  Cant Get Powershell to run a python program from notepad++. Newbie help!
Posted by: Pythonerous - Oct-08-2016, 02:45 PM - Forum: General Coding Help - Replies (4)

Hey Forum!

Im new here and happy that I'm part of the community.

I just started geting into programming and recived a book on how to learn Pytho..... More

Print this item

  Where are the girls?
Posted by: wavic - Oct-08-2016, 02:22 PM - Forum: Bar - Replies (10)

Any pywomen here? 
I am sure that Python fits on any lady.  :cool:

Print this item

  Dynamic Allocation of Nested Dictionaries
Posted by: Larz60+ - Oct-08-2016, 12:39 PM - Forum: Code sharing - Replies (15)

Hello,

Here's a class for dynamically allocating a dictionary with an example
[code]"""
Dynamic nested dictionary
Author: Larz60+
"""
#
impor..... More

Print this item

  How would i go about making test-pattern images through Rpi via HDMI?
Posted by: john.t - Oct-08-2016, 07:10 AM - Forum: GUI - Replies (1)

Hello,
Iv'e just started using raspberry pi and people told me that python is a good code language to start playing with RPi.
My question is does an..... More

Print this item

  How do i get emacs to show a 79 character line limit ?
Posted by: Skaperen - Oct-08-2016, 05:38 AM - Forum: General Coding Help - Replies (7)

"Limit all lines to a maximum of 79 characters." lots of my CLI windows are 166 characters wide.  but i often edit python files there.  i use emacs in..... More

Print this item

  Need help with lists to continue my assignment code
Posted by: tinabina22 - Oct-07-2016, 10:07 PM - Forum: Homework - Replies (9)

How can I add a name and password to my list named, "samplePasswordFile" using Python 3...... More

Print this item

  grid layout
Posted by: neech - Oct-07-2016, 06:18 PM - Forum: GUI - Replies (8)

I would like to be consistent in my window management (I heard that was best practice). However, I have a window that is 800x400 which is the size of ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] Simple webbot for... 1 hour ago AB073 Larz60+ Code Review
  Dynamic Module Import Err... 3 hours ago DaddyMAN snippsat General Codin...
  What Are the Most Overloo... Today, 03:37 shreyapatel Plyth News and Disc...
  Setting AST node lineno c... Yesterday, 21:15 voidtrance deanhystad General Codin...
  How do select this table ... Yesterday, 15:52 MarkMan snippsat Web Scraping ...
  Wish to write a code for ... Yesterday, 06:40 Hasan2025 Hasan2025 General Codin...
  I have a question Yesterday, 04:47 Clictithe Pedroski55 General Codin...
  How to produce a CPU load... Yesterday, 02:19 Calab Plyth General Codin...
  Venv - Python Virtual Env... 06-17, 02:23 DanneA Larz60+ General Codin...
  Webscraping: Attendance L... 06-17, 02:20 ThatsMe Larz60+ Web Scraping ...
  Convert any Python expres... 06-16, 14:06 voidtrance voidtrance General Codin...
Most views
  The best Prog... 572254
  Tutorial Requ... 484752
  Web Scraping ... 436794
  Newbie with P... 379622
  Thread remain... 351214
Most reputation
buran 581
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7337
deanhystad 6838
metulburr 5151
Top referrers
Googlepro 24
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
Donaldabani Today
linnchinnn Today
crobertson Today
PeterBoowl Today
ldbdragon Today

User Panel Messages

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