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,977
» Latest member: stephaniehendrix
» Forum threads: 38,732
» Forum posts: 175,564

Full Statistics

Online Users
There are currently 37 online users.
» 2 Member(s) | 32 Guest(s)
Bing, Google, AOL, snippsat, Williamcaurb

Latest Threads
Webscrapping sport bettin...
Forum: Web Scraping & Web Development
Last Post: Williamcaurb
2 minutes ago
» Replies: 5
» Views: 13,861
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
10 hours ago
» Replies: 2
» Views: 229
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:21 AM
» Replies: 2
» Views: 861
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 05:45 PM
» Replies: 6
» Views: 908
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 12:59 PM
» Replies: 8
» Views: 599
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 2,949
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,365
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,944
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,371
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,283

 
  performance time
Posted by: Skaperen - Apr-09-2019, 04:20 AM - Forum: News and Discussions - Replies (2)

back in the day when computers were slower and were often programmed in assembly, much concern was given to choice of code to achieve a lower number o..... More

Print this item

  Need help with my assignment please - game of Solitaire
Posted by: Muzz - Apr-09-2019, 01:23 AM - Forum: Homework - Replies (6)

Hi everyone,

I need some help with my assignment, im not looking for anyone to do the code for me or even tell me what I need to do step by step. I..... More

Print this item

  Greedy Cow Transport
Posted by: Truman - Apr-08-2019, 10:13 PM - Forum: Homework - Replies (18)

[i]A colony of Aucks (super-intelligent alien bioengineers) has landed on Earth and has created new species of farm animals! The Aucks are performing ..... More

Print this item

  Trouble installing a old version of python - 3.4.1
Posted by: alex8obrien - Apr-08-2019, 09:03 PM - Forum: News and Discussions - Replies (2)

Hi,

At the moment I am trying to install python version 3.4.1 as my school never updates anything but for some reason when I open the wizard it say..... More

Print this item

  Check fast similarity between gps coordinates
Posted by: dervast - Apr-08-2019, 07:27 PM - Forum: General Coding Help - No Replies

Hi all,
I would like to check fast some gps points that have timestamps if include overlapping trajectories. In other words that the driver used the ..... More

Print this item

  RTL_Power interaction
Posted by: 25141928 - Apr-08-2019, 07:26 PM - Forum: General Coding Help - No Replies

Hi I am working on a project and after a steer where to find information to help me write Python code that will let me search a value in a CSV file ge..... More

Print this item

  Using machine learning
Posted by: kingrayd - Apr-08-2019, 06:22 PM - Forum: Data Science - Replies (1)

So, I'm taking part in an ML internship. And as a beginner, we were asked to define how to use machine learning and artificial intelligence to predict..... More

Print this item

  "erlarge" a numpy-matrix to numpy-array
Posted by: PhysChem - Apr-08-2019, 05:02 PM - Forum: Data Science - Replies (2)

Hi all!

Is there a way to concatenate/append/"gluetogether" two (n*m-shaped) matrix into a single (n*m*2-shaped) array (with 3 axle), and [u]not in..... More

Print this item

  List of colors
Posted by: adamG - Apr-08-2019, 04:55 PM - Forum: Data Science - Replies (1)

I am trying to create to create a list of colors based on the labels contained in the array comms.

[python]import matplotlib.pyplot as plt

cmap ..... More

Print this item

  School projet
Posted by: robalexx - Apr-08-2019, 03:43 PM - Forum: Homework - Replies (1)

Hello :)

I have a project to do and it is almost done (i think), I just have some error.
Let me explain : I have 2 files. In the first file, there is..... More

Print this item

  C++ programmer requests Python Web/database advice
Posted by: GregReese - Apr-08-2019, 03:38 PM - Forum: General Coding Help - Replies (3)

Hi folks,

I am an experienced C++ desktop-app programmer. I have a moderate amount of experience with SQL but no experience with Python or Web prog..... More

Print this item

  How to add new rows to existing csv file
Posted by: Sri - Apr-08-2019, 02:32 PM - Forum: General Coding Help - Replies (1)

Hi,

I have test.csv file as show below

Category Value
Initial Target 30
new target 49
recovery time [hrs] 2

Now I ..... More

Print this item

  logging: child module unable to get parent config
Posted by: jerryxiao - Apr-08-2019, 02:22 PM - Forum: General Coding Help - Replies (3)

