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,281
» Latest member: drakhsin
» Forum threads: 38,792
» Forum posts: 175,870

Full Statistics

Online Users
There are currently 45 online users.
» 1 Member(s) | 39 Guest(s)
Bing, Apple, Google, Mojeek, drakhsin

Latest Threads
data fetching for indian ...
Forum: General Coding Help
Last Post: drakhsin
2 minutes ago
» Replies: 0
» Views: 2
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Yesterday, 08:30 PM
» Replies: 0
» Views: 35
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:15 AM
» Replies: 4
» Views: 1,465
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 119
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 47
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,035
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,290
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 333
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 173
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 233

 
  Plotting a specific bar / rectangle chart?
Posted by: glantz - Apr-30-2020, 08:36 AM - Forum: Data Science - Replies (2)

Hi all,
I would like to ask a question of whether I am using the correct methods to plot a specific chart.


First I plot this chart:
[img]http..... More

Print this item

  'AxesSubplot' object is not subscriptable
Posted by: amitsinbox - Apr-30-2020, 07:57 AM - Forum: General Coding Help - No Replies

i am trying to run a corelation. code is:

df[["sqft_living","price"]].corr()

i get following error: can someone please help.

[error]-------------..... More

Print this item

  Invalid syntax error, where?
Posted by: tucktuck9 - Apr-30-2020, 06:42 AM - Forum: Homework - Replies (2)

Can anyone help? Wall The question is: "Write a program to prompt the user for hours and rate per hour using input to compute gross pay. P..... More

Print this item

  Сombine (Merge) word documents using python-docx
Posted by: Lancellot - Apr-30-2020, 05:27 AM - Forum: General Coding Help - Replies (1)

