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,274
» Latest member: SavingSquirrel199835
» Forum threads: 38,788
» Forum posts: 175,860

Full Statistics

Online Users
There are currently 36 online users.
» 0 Member(s) | 28 Guest(s)
Bing, Apple, Google, Facebook Dev

Latest Threads
link variable to exc bloc...
Forum: General Coding Help
Last Post: Astrobert
6 hours ago
» Replies: 0
» Views: 52
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
8 hours ago
» Replies: 2
» Views: 139
best way to learn python
Forum: News and Discussions
Last Post: mamta25
11 hours ago
» Replies: 5
» Views: 3,065
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-17-2025, 10:27 PM
» Replies: 3
» Views: 194
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 180
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 138
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 187
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 360
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 77
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 380

 
  string manipulation
Posted by: yogi123 - Apr-08-2018, 09:28 PM - Forum: Homework - Replies (5)

I need to replace parts of a string with what it matches in a dictionary. I have restrictions and to change strings only functions i can use are .stri..... More

Print this item

  Attribute error
Posted by: Truman - Apr-08-2018, 08:33 PM - Forum: General Coding Help - Replies (1)

[python]
class Fighter:
def __init__(self, name):
self.name = name
self.health = 100
self.damage = 10
def attact..... More

Print this item

  Need help with Python problems today and need some tutoring, can pay $30/hr
Posted by: py_newb - Apr-08-2018, 08:13 PM - Forum: Jobs - Replies (1)

Need help doing Group-by and aggregation of datasets, nothing too crazy in difficulty level, but I'm really new.

looking for actual, help, not some..... More

Print this item

  CPU usage with while Loop and LIRC [SOLVED]
Posted by: cygnus_X1 - Apr-08-2018, 07:37 PM - Forum: General Coding Help - Replies (3)

Is it normal to see 100% CPU usage with LIRC and a while loop?

I have a Raspberry Pi , Model B (first version) single core CPU
runs at 700MHz. I h..... More

Print this item

  Count the rows to 10 and store in the list
Posted by: chris0147 - Apr-08-2018, 06:52 PM - Forum: General Coding Help - No Replies

Hi all,

I need your help with my current project. I am working on get_programme_info function to find the program info by search through in the data..... More

Print this item

  Syntax for array splitting in a loop?
Posted by: IAMK - Apr-08-2018, 06:15 PM - Forum: Web Scraping & Web Development - Replies (7)

I have tried numerous ways to parse a file and strip the array down to only the text inside the "". However, I seem to be unable to figure out the cor..... More

Print this item

  how to do Principal Components Analysis of a Matrix
Posted by: cfc0712 - Apr-08-2018, 05:28 PM - Forum: Homework - No Replies

I need to do Principal Components (PC) Analysis of a Matrix (X). PC need to be chosen as V(:,end-1,end). May I ask what's mean by "PC is chosen as V(:..... More

Print this item

  Bad Request error Method Not Allowed The method is not allowed for the requested URL.
Posted by: vk7 - Apr-08-2018, 05:14 PM - Forum: Web Scraping & Web Development - No Replies

I am working on python-flask blog webapp. In the blog, I want to give a feedback option for the user. But whenever I clicked on the feedback link I go..... More

Print this item

  Why does my Switch trigger all Cases?
Posted by: IAMK - Apr-08-2018, 03:44 PM - Forum: General Coding Help - Replies (6)

Hello, I'm a first time user of Python, but I have c++/VB.Net experience. I absolutely dread Python's syntax, but I need to learn it.

What is wrong..... More

Print this item

  Printing array without commas
Posted by: pawlaczkaj - Apr-08-2018, 03:28 PM - Forum: General Coding Help - Replies (1)

Hello,
I have got this output from my script:

