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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

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

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
9 hours ago
» Replies: 3
» Views: 167
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 155
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 124
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 172
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 348
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 67
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 115
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 361
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 205
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 319

 
  python **
Posted by: Maryan - Oct-19-2020, 09:56 PM - Forum: General Coding Help - Replies (4)

May I ask why Python is calculating the height**2 differently. The height should be 3.2?


def bmi(name, height, mass):
h = (height ** height..... More

Print this item

  Append 2d empty lists
Posted by: NMMST - Oct-19-2020, 08:56 PM - Forum: General Coding Help - Replies (2)

Hi there!

I wanted to store my functions result in a 2d list. The function returns 5 values and has to run 100 times in a for loop.
I tried to ini..... More

Print this item

  Start using classes for Four-in-a-row game
Posted by: Haiko - Oct-19-2020, 08:36 PM - Forum: Code Review - No Replies

Hi all,

Yet another newbie here that made a simple game.

The game is the classic four-in-a-row game where you drop down a round brick into one o..... More

Print this item

  merging three dictionaries
Posted by: Skaperen - Oct-19-2020, 08:19 PM - Forum: General Coding Help - Replies (3)

i have three dictionaries with distinct keys (no two have the same key). i need to merge all three into one dictionary and use the result in an expre..... More

Print this item

  Dealing with duplicates to an Excel sheet
Posted by: DistraughtMuffin - Oct-19-2020, 07:28 PM - Forum: Homework - Replies (6)

Alright, so, first time ever taking a programming course and I am just struggling with wrapping my head around Python. The following is Python 2.7.

[..... More

Print this item

  I tried every way to scrap morningstar financials data without success so far
Posted by: sparkt - Oct-19-2020, 05:25 PM - Forum: Web Scraping & Web Development - Replies (2)

I tried every way I can think of and search out in an attempt to scrap morningstar financials data into any processable form like csv or dataframe, fo..... More

Print this item

  Basic python login system
Posted by: Asasiene23 - Oct-19-2020, 05:08 PM - Forum: GUI - Replies (1)

So I tried creating a basic login system in python since im just trying it to get a grasp of the language. Im using a txt file to save multiple userna..... More

Print this item

  Python Scrapy Tutorial
Posted by: Knight18 - Oct-19-2020, 04:56 PM - Forum: Tutorial Requests and Submissions - No Replies

A Tutorial series on the Scrapy Web Scraping Library. Scrapy is a rather advanced web scraping (the act of extracting data from the internet) library,..... More

Print this item

  Good class design - with a Snake game as an example
Posted by: bear - Oct-19-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

Hi guys,

in another topic, I shared my first Python project for feedback: My f[url=https://python-forum.io/thread-30394.html]..... More

Print this item

  Help on stimulating approaching an object
Posted by: javesike1262 - Oct-19-2020, 02:14 PM - Forum: Homework - Replies (9)

Simulate a common optical illusion used in video games. If you are playing as a character and you approach an object, the object appears to get larger..... More

Print this item

  Trying to access next element using Generator(yield) in a Class
Posted by: omm - Oct-19-2020, 01:30 PM - Forum: General Coding Help - Replies (2)

I have created a Class and used generator in a method which is supposed to yield even numbers between start and stop range. When trying to use next() ..... More

Print this item

  How to use scipy.optimization.brute for multivariable function
Posted by: Shiladitya - Oct-19-2020, 11:45 AM - Forum: General Coding Help - Replies (9)

I want to find the global minima of a two-variables function, say V(x,y,T), where (x,y) are the independent variables and `T' is the parameter. My tar..... More

Print this item

Brick How To Sum Numbers Of Next 7 Days
Posted by: Developer_2018 - Oct-19-2020, 11:26 AM - Forum: General Coding Help - Replies (7)

I would like to sum up the seconds that each employee spoke on the phone over the next 7 days.

ID; Person_nr; Name; Datum; Datum_plu..... More

Print this item

  pyarrow throws oserror winerror 193 1 is not a valid win32 application
Posted by: aupres - Oct-19-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

Hello! My OS is windows 10 64bit and IDE is eclipse python. I try to install pyarrow with both pip and conda. The installation of pyarrow is successfu..... More

Print this item

  dictionaries becoming inputs
Posted by: enderfran2006 - Oct-19-2020, 10:39 AM - Forum: General Coding Help - Replies (2)

Hello. I am trying to figure out how to make the dictionary find the answer and find an input question. any help would be nice.

[python]c = input("..... More

Print this item

  Subset dataframe by matching to wordnet synsets
Posted by: boredbobby - Oct-19-2020, 09:47 AM - Forum: Data Science - No Replies

Hi,

I have a dataframe of the following structure:

Column 1 contains individual words
Column 2 contains the count of each word

Now, I need ..... More

Print this item

  Sqlite 3 Database is not updating after using commit()
Posted by: JellyCreeper6 - Oct-19-2020, 07:20 AM - Forum: Data Science - Replies (5)

Any help is appreciated.

Table name - Encounters

name   |encounters|PreEnc|PostEnc|
'Name1'|0         |20    |0      |
the values..... More

Print this item

  Communicating between programs
Posted by: shubh00 - Oct-19-2020, 05:29 AM - Forum: General Coding Help - Replies (2)

So I am writing a program and I want to run it in different computers but there are certain variables that should be updated in both computers accordi..... More

Print this item

  Super Urgent, work related. Gimp Python
Posted by: tsurubaso - Oct-19-2020, 04:45 AM - Forum: General Coding Help - Replies (5)

Hello to all,
I wrote a little script some years ago.
it was beginning like this.



[python]import gimp
import gimpfu
import os, glob[/python..... More

Print this item

  lists
Posted by: Nickd12 - Oct-19-2020, 12:53 AM - Forum: General Coding Help - Replies (1)

Trying to see if a name thats in a list is in the text and if possible to get the name with out a defined position of the name in list

example:

nam..... More

Print this item

  gtts
Posted by: Nickd12 - Oct-18-2020, 11:06 PM - Forum: General Coding Help - Replies (1)

gtts is only speaking last few words of text, is this a know issue? if so is there a fix?

for example lets say i want it to speak "this is a test" ..... More

Print this item

  Building a method name in a function
Posted by: ffgth - Oct-18-2020, 10:41 PM - Forum: General Coding Help - Replies (9)

Hi,
as an almost beginner, this is just a general knowledge question.
Let's say i have a class foo defining method1, method2, method3.
I'd like to ..... More

Print this item

  Button click problem using OOP
Posted by: JohnB - Oct-18-2020, 07:41 PM - Forum: GUI - Replies (5)

Can anyone help me with a problem illustrated in the code below. I am instantiating three tkinter buttons and saving the objects in a list which is I ..... More

Print this item

  Trying to install pygame Mac OS x high sierra
Posted by: giladal - Oct-18-2020, 05:31 PM - Forum: Game Development - Replies (2)

Hi Guys.

Trying to install pygame on Mac OSX high sierra with no luck...

Here is the message I get. Would love your help.



13 warnings..... More

Print this item

  basic question about tuples and immutability
Posted by: sudonym3 - Oct-18-2020, 01:16 PM - Forum: General Coding Help - Replies (6)

Hi there,

I have just been going through a basic sample bit of code designed to teach about tuples and dictionaries.

For completeness, please s..... More

Print this item

  selenium & weblinks help
Posted by: gr3yali3n - Oct-18-2020, 10:20 AM - Forum: Web Scraping & Web Development - Replies (5)

i am playing around learning how selenium is supposed to work , i think that this is a really cool module.
but i am struggling with web elements a lit..... More

Print this item

  Python win32api keybd_event: How do I input a string of characters?
Posted by: JaneTan - Oct-18-2020, 08:53 AM - Forum: General Coding Help - Replies (3)

Hi,

I used the below to get the Window Handle of an app and bring it to be the focus. I want to type in a string of characters into the app. But us..... More

Print this item

  [Book] The Cuckoo's Egg
Posted by: buran - Oct-18-2020, 07:02 AM - Forum: Bar - No Replies

Just finished reading The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage by ..... More

Print this item

  ImportError: Can not find the shared library: libhdfs3.so
Posted by: aupres - Oct-18-2020, 03:57 AM - Forum: General Coding Help - Replies (1)

I am developing Hadoop File System client with python module hdfs3. My OS is CentOS 8 and IDE is eclipse. First I try to install hdfs3 with conda inst..... More

Print this item

  Cannot unpack non-iterable NoneType object, i would like to ask for help on this.
Posted by: Jadiac - Oct-18-2020, 02:20 AM - Forum: General Coding Help - Replies (3)

Hello dear Forum users,
I am currently learning about Pythons Image Recognision and I have encountered this error.
After looking it up online I still ..... More

Print this item

  Broken choices
Posted by: Scooze - Oct-18-2020, 01:40 AM - Forum: Game Development - Replies (3)

I'm doing a code along by Joseph Delgadillo, and this is a first exposure level course.

The recorded code along used Python ver. 3.6.x

I am using Py..... More

Print this item

  Can application developed Run on windows of users?
Posted by: Acernz - Oct-17-2020, 11:10 PM - Forum: GUI - Replies (3)

Hi All
I am beginner, I am trying to solve a problem in my company of using excel by users to create user friendly forms, which are linked to databa..... More

Print this item

  Tkinter - How can I remove the background borders from ttk.Button?
Posted by: TurboC - Oct-17-2020, 10:58 PM - Forum: GUI - Replies (4)

by default, the buttons from ttk module, have a one pixel border. how can I delete this border? below an example code:

[python]
from tkinter import *..... More

Print this item

  How to install project on user machines
Posted by: SqueezeOJ - Oct-17-2020, 09:51 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm new to Python, but not to programming.

I made a small, but useful application in PyCharm (v2020.2.3) that I'd like to move to user ma..... More

Print this item

  tcp python
Posted by: Michele83 - Oct-17-2020, 09:46 PM - Forum: Networking - No Replies

hello
i want with python send message to server
I want to send messages to the server even if the server is not sending anything to the clients
or ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 9 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579104
  Tutorial Requ... 511276
  Web Scraping ... 442066
  Newbie with P... 386130
  New Users Int... 378443
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday
ViktoriaMetodieva Yesterday

User Panel Messages

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