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,278
» Latest member: OtiliaBecker
» Forum threads: 38,791
» Forum posts: 175,868

Full Statistics

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

Latest Threads
How Can Solo Indie Game D...
Forum: Game Development
Last Post: OtiliaBecker
19 minutes ago
» Replies: 0
» Views: 3
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
11 hours ago
» Replies: 2
» Views: 86
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 29
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:59 AM
» Replies: 11
» Views: 5,978
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,282
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 292
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 138
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 206
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,109
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 253

 
  Extract data from large string
Posted by: pzig98 - Jul-19-2020, 11:07 PM - Forum: General Coding Help - Replies (1)

I'm building a project with Raspberry PI. Reading MIDI messages that come from a guitar pedal. The intent is to have the PI play a mp3 file when it ..... More

Print this item

  Index Formatting in SQLite
Posted by: illmattic - Jul-19-2020, 09:32 PM - Forum: Data Science - No Replies

Hello,

I've put together a time series database from several dataframes:

[python]import pandas as pd
import sqlite3
import quandl
from datet..... More

Print this item

  discussion: API proposal for a better numpy
Posted by: jimy_byerley - Jul-19-2020, 08:56 PM - Forum: News and Discussions - No Replies

Hello everyone !

It's been a years now that I'm using numpy and thinking about it, my opinion is that it IS good, but it can be BETTER !
I open this ..... More

Print this item

  Noob wanting some pointers
Posted by: the19thbear - Jul-19-2020, 08:18 PM - Forum: News and Discussions - Replies (2)