Output:
[[1.0, 2.0, 3.0], [4.0, 5.0, 6.0], [7.0, 8.0, 9.0]]
I want to cover it to:
[out..... More

Print this item

  Timed Exit
Posted by: Tbot - Apr-08-2018, 01:38 PM - Forum: Game Development - Replies (11)

Hello, I am making a Python game where there is a sequence of letters, and you have to guess it right within a certain amount of time. However, once t..... More

Print this item

  Win10 Import math issue
Posted by: Oldsquid - Apr-08-2018, 12:36 PM - Forum: General Coding Help - Replies (2)

I've just started learning to program. I am running Win10, Python 3.6.4

When I type in the following:
import math
math.sqrt(16)

I save and ru..... More

Print this item

  MASH -- terminal based
Posted by: mepyyeti - Apr-08-2018, 04:51 AM - Forum: Code sharing - No Replies

a simple mash game...it should work. source is on github I did run into trouble/difficulty with mainl..... More

Print this item

  Complex Program with matplotlib - Python Challenge
Posted by: maggie_b - Apr-08-2018, 02:29 AM - Forum: General Coding Help - Replies (1)

I had this on my programming exam last week. I still don't get desired outcome. Wall

How would you solve it?

1 Randomly generate 10^4 poin..... More

Print this item

  Multiplication Table
Posted by: funnybone04 - Apr-07-2018, 11:09 PM - Forum: Homework - Replies (4)

So how can I create a multiplication table in python for a given number (user inputs a number, e.g "5" and table becomes "5x5"), column by column indi..... More

Print this item

  Alternative approach to iterate numerous linear regressions with xlsx data?
Posted by: john_538 - Apr-07-2018, 10:15 PM - Forum: Data Science - No Replies

I'm a self-trained, novice programmer, and need guidance to determine a more time-efficient way to analyze my data. I have a large dataset (200+ colum..... More

Print this item

  Expert Python Developers Available for Immediate Hiring
Posted by: manikandan - Apr-07-2018, 08:58 PM - Forum: Jobs - Replies (1)

Expert Python/Django developers available for immediate Hire. (part time or full time basis).

You can reach me at 415 233 4737 or info at optisolbusi..... More

Print this item

  maximum recursion depth exceeded
Posted by: saba_keon - Apr-07-2018, 06:49 PM - Forum: General Coding Help - Replies (3)

whenever i hit the exit button it gives me this error

Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\saba_\AppData..... More

Print this item

  Console crash after boot.
Posted by: friendlymegalomaniac - Apr-07-2018, 04:49 PM - Forum: General Coding Help - Replies (1)

I am currently using python 3.6.5 with notepad++ for a text editor. I have tryed to create several programs but whenever the console boots it crashes...... More

Print this item

  Avoiding new user list sorting errors
Posted by: ljmetzger - Apr-07-2018, 03:59 PM - Forum: Code sharing - Replies (1)

It is very frustrating when a program runs to completion with no errors and gives unexpected output, when you thought you did everything correctly. I..... More

Print this item

  Dictionary content overwritten by new key
Posted by: Smackreth - Apr-07-2018, 02:54 PM - Forum: Homework - Replies (2)

Hello - I've searched around for an answer to this, but can't find one so hopefully someone will be able to help!
Background: I'm doing a Python 2 c..... More

Print this item

  speechrecognition 3.8.1
Posted by: aibrain - Apr-07-2018, 02:05 PM - Forum: General Coding Help - Replies (1)

I am using speech_recognition library in python 3.6. Using google speech recognizer. The default api key works but has limited quota. I wanted to know..... More

Print this item

  multiprocessing
Posted by: srik - Apr-07-2018, 12:29 PM - Forum: Data Science - Replies (2)

I am given a data set and I need to analyze the statistics of a column based on the groups formed from other column unique values. I could do it using..... More

Print this item

  How to use relative positioning in my program?
Posted by: MegasXLR - Apr-07-2018, 09:46 AM - Forum: Homework - Replies (8)

Hello everyone, I'm pretty new to Python in generel (started the course in university like 1 month ago) and I found it quite interesting to finally be..... More

Print this item

  Homework help
Posted by: JNG_123 - Apr-07-2018, 02:30 AM - Forum: Homework - Replies (1)

A county collects property taxes on the assessment value of property, which is 60 percent
of the property’s actual value. For example, if an acre of..... More

Print this item

  Order an array
Posted by: unrealxqt - Apr-06-2018, 10:09 PM - Forum: Homework - Replies (2)

Hi there,

At the university, I need to create a project in Python language and I'm stuck with a function that is needed to finish my work.
[i][u]T..... More

Print this item

  Stopped process is still running
Posted by: pawlaczkaj - Apr-06-2018, 09:45 PM - Forum: General Coding Help - Replies (9)

I have got a menu written in Python:

[python]
if __name__ == '__main__':
print_menu() # display the menu
choice = input("Type number..... More

Print this item

  Need help understanding the math in the code
Posted by: wansu - Apr-06-2018, 09:13 PM - Forum: General Coding Help - Replies (3)

I am a middle school technology teacher and I am creating tutorials for the Raspberry Pi. This code lights up a 7 segment display which lights up the ..... More

Print this item

  __call__() got an unexpected keyword argument 'text'
Posted by: saba_keon - Apr-06-2018, 08:10 PM - Forum: General Coding Help - Replies (5)

IDK what my problem is, i run it and i have come to this conclusion that if i get rid of the startClick function it runs if i put it back it breaks. p..... More

Print this item

  Error building trac hacks plugin
Posted by: lapjunior - Apr-06-2018, 07:54 PM - Forum: General Coding Help - Replies (1)

I am trying to build a Trac Subtickets plugin (https://trac-hacks.org/wiki/SubticketsPlugin) to use it in my environment.

I downloaded the source a..... More

Print this item

  Importing modules
Posted by: SBachar - Apr-06-2018, 07:43 PM - Forum: General Coding Help - Replies (2)

What is the difference between:
import my_module
and
from my_module import *
Aren't they the same?

Print this item

  Comparing two files data while one got hex and other binary
Posted by: A_Embedded - Apr-06-2018, 06:26 PM - Forum: General Coding Help - Replies (3)

I am new to python. I am trying trying to use it for the problem as follows:
I have one file with 3 coloums of 32 bit data in hex representation. Seco..... More

Print this item

  loop through files
Posted by: Jrherbert - Apr-06-2018, 05:15 PM - Forum: General Coding Help - Replies (2)

Trying to loop through files in a directory, open the files that contain a certain string in the file name, and then edit those files. Here is what I..... More

Print this item

  Errors in simple text adventure game?
Posted by: ecloev - Apr-06-2018, 05:12 PM - Forum: General Coding Help - Replies (5)

Hello,
I am doing a simple text adventure game for school and so far I have the following.
On line 61 (elif choice == 2:) which in the function prom..... More

Print this item

  search and store a value from linux command output in to variable python
Posted by: prazy29 - Apr-06-2018, 12:19 PM - Forum: General Coding Help - Replies (1)

Hi I am a python bigginer, I have a scenario where I need to search and select a particular value from linux command "df -h".

dumpe2fs 1.42.13.x5 (..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  link variable to exc bloc... 6 hours ago Astrobert Astrobert General Codin...
  PyQt6 QWidgets and system... 8 hours ago stevecoh1 Axel_Erfurt GUI
  best way to learn python 11 hours ago dutch mamta25 News and Disc...
  Graph Interpolate Difficu... 11-17, 22:27 Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 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...
  [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...
Most views
  The best Prog... 579122
  Tutorial Requ... 511431
  Web Scraping ... 442080
  Newbie with P... 386146
  New Users Int... 378574
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 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
SavingSquirrel199835 Yesterday
Astrobert Yesterday
DataScientist071 Yesterday
aminrony1999 11-17
fobby888 11-17

User Panel Messages

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