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,280
» Latest member: MileHigh303
» Forum threads: 38,791
» Forum posts: 175,869

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 43 Guest(s)
Bing, Google, Mojeek, Google Image

Latest Threads
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
4 hours ago
» Replies: 0
» Views: 17
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,461
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 110
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 43
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,017
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,288
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 318
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 162
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 227
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,123

 
  Accessing subclass with a variable
Posted by: David_S - May-19-2020, 04:12 PM - Forum: General Coding Help - Replies (2)

Hi All,

I'm new on this forum and pretty new in python. So maybe, my question will be quickly answered Big Grin

I'm currently trying to acc..... More

Print this item

  Real time MIDI with python
Posted by: eythoralex - May-19-2020, 03:41 PM - Forum: General Coding Help - Replies (1)

Hey, so I had this idea for a program that requires a real time midi library for python. To explain further, I need to be able to see and alter a midi..... More

Print this item

  Neural Network mensagem error
Posted by: Dalpi - May-19-2020, 03:30 PM - Forum: Data Science - Replies (2)

Dear Sir, I'm trying do to a program that predict the emission of polluting gases from a Thermal Coal Plant. I would like help to solve the following ..... More

Print this item

  Help! zip() function
Posted by: bwdu - May-19-2020, 03:03 PM - Forum: General Coding Help - Replies (2)

Hello everyone!
I couldn't understand why it didn't write y. How can i fix this ---> <zip object at 0x0139F608> ?
Here is my code:
[python]
rbooks..... More

Print this item

  TypeError: a bytes-like object is required, not 'str' - Help Please.
Posted by: IanJ - May-19-2020, 02:49 PM - Forum: General Coding Help - Replies (3)

Hi,

I have inherited a number of python scripts for AWS Lambda that need upgrading from python 2.7 to v3. The following script has been through the..... More

Print this item

  key = getkey() opens platforms.py
Posted by: Toolman - May-19-2020, 02:38 PM - Forum: General Coding Help - Replies (1)

I'm attempting to use getkey. The little program debugs up to where the value for 'key' is set. At that..... More

Print this item

  Error message box and quit app
Posted by: Kumarkv - May-19-2020, 02:33 PM - Forum: GUI - Replies (1)

Hi,

I am doing a callback on OptionMenu. as per the below code when the condition if source == destination then i would like to generate an ..... More

Print this item

  Binary to decimal script
Posted by: ThorOdinson12521 - May-19-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

Hey,
I missed a coding class today and I didn't understand at all the script we have been given for homework. We are supposed to write and input and ..... More

Print this item

  [split] NameError: name 'formats' is not defined
Posted by: shobhu123 - May-19-2020, 02:28 PM - Forum: General Coding Help - Replies (1)

soup = BeautifulSoup(response.content,formats[crawl_len])
Error:
NameError: name 'formats' is not defined
why should i ge..... More

Print this item

  Code starts slowing down? MemoryError
Posted by: AshkanDev - May-19-2020, 02:19 PM - Forum: General Coding Help - Replies (1)

(Information before reading: I am a native German speaker and i learned English in school, so i am sorry if something sounds incomprehensible)

Hell..... More

Print this item

  3D array manipulation
Posted by: ibmr19 - May-19-2020, 01:17 PM - Forum: Homework - Replies (3)

Dear all,

So for a homework assignment, I have trouble manipulating a 3D array (26,26,500). From the 300th element in the last row, all values shou..... More

Print this item

  Problems with modules
Posted by: mectos - May-19-2020, 12:51 PM - Forum: General Coding Help - No Replies

[align=left]

Hello :),

I'm a newbie, started messing around with python a few days ago.
I find myself sitting hours about this shit actually.
..... More

Print this item

  Multiple items of a matrix has been updated.
Posted by: Yoki91 - May-19-2020, 12:16 PM - Forum: General Coding Help - Replies (4)

Hey everyone, I an new in Python and I want to update an item of a matrix, but 3 items are updated. I am not sure why this happens.
Please check the ..... More

Print this item

  Instagram Phone Emulation
Posted by: kristianpython - May-19-2020, 11:54 AM - Forum: Web Scraping & Web Development - No Replies

Hi,

I am using selenium.webdriver to open my companies instagram.

I am having issues with getting a comment to input

[python]
import autoit..... More

Print this item

  Merging excel worksheets with balnk rows
Posted by: sauravksingh85 - May-19-2020, 11:36 AM - Forum: General Coding Help - Replies (1)

Hi,

There is a task where I have to merge multiple excel spread sheets. The column number do not start from the first column and it can lie & star..... More

Print this item

  How to make Python 3.7.6 accessible to users
Posted by: Doguhan - May-19-2020, 10:37 AM - Forum: General Coding Help - Replies (4)

Hello everyone

In our server, Python 3.7.6 has been installed, along with Anaconda3 and all the pip packages, including Pandas.

However, the..... More

Print this item

  How to get first two characters in a string
Posted by: scratchmyhead - May-19-2020, 10:33 AM - Forum: General Coding Help - Replies (2)

I have a tuple that I converted the first part of the tuple into a string and I want to get the first two characters of that variable. For example

..... More

Print this item

  Grouping algorithm
Posted by: riccardoob - May-19-2020, 09:58 AM - Forum: General Coding Help - Replies (7)