I had some problems with logging
According to The Doc[/u[url=https://python-forum.io/thread-17358.html]..... More

Print this item

  cups
Posted by: jreislemos - Apr-08-2019, 01:30 PM - Forum: Web Scraping & Web Development - Replies (2)

Alguem poderia me ajudar a encontrar um lugar onde consigo pegar todos os parametros possíveis para este comando:
[python]conn.printFile (prin, myfil..... More

Print this item

  Python validate excel values data types
Posted by: Useruser00 - Apr-08-2019, 01:29 PM - Forum: General Coding Help - No Replies

I am using Pandas to read excel file and validate the columns for Integer, Date and check column value is present in List.
[python]
xl = pd.ExcelFil..... More

Print this item

  *** NameError: name '' is not defined
Posted by: adamG - Apr-08-2019, 12:45 PM - Forum: General Coding Help - Replies (1)

I want to compare the first column of an array with all the other columns and then break the function if they are all the same.

Outside the functio..... More

Print this item

  Pygame 2d game
Posted by: maximk301 - Apr-08-2019, 10:49 AM - Forum: Game Development - Replies (1)

I need help, I am writing a 2D game in the library pygame, I need to add monsters and logic to monsters who attack the main character, I know that I n..... More

Print this item

  Tkinter - Make changes to graph and update it
Posted by: adriancovaci - Apr-08-2019, 09:02 AM - Forum: GUI - No Replies

Basically, I'm making a program which finds the maximum flow of a graph using the Ford-Fulkerson method. The program finds the maximum flow and prints..... More

Print this item

  unable to pass a input after changing the user from root to non root using python
Posted by: avinash - Apr-08-2019, 05:26 AM - Forum: General Coding Help - Replies (3)

In my automation using python am triggering a shell script which takes care of prerequisites to my software installations. Prerequisites am running us..... More

Print this item

  Manipulating Excel with Python.
Posted by: Spacely - Apr-08-2019, 02:19 AM - Forum: General Coding Help - Replies (2)

Hello,

I am new to Py. I need to write data to, read data from, and run a few VBA macros within an excel book. Would rather the book never be opene..... More

Print this item

  Format for elif
Posted by: sunilramakumar - Apr-08-2019, 01:49 AM - Forum: General Coding Help - Replies (4)

Hi - I am new to Python and was attempting to code based on the guidance at https://www.youtube.com/watch?v=8uJFN7OZ...U_3tod0nqo..... More

Print this item

  I need help getting set up for Python
Posted by: FLAJA - Apr-07-2019, 11:59 PM - Forum: General Coding Help - Replies (4)

[size=medium]How do I tell which files I need to download to write Python programs:

https://www.python.org/downloads/release/python-373/ ?

I had..... More

Print this item

  ipython autocomplete broke indentation!
Posted by: Exsul - Apr-07-2019, 10:45 PM - Forum: General Coding Help - Replies (6)

I installed ipython through the pip in order to use autocomplete, and now indentation doesn't work in the regular Python shell (it does still work in ..... More

Print this item

  Where is Popen.pid?
Posted by: jpezz - Apr-07-2019, 10:41 PM - Forum: General Coding Help - Replies (6)

Described in https://docs.python.org/3/library/subprocess.html.

But I run python3 on m..... More

Print this item

  Tkinter project school
Posted by: Kersow - Apr-07-2019, 09:38 PM - Forum: Homework - Replies (2)

Hello / Good evening everyone

I am currently working on a project to realize the HMI (human-machine interaction) indicating to the user the feasibi..... More

Print this item

  ttk.barprogress - root.mainloop
Posted by: francisco_neves2020 - Apr-07-2019, 08:38 PM - Forum: GUI - Replies (11)

[python]
import os
import sys
import tkinter as tk
from tkinter import *
import subprocess
import idlelib
import urllib.request
import ctypes..... More

Print this item

  Confusion with sublcassing a threading class, and inheritance
Posted by: bigmit37 - Apr-07-2019, 08:12 PM - Forum: General Coding Help - Replies (2)

[size=medium]I am trying to understand how to subclass a Thread,
and I am confused with some details of inheritance.
It seems if I want to modify ..... More

Print this item

  how to decode this in python
Posted by: anthoniegallego - Apr-07-2019, 07:39 PM - Forum: Homework - Replies (11)

hi, im fairly new to python and i was wondering how i could finish this code:

[python]import random

def encode_text (text):
random.seed (0)..... More

Print this item

  if clause fails
Posted by: DeadCthulhuWaitsDreaming - Apr-07-2019, 06:34 PM - Forum: General Coding Help - Replies (10)

OK, this shouldn't be that hard but maybe I'm missing something.

This is the full function, the problem lies between the ############################..... More

Print this item

  Error 'object has no attribute' when iterating thru a dictionary
Posted by: mrapple2020 - Apr-07-2019, 06:22 PM - Forum: General Coding Help - Replies (8)

[python]
from collections import defaultdict
arch_dic = {}
arch_dic = defaultdict(list)
arch_dic['PSE2'].append("0/7/CPU0")
arch_dic['PSE2'].appe..... More

Print this item

  How to run python code in Java using remote SSH without py file using streams in Java
Posted by: varanasipavankumar - Apr-07-2019, 06:13 PM - Forum: General Coding Help - No Replies

How to run python code in Java using remote SSH without py file using streams in Java?
How to pass arguments in such a case?

let's say I have to c..... More

Print this item

  Exiting/killing a program with tkinter but leaving the graphic on the screen
Posted by: jpezz - Apr-07-2019, 12:16 PM - Forum: GUI - Replies (3)

I want the opposite of what most people want. I call a python subprogram to put a tk label on the screen. I want that program to terminate itself when..... More

Print this item

  how to add the numbers of a list
Posted by: Pedroski55 - Apr-07-2019, 11:19 AM - Forum: General Coding Help - Replies (2)

I have a list. Each element is either 1 or 0. I want to add them sequentially.

For example:

I have: attendance = [1, 1, 1, 1]

I declare: cumu..... More

Print this item

  Invalid Syntax Error
Posted by: jaycuff13 - Apr-07-2019, 10:22 AM - Forum: General Coding Help - Replies (1)

Hi all,

I am working on a practice script, and I keep receiving an invalid syntax error on my script. Here is the code below. The python hightligh..... More

Print this item

  win32 GetWindowRect for window dimensions
Posted by: MrMajorThorburn - Apr-07-2019, 09:14 AM - Forum: General Coding Help - Replies (3)

I am using win32gui.GetWindowRect for a window I have retrieved the handle for using win32.EnumWindows and matching the title of the window as I see o..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Webscrapping sport bettin... 2 minutes ago KoinKoin Williamcaurb Web Scraping ...
  Integer Factorization Too... 10 hours ago fosuwxb buran Code sharing
  My goal to be hired worki... Today, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... Yesterday, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... Yesterday, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577371
  Tutorial Requ... 500748
  Web Scraping ... 441026
  Newbie with P... 385070
  New Users Int... 369595
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
stephaniehendrix Today
Williamcaurb Today
Schirag Today
Jacobjoift Today
sophielane Yesterday

User Panel Messages

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