Hello all Hand
I'm trying to combine multiple .docx files into one using python-docx.
MKA-20-5778-0-1.docx', '[u]MKA-20-5967-0-1.docx[/..... More

Print this item

  IPython console vs Spyder script
Posted by: losc - Apr-30-2020, 02:08 AM - Forum: General Coding Help - Replies (3)

Hello, I wrote a code to control a device (I have created a device class and defined attributes to execute different operation with the device). At so..... More

Print this item

  Change label for multiple frames
Posted by: Dandy_Don - Apr-30-2020, 02:01 AM - Forum: GUI - Replies (3)

I'm using Python 3 & Pycharm IDE.

I have a GUI that I created using tk. It is a notebook with multiple tabs.

[python]
class MainWindow(tk.Fram..... More

Print this item

  Python Adding +1 to a list item cointained in a dict
Posted by: ElReyZero - Apr-30-2020, 01:05 AM - Forum: Homework - Replies (1)

First, I have a list of dicts with the info of some athletes which looks like this:

[python] athletes = [{"name":"Robert", "country":"england", "ev..... More

Print this item

  putting 2 lists items side by side
Posted by: Jiwan - Apr-30-2020, 12:27 AM - Forum: General Coding Help - Replies (1)

hi guys,

can someone advise a syntax for writing items from the list side by side in the output.
For example: Name of groceries and their price an..... More

Print this item

  ImportError: cannot import name 'X ' from ' Y' (Unknown location)
Posted by: Arjunpi - Apr-30-2020, 12:14 AM - Forum: General Coding Help - Replies (1)

Hello,

I am fairly new to python and I am receiving following error while executing the below python code in IDLE.


[error]
Traceback (most r..... More

Print this item

  Issues with storing variables outside of a function
Posted by: cerulean747 - Apr-29-2020, 11:22 PM - Forum: General Coding Help - Replies (7)

Hi all,

Python newbie here. I'm confused as to why after running the below function, when I call one of the variables defined within that function,..... More

Print this item

  Single layer perceptron not outputting correct results
Posted by: mberge - Apr-29-2020, 10:17 PM - Forum: Data Science - No Replies

Hello guys,

I'm doing a very simple project for my machine learning class. We're implementing a single layer perceptron to classify the letters "L"..... More

Print this item

  Functions
Posted by: Notivation - Apr-29-2020, 09:48 PM - Forum: General Coding Help - Replies (3)

So I just started Python a few days ago and I'm stuck on functions. The exercise is to build a basic calculator: add, sub, multiply, and divide.

wh..... More

Print this item

  Confusion about TypeError and 'self'
Posted by: Muzzrooms - Apr-29-2020, 09:48 PM - Forum: Homework - Replies (2)

Hey everyone, this is my first post so I hope this is clear.
I am working on some code where the user is asked to select from a comboBox.

This pro..... More

Print this item

  Return Multiple or one just
Posted by: JohnnyCoffee - Apr-29-2020, 07:33 PM - Forum: General Coding Help - Replies (14)

I can import two classes (nothing abnormal), but the problem is that I need to call the method of each class using only one return or more, I tried th..... More

Print this item

  CookBook Learning Project
Posted by: menator01 - Apr-29-2020, 07:32 PM - Forum: Code sharing - No Replies

Just wanted to share the latest of my learning project.
It uses sqlite3 or mysql database. The default is sqlite3
All comments are welcome.
If you ..... More

Print this item

  calling on a method from one class into another class which is not a child
Posted by: NABA - Apr-29-2020, 06:54 PM - Forum: General Coding Help - Replies (5)

I have a class called World, another one called Fish. Fish is not a child of World, and I want to call the method getMaxX() and getMaxY() into the Fis..... More

Print this item

  Attribute Error - trying to create a pixel array out of PNG files
Posted by: The_Sarco - Apr-29-2020, 06:49 PM - Forum: General Coding Help - Replies (1)

Have 40 PNG files, ground truth labels for 40 DICOM images, that I am attempting to convert into an array for input into a Fully Convolutional Neural ..... More

Print this item

  Pyinstaller create this error :“File ”multiprocessing\connection.py“, line 691
Posted by: Formationgrowthhacking - Apr-29-2020, 06:48 PM - Forum: General Coding Help - Replies (2)

Hi everyone,

I am trying to make the executable of my python script with Pyinstaller. I am using:
PyInstaller: 3.6
Python: 3.7.7
Windows 10 64Bi..... More

Print this item

  Mysql CREATE TABLE IF NOT EXISTS dynamic table name
Posted by: nisusavi - Apr-29-2020, 06:35 PM - Forum: General Coding Help - No Replies

Hi folks, need some help here. I am trying to create a table in mysql from python and I get a syntax error while my print command shows the correct sy..... More

Print this item

  Improved Python support in SonarLint (PyCharm! Eclipse!)
Posted by: ganncamp - Apr-29-2020, 06:25 PM - Forum: News and Discussions - No Replies

Hi all,

If you're using SonarLint to catch errors in your IDE while you code, you'll be happy to know that we'v..... More

Print this item

  Cannot install R kernel or R essentials
Posted by: ErnestTBass - Apr-29-2020, 04:57 PM - Forum: General Coding Help - Replies (4)

I am trying to install R kernel or R essentials on a jupyter notebook with a lot of other softare install.

The install attempt fails with the :
..... More

Print this item

  Automation Engine on Python?
Posted by: jfha73 - Apr-29-2020, 03:37 PM - Forum: Web Scraping & Web Development - Replies (4)

Hey guys,

I am looking for an automation engine (like jenkins) but that runs on Apache httpd with Python, not Java I thought Selenium would ..... More

Print this item

  Closing window on button click not working
Posted by: kenwatts275 - Apr-29-2020, 03:30 PM - Forum: GUI - Replies (4)

Hello all,
I am trying to close/destroy a toplevel window via a button.
When I click on the columns_button, a new toplevel window is created with an..... More

Print this item

  please help with regex search.
Posted by: Pyguys - Apr-29-2020, 03:25 PM - Forum: General Coding Help - No Replies

i have problem with regex, i can't find a way get full line in doc with keyword.
i want to get result show"{"cid": "Ugfewffgikbsfewf3BAg", "text": "..... More

Print this item

  coding a function
Posted by: helpless_coder - Apr-29-2020, 03:08 PM - Forum: Homework - Replies (7)

Hello everyone

I have an assignment for university which I am having some problems with. We have to define a function which will return the utility..... More

Print this item

  Recommend a GUI library (targetting Raspberry PI with small screen)
Posted by: dcjams - Apr-29-2020, 02:59 PM - Forum: General Coding Help - Replies (1)

Hello

I'm an experienced developer across many languages and have finally got round to having a look at Python which is really interesting so far. ..... More

Print this item

  Help extracting text from element
Posted by: jpdallas - Apr-29-2020, 02:39 PM - Forum: Web Scraping & Web Development - Replies (7)

I've tried many different ways but can't seem to extract the product title and price from the following element:

<h1 itemprop="name" overrideelemen..... More

Print this item

  How to make each thread send multiple requests in python3?
Posted by: Contra_Boy - Apr-29-2020, 02:38 PM - Forum: General Coding Help - No Replies

I have written this script below and wanted to see how I can edit the script so that each thread sends multiple requests? Any suggestions how I can ac..... More

Print this item

  floating point not increasing properly
Posted by: rakeshpe43 - Apr-29-2020, 02:31 PM - Forum: General Coding Help - Replies (4)

Hi,

whenever i run the below loop as part of a code

x=0.
while(x<=2):
x+=.1
print(x)


i am getting the followi..... More

Print this item

  cv2/numpy
Posted by: d8a988 - Apr-29-2020, 02:18 PM - Forum: Data Science - Replies (4)

I am trying to obtain x,y coordinates by clicking on a graph in png format.
The following code works properly but it looks like that
x and y have ..... More

Print this item

  Python Image Library Help Raspian Raspberry Pi
Posted by: JamesGunn - Apr-29-2020, 02:09 PM - Forum: GUI - Replies (4)

Hello, I'm sorry this is a basic question, I've combed the internet following multiple tutorial/forum posts regarding this issue and I'm no further fo..... More

Print this item

  combobox and button
Posted by: Agusben - Apr-29-2020, 12:29 PM - Forum: GUI - Replies (1)

Is there a way to make a button appear after a specific value is selected from a Combobox?
I want to make a program that creats differents amounts of..... More

Print this item

  Bayesian network, DAG
Posted by: villamroland - Apr-29-2020, 11:58 AM - Forum: Data Science - Replies (1)

Hi!

I have a big medical database(.csv) with apr. 15 variable. All variables can be non-measured, normal, or abnormal. A row shows a patient's meas..... More

Print this item

  Best extension for Andriod developing ?
Posted by: samuelbachorik - Apr-29-2020, 11:55 AM - Forum: General Coding Help - Replies (1)

Hello i am using PyQt for windows GUI applications for long time but now i want to learn how to make android apps. Please can you give me some tips fo..... More

Print this item

  Mysql-Python Connectivity Error
Posted by: aryamanurs - Apr-29-2020, 11:38 AM - Forum: General Coding Help - Replies (2)

Installed the mysql-connector through pip. Got the following error while establishing the connection. All the connection details are proper.
[b]This ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... 2 minutes ago drakhsin drakhsin General Codin...
  Brazil Python Help to aut... Yesterday, 20:30 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...
Most views
  The best Prog... 579226
  Tutorial Requ... 512017
  Web Scraping ... 442159
  Newbie with P... 386283
  New Users Int... 379350
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
drakhsin Today
MileHigh303 Yesterday
ndx101 Yesterday
OtiliaBecker Yesterday
NAGASOWMYAGUNDU 11-20

User Panel Messages

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