As the title says I'm trying to write a grouping algorithm, although I'm not sure if that is the right term to describe what I need. Here a better exp..... More

Print this item

  using element on a list as condition statement
Posted by: glennford49 - May-19-2020, 09:07 AM - Forum: General Coding Help - Replies (11)

how to implement this code ?
i want any value in the list1 be compared in variable sum
if has , statements will follow
if no , prints a string as ..... More

Print this item

  Classification and Regression tree (CART)
Posted by: kumarants - May-19-2020, 08:37 AM - Forum: Data Science - Replies (2)

[python]
import sklearn
from sklearn.preprocessing import LabelEncoder
import pandas as pd
import numpy as np
data=pd.read_excel('CART.xlsx')
le..... More

Print this item

  Having issue with regular expressions
Posted by: azulu - May-19-2020, 04:42 AM - Forum: Homework - Replies (5)

For this homework assignment I have been tasked with web scraping using regex (I know it isn't best practice). I believe the code I have is correct, a..... More

Print this item

  help with strip function
Posted by: gabejohnsonny21 - May-19-2020, 03:48 AM - Forum: Homework - Replies (2)

I have a text file which is written like this

a


I have a text file which is written like this:
a \t b \t c \t d
d \t c \t d \t a
a \t b \..... More

Print this item

  how to correctly index
Posted by: arman888 - May-19-2020, 02:47 AM - Forum: General Coding Help - Replies (1)

My goal is to print only 1 name out of 3 on the list. however, I end up with the wrong results like

ike
ohnson
ennedy

below is my code in pyt..... More

Print this item

  getting inputs efficiently
Posted by: arman888 - May-19-2020, 02:36 AM - Forum: General Coding Help - Replies (2)

Is is posssible to get several inputs at once in 1 request, not 1 by 1 in series of input requests. For example: how to get the input of name and ag..... More

Print this item

  Is it the right way to create a second window?
Posted by: aquerci - May-19-2020, 01:23 AM - Forum: GUI - Replies (3)

hi guys,

I'm writing a graphical interface with Tkinter for some of my scripts and I would very like to know what do you think about my code because..... More

Print this item

  'NavigableString' object has no attribute 'h2'
Posted by: RandomCoder - May-19-2020, 12:44 AM - Forum: Web Scraping & Web Development - Replies (5)

Good Afternoon!
I have been following a tutorial on beautiful soup by Corey Schafer, but I came across an error when writing the code, and I do not ..... More

Print this item

  Ending the Program
Posted by: Twoshawns - May-18-2020, 10:38 PM - Forum: General Coding Help - Replies (2)

So right now I am trying to figure out how to prompt the user to type in yes or no in order to either continue or end the game. I have the prompt but ..... More

Print this item

  Creating Nested Dictionaries Confusion
Posted by: gw1500se - May-18-2020, 07:52 PM - Forum: General Coding Help - Replies (2)

I'm afraid I am not understanding dictionaries. After reading various articles the only thing I learned is I don't know what I am doing. To start, I a..... More

Print this item

  Using Function in a For loop
Posted by: vp1989 - May-18-2020, 05:04 PM - Forum: General Coding Help - Replies (5)

Using function variable C from the previous iteration and then calculate VB for the current iteration. Then Use VB to calculate C from the next iterat..... More

Print this item

  Somebody help pls!!
Posted by: pauliinaw - May-18-2020, 04:03 PM - Forum: Homework - Replies (2)

I have a homework, which I cant do myself. It's so hard to do, and I have like three days to finish it. Aaaand I'm so sorry, I'm from Finland so my en..... More

Print this item

  Error: Couldn't open image
Posted by: DotGuy - May-18-2020, 03:49 PM - Forum: Game Development - Replies (2)

Hello, I have recently started following a pygame flappy bird tutorial series.
[align=left]In the code that he shows in the tuto..... More

Print this item

  Silly sentence generator (how to print the sentence in the app)
Posted by: pav1983 - May-18-2020, 03:37 PM - Forum: GUI - Replies (5)

Dear python Community, I am having a hard time trying to figure out how to print the result in the app for my silly sentence generator. I was able to ..... More

Print this item

  How to place scroll bar correctly
Posted by: scratchmyhead - May-18-2020, 03:07 PM - Forum: GUI - Replies (1)

I have a listbox that is inside of a frame and when I put a scrollbar with the listbox, I want it to be to the right of the listbox but instead is loc..... More


Attached Files

Thumbnail(s)
   
Print this item

  Show pressure data in a nice graphical way?
Posted by: EmG - May-18-2020, 01:43 PM - Forum: News and Discussions - Replies (3)

Hi everyone,

I want to read some pressure data over a serial connection but then I need the data shown in a "nice graphical way" like a graph. I'm..... More

Print this item

  Mandelbrot set in Python
Posted by: Snorku - May-18-2020, 01:02 PM - Forum: Homework - Replies (7)

0


I have a problem. I'm doing a task for my lessons and I'm doing my best, but the teacher does not seem to care and I need to look for the probl..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Brazil Python Help to aut... 4 hours ago MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... Yesterday, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 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...
Most views
  The best Prog... 579210
  Tutorial Requ... 511977
  Web Scraping ... 442153
  Newbie with P... 386255
  New Users Int... 379223
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
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20
shipa1autotransport 11-20

User Panel Messages

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