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,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 70 online users.
» 1 Member(s) | 63 Guest(s)
Applebot, Bing, Google, AOL, Axel_Erfurt

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 359
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 06:57 PM
» Replies: 10
» Views: 3,823
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,393
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 728
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,200
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,071
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,299
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,292
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,415
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 977

 
  Unit 18 Procedural Programming Python
Posted by: kanwal121 - Dec-17-2017, 01:47 PM - Forum: Homework - Replies (6)

def newBalance(newBalance,addvertCost,productPurchased): #this is to pass the calculations throgh the parameter
answer = newBalance-addvertCost-..... More

Print this item

  Looping through variables and setting them
Posted by: ColdDeath - Dec-17-2017, 01:27 PM - Forum: General Coding Help - Replies (7)

I'm not new to programming, however I am new to Python.

To learn python, I've decided to make an AI for tic tac toe (or knots and crosses).

I've..... More

Print this item

  Pollution level using dictionaries
Posted by: klara - Dec-17-2017, 10:45 AM - Forum: Homework - Replies (37)

So I have this problem: I have a month and for each day in the month I have a city with a certain level of pollutin. Some cities can also be missing f..... More

Print this item

  Need Help With My PYgame Script
Posted by: ghost0fkarma - Dec-17-2017, 01:21 AM - Forum: Game Development - Replies (2)

[python]import pygame

pygame.init()

display_width = 800
display_height = 600

Black = (0, 0, 0)
White = (255, 255, 255)
Red = (255, 0, 0)

gameDispl..... More

Print this item

  Newbie question: .isnan
Posted by: Truman - Dec-17-2017, 01:08 AM - Forum: General Coding Help - Replies (3)

[quote]
import math
raw_data = [56.2, float('NaN'), 51.7, 55.3, 52.5, float('NaN'), 47.8]
filtered_data = []
for value in raw_data:
if not ma..... More

Print this item

  Apparently module has no attribute display?
Posted by: Klar - Dec-17-2017, 12:07 AM - Forum: Game Development - Replies (29)

Hey, it's me again! I have no experience with PyGame at all!
Anyway, I'm importing this code:
[python]import pygame

screen = pygame.display.set_m..... More

Print this item

  SeePy and Loge - easy and fast dynamic report generation with Python
Posted by: lucke - Dec-16-2017, 10:58 PM - Forum: Code sharing - Replies (1)

Welcome all python user! I’m new on this forum.

Please find two projects I have been working on for some time.

SeePy
https://bitbucket.org/lukaszlab..... More

Print this item

  Newbie question for a kind of rolling average of list of lits
Posted by: zydjohn - Dec-16-2017, 09:13 PM - Forum: General Coding Help - Replies (3)

Hello:
I have one list of lists, like this:

totals = [[1, 2, 3], [2, 3, 4], [5, 6, 7], [10, 9, 8], [4, 5, 6]]
I need a functio..... More

Print this item

  need coder to change to sched function in script
Posted by: kwfreverie - Dec-16-2017, 07:47 PM - Forum: Jobs - Replies (6)

Hi coders, The following code is supposed to run once per day. I need help changing the following code so that I can have it run every x hours. Al..... More

Print this item

  Django packages for website with paid user accounts
Posted by: jmarchini - Dec-16-2017, 07:26 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello,

I need to build a website which has the following features.

(a) customers create an password protected account and pay a fee.
(b) once..... More

Print this item

  Help with a misbehaving variable.
Posted by: jarrod0987 - Dec-16-2017, 07:23 PM - Forum: General Coding Help - Replies (3)

Hope this tag thing works.
So I had this program working as a stand alone but now I'm trying to turn it into reusable functions.
It keeps telling me I..... More

Print this item

  change timing on py script
Posted by: kwfreverie - Dec-16-2017, 07:06 PM - Forum: General Coding Help - Replies (2)

I'm not a coder, but trying to learn. So please bear with me if I'm not expressing myself clearly.

I have two 2.7 .py scripts. One logs into a go..... More

Print this item

  Debuger help
Posted by: jarrod0987 - Dec-16-2017, 06:28 PM - Forum: General Coding Help - Replies (5)

I have been playing with idle a few weeks now. Mostly just learning python basics.
I would like to be able to use the debuger. I watched a few short ..... More

Print this item

  Unit 18: Procedural Programming Assignment (Shop Simulation)
Posted by: shaheduk323 - Dec-16-2017, 06:00 PM - Forum: Homework - Replies (28)

Unit 18: Procedural Programming Assignment (Shop Simulation)

Specification

The company are involved in several innovative projects and are curre..... More

Print this item

  Errors in my encryption algorithm
Posted by: SlimeBOOS - Dec-16-2017, 05:18 PM - Forum: General Coding Help - Replies (1)

So.. I wanted to make an algorithm that would encrypt the name of a file. AND I DID IT... i think , because sometimes when i run the algorithm to decr..... More

Print this item

  programming assignment
Posted by: mario - Dec-16-2017, 04:13 PM - Forum: Homework - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Searching for someone to help with python
Posted by: PythonStats - Dec-16-2017, 03:49 PM - Forum: Jobs - Replies (1)

I am looking for someone who can create a visualization of the macd on specific data.

Will pay for it.

For more details please PM.

Greetings ..... More

Print this item

  Correct way to import from a standalone module in a different location