Hi. I am a complete noob to programming, but have done some visual programming in the past.
So I want to make a small project to practice (always eas..... More

Print this item

  INI Configuration GUI
Posted by: goofygoo - Jul-19-2020, 07:58 PM - Forum: General Coding Help - Replies (4)

I am using Python38. I have been assigned to write a gui to edit the configuration ini file for an existing program. I have cobbled together a program..... More

Print this item

  identical cells in 2 different excel sheets python pandas
Posted by: esso - Jul-19-2020, 07:50 PM - Forum: General Coding Help - No Replies

Python Pandas:
I need to figure out identical cells in 2 different excel sheets (matching cells between 2 excel sheets) (they do not have same header..... More

Print this item

  regex and case insensitive
Posted by: Leon79 - Jul-19-2020, 06:44 PM - Forum: General Coding Help - Replies (8)

Hello Coders,

I have almost solved with my little search bar, just I cannot manage to look for the word with case insensitive, if I write parmesan ..... More

Print this item

  Converting Filter to If Else Statement and Count
Posted by: RookToday - Jul-19-2020, 06:08 PM - Forum: Data Science - Replies (1)

I have a dataset with over 9000 rows and multiple columns. I would like to filter a couple columns, one by type from dropdown selection, the other to ..... More

Print this item

  Guessing game problem
Posted by: IcodeUser8 - Jul-19-2020, 05:56 PM - Forum: General Coding Help - Replies (7)

Hey guys,

Im kinda new to python programming but know most of the basics. Currently im using a platform named trinket.io .
Im trying to make an a..... More

Print this item

  find a string in a field in MongoDB
Posted by: Leon79 - Jul-19-2020, 05:15 PM - Forum: General Coding Help - Replies (2)

Hello coders,

I'm a student and I've almost finished my project for my course. As last thing I added a small search bar in the index.html in order ..... More

Print this item

  Non-mutability of integer-valued variables.
Posted by: ensbana - Jul-19-2020, 03:51 PM - Forum: Homework - Replies (2)

I’m reading a tutorial on mutability of lists. The gist of it is that when one list is set to be equal to another, they point to the same part of the ..... More

Print this item

  problem adding two numpy arrays
Posted by: djf123 - Jul-19-2020, 03:00 PM - Forum: General Coding Help - Replies (2)

I am trying to do the following. I want to add the Mona Lisa .jpg image at this ..... More

Print this item

  usecols
Posted by: Kristenl2784 - Jul-19-2020, 01:54 PM - Forum: General Coding Help - Replies (1)

Hello,

I want to read in two different columns, but the below does not work. How do I make it so that only columns A and L are read in? Does not c..... More

Print this item

  Try/Except clauses not working?
Posted by: ensbana - Jul-19-2020, 12:28 PM - Forum: Homework - Replies (1)

Would be great if someone could tell me why the Except clause doesn’t catch the exception below. Thanks.

[python]
def collatz(number):
try:
..... More

Print this item

  pygame full screen help
Posted by: corsasri - Jul-19-2020, 11:04 AM - Forum: Game Development - Replies (1)

Hi after a bit of help with a bit of code, trying to a game a game to be full in fullscreen. But at the moment its tiny and in the middle of the scree..... More

Print this item

  sys.stdin to do a word count based on user entry
Posted by: Kaltex - Jul-19-2020, 09:33 AM - Forum: Homework - Replies (3)

Hi all

I have been using the sys module's stdinput to take input from the user until they enter the keyword 'submit'. Once this happens the dictiona..... More

Print this item

  I am getting KeyError with format command
Posted by: skpy - Jul-19-2020, 03:23 AM - Forum: General Coding Help - Replies (3)

print("{'1','2','3'} type is {}".format(type({'1', '2', '3'})))

This line throws KeyError.

File "c:/ex2_type.py", line 12, in main
print(..... More

Print this item

  Cannot copy file to another location
Posted by: rcmanu95 - Jul-19-2020, 02:56 AM - Forum: General Coding Help - Replies (1)

I am trying to copy a file to another location in Python 2.7 and I am getting error all the time saying no such file or directory. The file is actuall..... More

Print this item

  Button Command
Posted by: Heyjoe - Jul-19-2020, 02:24 AM - Forum: GUI - Replies (4)

Hello Python Users

I have a button(mybutton) in a file called startpage. If I click on this button I want it to run a function in a file called om..... More

Print this item

  Create bot to automate operations in IQ Option
Posted by: JonatasCavalini - Jul-19-2020, 02:23 AM - Forum: General Coding Help - Replies (1)

Hello everyone!
I come to you in need of immense help!

I want to create a bot to automate entries in binary options at the brokerage IQ Option bas..... More

Print this item

  Request help on pexpect
Posted by: rsurathu - Jul-19-2020, 02:22 AM - Forum: General Coding Help - Replies (4)

Dear All,

Good Day. Please help / guide on how to get pexpect working, the following are the errors I am encountering. Appreciate if there is any r..... More

Print this item

  How to copy a file to another location? Python 2.7
Posted by: rcmanu95 - Jul-19-2020, 01:52 AM - Forum: Homework - Replies (1)

I am trying to copy a file to another location in Python 2.7 and I am getting error all the time saying no such file or directory. The file is actuall..... More

Print this item

  Unable pass the proper row number to Menubutton command
Posted by: kenwatts275 - Jul-19-2020, 01:51 AM - Forum: GUI - Replies (2)

Hi all,
I am trying to make a grid of multiselect entry boxes using Menubutton widgets.
Below is the example program I put together.
When the print..... More

Print this item

  Replace every 20th space with line feed
Posted by: T_Lafferty - Jul-19-2020, 01:28 AM - Forum: General Coding Help - Replies (3)

I have a text file with words only - no punctuation - that I would like to iterate through and replace every 20th space with a new line/line feed.

He..... More

Print this item

  Open a python program from a button
Posted by: Pedroski55 - Jul-18-2020, 11:55 PM - Forum: GUI - Replies (3)

I have some home-made Python programs which make html.

A simple example is insertMedia.py: it asks for the name of the media file and inserts the a..... More

Print this item

  STT: recognition connection failed: [Errno 32] Broken pipe
Posted by: GrahamBerends - Jul-18-2020, 10:57 PM - Forum: General Coding Help - No Replies

Hi All.

I keep getting these broken pipe messages. Some STT conversions work, others don't. So the code basically works.

I imagine that there's a s..... More

Print this item

  Redirection giving faulty results
Posted by: monstrup - Jul-18-2020, 09:32 PM - Forum: General Coding Help - Replies (5)

Hey all. I am working on detectors of fake BTSes. Ive set up my fake BTS using yateBTS and its up and running. Now, I intent to catch the fake BTS so ..... More

Print this item

  os library
Posted by: RenanPereira10 - Jul-18-2020, 08:56 PM - Forum: Homework - Replies (2)

I'm doing a challenge that my code must read lines from a txt file and create others files inside a new directory ,they'll be named with the lines fro..... More

Print this item

  Create a 3D volume with some properties.
Posted by: Rosendo - Jul-18-2020, 08:20 PM - Forum: General Coding Help - No Replies

[b][size=small][font=Arial, Helvetica, sans-serif]Hi,I would like to create a 3D volume and, simulate how will get deformed under some stress applied...... More

Print this item

  periodic boundary contions
Posted by: grknkilicaslan - Jul-18-2020, 08:09 PM - Forum: General Coding Help - Replies (1)

Hi all

I want to add periodic boundary conditions to the plot below.
Conditions:
If x>pi then x=x - 2*pi

if x<-pi then x=x + 2* pi

If z>pi ..... More

Print this item

  Help Setting Multiple Variables
Posted by: bzowk - Jul-18-2020, 06:59 PM - Forum: General Coding Help - No Replies

Hey Guys -

I'm working on a project for a friend and need assistance, please; as I'm new to Python...

When the below script (which I didn't wri..... More

Print this item

  Introduction to escaping characters in strings
Posted by: Geelong_crazy - Jul-18-2020, 06:32 PM - Forum: General Coding Help - Replies (1)

Hey, brand new to coding so please help out with the fundamental.

I am trying to fix this up, please show me what I am supposed to do

print('I/..... More

Print this item

  Filtered Row Count
Posted by: RookToday - Jul-18-2020, 05:23 PM - Forum: General Coding Help - Replies (1)

I am trying to get a row count for a filtered data frame.

filt = (df['Type of breach']!='HACK') & (df['Description of incident']...... More

Print this item

  filtering by category flask+mongodb
Posted by: Leon79 - Jul-18-2020, 05:09 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi coders! I'm dividing every page by filtering by the correct category in my recipe blog, but I don't know why I cannot manage. For example, I have v..... More

Print this item

  Using PyScripter with Python
Posted by: Oldman45 - Jul-18-2020, 04:33 PM - Forum: News and Discussions - Replies (1)

I am using 'Think Like a Computer Scientist' to teach myself Python and it has introduced the use of PyScripter. I have downloaded PyScripter 64bit t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How Can Solo Indie Game D... 19 minutes ago OtiliaBecker OtiliaBecker Game Developm...
  [SOLVED] [BeautifulSoup] ... 11 hours ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... Yesterday, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... Yesterday, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
Most views
  The best Prog... 579183
  Tutorial Requ... 511862
  Web Scraping ... 442137
  Newbie with P... 386215
  New Users Int... 379084
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday
eastnoob 11-19
SavingSquirrel199835 11-18

User Panel Messages

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