Posted by: chowder - Dec-16-2017, 03:24 PM - Forum: General Coding Help - Replies (3)

Hello everyone.

I have the following setup:

  • 3 separate AWS Lambda functions, written in Python
  • A small Flask app to test and run th..... More

Print this item

  Sort a list that is embedded
Posted by: Whisper40 - Dec-16-2017, 03:20 PM - Forum: General Coding Help - Replies (3)

Hello, i'm on a personnal project whose objective is to sort a list by name and not by first name.
However i have to keep the couple "name-firstname"
..... More

Print this item

  Noob Needs Help with almost finished script will pay
Posted by: dirty794 - Dec-16-2017, 03:00 PM - Forum: Jobs - Replies (12)

I have a Program that a friend made me and it has stopped working im just getting into python so I need help. I am willing to pay for your time. it cu..... More

Print this item

  2.7.8 Python installation error
Posted by: Benjipincus - Dec-16-2017, 01:46 PM - Forum: General Coding Help - Replies (2)

Hi all,
Cannot install Python 2.7.8 for Mac OS
It says "cannot install software because there is no software found"
please help to assist me with t..... More

Print this item

  Noobie Question, Libreries on Intellij
Posted by: donjon - Dec-16-2017, 01:20 PM - Forum: General Coding Help - Replies (2)

Hi there. I take an online Python cours and I am having a problem downloading new libreries.

[Image: fy5m7.jpg]

As ..... More

Print this item

  Importing pygame Mac problem
Posted by: Benjipincus - Dec-16-2017, 12:36 PM - Forum: Game Development - Replies (1)

I am having a problem installing pygame. I currently have a Mac and I am using Python 2.7.14. I installed pygame-1.9.1release-python.org-32bit.py2.7-m..... More

Print this item

  TypeError: len() of unsized object in Python Extreme Learning Machine (ELM) package
Posted by: Summer - Dec-16-2017, 11:41 AM - Forum: General Coding Help - No Replies

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  ImportError: No module named '_sqlite3'
Posted by: armanmax11 - Dec-16-2017, 11:09 AM - Forum: Web Scraping & Web Development - Replies (5)

Whenever i'm importing sqlite3, it give an import error. Can anyone tell me how to import sqlite3 for python3. Apart, im using cent os 6.5 on my vps...... More

Print this item

  How many money in 30 days.
Posted by: miguelramos122 - Dec-16-2017, 11:05 AM - Forum: General Coding Help - Replies (4)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Set attribute to a value CSR
Posted by: Samsar - Dec-16-2017, 10:41 AM - Forum: Data Science - Replies (1)

Im asked to write a clss SparseMatrix with an __init__ method which uses a numpy.array as matrix input and which generates an internal representation ..... More

Print this item

  Newbie question for complicated namedtuple generation
Posted by: zydjohn - Dec-16-2017, 09:50 AM - Forum: General Coding Help - No Replies

Hello:
I have some code by hand:
[python]
import collections
listA = [ 1.1, 1.2, 1.3, 1.4, 1.2, 1.1, 1.0, 1.1, 1.2, 1.3 ]
listB = [-1.0,-1.1,-1.2..... More

Print this item

  Which version of python goes well with tkinter?
Posted by: mgtheboss - Dec-16-2017, 09:29 AM - Forum: GUI - Replies (19)

Hi,

Before I get started, I would like to admire the efforts of forum admins, moderators, and members for their excellent contributions in maintainin..... More

Print this item

  Trying to find a more cpu effecent way of doing this.
Posted by: rawrmonster - Dec-16-2017, 06:51 AM - Forum: General Coding Help - Replies (8)

[python]
def KillProcess(list):
while(True):
for program in list:
for proc in psutil.process_iter():
if p..... More

Print this item

  TypeError: '>' not supported between instances of 'str' and 'int'
Posted by: dadler1217 - Dec-16-2017, 05:22 AM - Forum: General Coding Help - Replies (1)

I'm having some trouble with this code:

def is_hot (N):
if N<2:
return ("cold")
elif is_hot(N/2) > 1 or is_hot(N-1) > 1:
..... More

Print this item

  [split] mods gone
Posted by: Larz60+ - Dec-16-2017, 05:01 AM - Forum: Board - Replies (2)

Looking in that thread, it just made me realize that Ichabod hasen't logged in since October.

Print this item

  PyGame Nibbles tutorial for beginners.
Posted by: Windspar - Dec-16-2017, 03:04 AM - Forum: Tutorial Requests and Submissions - Replies (3)

I would have summit this in tutorial request and submission. There is no post thread there.

First thing. Build a boiler plate. Opens ..... More

Print this item

  dppv.py
Posted by: Skaperen - Dec-16-2017, 02:33 AM - Forum: Code sharing - No Replies

this is the code referenced in the "getting the source line number" thread:[p..... More

Print this item

  Problem importing pygame / installing pygame
Posted by: Klar - Dec-16-2017, 02:29 AM - Forum: Game Development - Replies (4)

import pygame
[error] File "C:\Python34\lib\site-packages\pygame\__init__.py", line 95, in <module>
from pygame.base import *..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  403 Error Yesterday, 18:57 CaptainNewb CaptainNewb Web Scraping ...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576305
  Tutorial Requ... 497993
  Web Scraping ... 440219
  Newbie with P... 384072
  New Users Int... 366843
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7367
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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