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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 32 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
2 hours ago
» Replies: 3
» Views: 106
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
2 hours ago
» Replies: 2
» Views: 71
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
6 hours ago
» Replies: 6
» Views: 3,179
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 243
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 128
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 91
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,525
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 175
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 81
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,149

 
  Using IDLE, bug when clicking code
Posted by: StarBasket - Jul-30-2019, 10:39 PM - Forum: General Coding Help - Replies (4)

Hi,

When using IDLE, I click on my code and it selects the row of code above, for example (look below) if I click on the end of the "print('Hello')..... More

Print this item

  Design Pattern for accessing subclass attributes
Posted by: UGuntupalli - Jul-30-2019, 10:27 PM - Forum: General Coding Help - Replies (2)

All,
I am looking for guidance on what would be good design pattern to use / implement given a particular problem.

Problem Statement[..... More

Print this item

  a coding challenge
Posted by: Skaperen - Jul-30-2019, 08:48 PM - Forum: News and Discussions - Replies (7)

this is my coding challenge for July 2019. it qualifies to work if it runs correctly on at least one of the following versions of Python: 2.6.x, 2.7...... More

Print this item

  Formatting Output after Web Scrape
Posted by: yoitspython - Jul-30-2019, 07:26 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,

I have web scraped an HTML table using BeautifulSoup and requests, and now trying to create a DataFrame from the results. [b]My current output ..... More

Print this item

  Need advice for developing cross platform desktop app
Posted by: omar - Jul-30-2019, 06:10 PM - Forum: News and Discussions - No Replies

I want to develop an app in Python.
In Python because I assumed would be best for cross platform - will work PC, Mac and Linux.

The app is a graph..... More

Print this item

  TypeError: int() argument must be a string or a number, not 'NoneType'
Posted by: Hadad - Jul-30-2019, 05:58 PM - Forum: General Coding Help - Replies (2)

Hi,

I'm getting this error when I run the following code. Any help to solve it would be highly appreciated.

app.py code:

[python]from flask i..... More

Print this item

  unsupervised learning for distribution of outliers
Posted by: dervast - Jul-30-2019, 05:36 PM - Forum: Data Science - Replies (3)

Hi all,
I have two questions related to unsupervised learning.

1. How I can try a few unsupervised learning algorithms and get a measure on the pu..... More

Print this item

  Help with Classes and dictionaries
Posted by: Tridium - Jul-30-2019, 05:09 PM - Forum: Game Development - Replies (3)

Hello, I'm am trying to convert my old game engine into a newer version that uses classes instead of just dictionaries.

My goal is to add similar k..... More

Print this item

  [split] max and min
Posted by: Tbakks - Jul-30-2019, 05:02 PM - Forum: Homework - Replies (2)

[python]
largest = None
smallest = None
while True:

nums = input("Enter a number: ")
if nums == "done":
break
..... More

Print this item

  how retrieve database save multiple data in web Django 2.1
Posted by: taomihiranga - Jul-30-2019, 04:58 PM - Forum: Web Scraping & Web Development - No Replies

i'm making a web site for post data from database.in my database have many data fields. i can retrieve one data from database.but [b]when trying to ge..... More

Print this item

  Error :unable to detect undefined names created in spyder ide error at line 2
Posted by: milind_eac - Jul-30-2019, 04:31 PM - Forum: General Coding Help - Replies (2)

[python]import pymysql
from tkinter import *
from tkinter import messagebox
def search():
try:
con=pymysql.connect(user='root',passwo..... More

Print this item

  Hollow triangle-drawing characters param error.
Posted by: phob0s - Jul-30-2019, 03:35 PM - Forum: General Coding Help - Replies (4)

Hello,

I thought my algorithm was perfect, but I was wrong.

Here's my code :

[python]
r = int(input())
i = 0

print("@", end="\n")
while..... More

Print this item

  if statement
Posted by: d3fi - Jul-30-2019, 03:19 PM - Forum: General Coding Help - Replies (2)

Hello. hope you can help me.
first. here is my code

[python]medicin = input("hvilken medicin skal du give? ").lower() #What medicine are you givin..... More

Print this item

  How to Caputre Data After Selenium Scroll
Posted by: ahmedwaqas92 - Jul-30-2019, 02:32 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello

I made a small python script that loads a website and then scrolls to the bottom of the page. I now would like to count all the instances in ..... More

Print this item

  Creating A List of DataFrames & Manipulating Columns in Each DataFrame
Posted by: firebird - Jul-30-2019, 02:30 PM - Forum: Data Science - Replies (1)

Hello Everyone!
Would you help solving the following problem. I want to create a list made up of several dataframes, access each dataframe through a..... More

Print this item

  '<' not supported in web Element and webElement
Posted by: law - Jul-30-2019, 01:46 PM - Forum: General Coding Help - Replies (2)

Hello Friends,
I'm scrapping data(numbers) from an online site, saving it in variable A&B and using comparison operator < to
check if A<B but am rec..... More

Print this item

  Better Coding
Posted by: aankrose - Jul-30-2019, 01:43 PM - Forum: General Coding Help - Replies (3)

[python]
import sys
rows=colcnt=11
dotcnt=center=(rows-1)
for cnt in range(1,(rows+1)):
print("".ljust(dotcnt,'.'),end='')
for c in range(do..... More

Print this item

  If Statement Help
Posted by: VictorVictus - Jul-30-2019, 12:56 PM - Forum: General Coding Help - Replies (6)

Hello, users of Python!

My name is Victor Puche, I'm a total noob at programming in Python. I'm trying to create a test program which, using variab..... More

Print this item

  Uploaded new module prasticus on pypi
Posted by: Gribouillis - Jul-30-2019, 12:36 PM - Forum: Code sharing - No Replies

I uploaded a new module on pypi today, named prasticus. I'd be glad if some of you want to download it!..... More

Print this item

  Loop through List
Posted by: jeran042 - Jul-30-2019, 12:17 PM - Forum: General Coding Help - Replies (5)

Good morning, I can really use some helpm

I need to iterate over a list and if the criteria is met, add item to list. Then print list with the valu..... More

Print this item

  How to fetch file from a list which match file extension
Posted by: suddhasilsarkar - Jul-30-2019, 10:07 AM - Forum: General Coding Help - Replies (1)

Hi Team,

I am lerning python and trying some basic execution. I came across a situation where I want to restore data from AWS glacier with a specif..... More

Print this item

  pandas: can we look for the index of a string
Posted by: paul18fr - Jul-30-2019, 09:49 AM - Forum: Data Science - Replies (2)

Dear All

For the first time I'm trying to use Pandas to load and read csv files that inlude values and strings; DataFrames object is quite n..... More

Print this item

  Object of type Scoreboard is not JSON serializable
Posted by: lsepolis123 - Jul-30-2019, 09:01 AM - Forum: General Coding Help - Replies (9)

Object of type Scoreboard is not JSON serializable

IS ANY OTHER WAY TO serialize this OBJECT ... ? trying a scoreboard for a game...

>>> %Run sn..... More

Print this item

  random behavriour when handle process termination signal in Python
Posted by: hamzeah - Jul-30-2019, 08:49 AM - Forum: General Coding Help - Replies (2)

Hello,
I have a simple code, which has random behavior when termination signal is handled. I put the question in below link, with code, but no one re..... More

Print this item

  cuda gmp
Posted by: manish1m97 - Jul-30-2019, 08:38 AM - Forum: Data Science - Replies (2)

I want to run mpmath or gmpy2 or any multiple-precision arithmetic on Cuda. I searched a lot but not able to find much.I'm working on google colab. th..... More

Print this item

  Trying to replace for loops with numpy
Posted by: vspoloni - Jul-30-2019, 08:00 AM - Forum: Data Science - Replies (8)

Hello all,

I just recently started working on python, and I am currently working on a Simulation that reads the distances between a ball and the Fl..... More

Print this item

  [split] building a transition matrix for ion channels
Posted by: satyam2007 - Jul-30-2019, 07:10 AM - Forum: General Coding Help - Replies (1)

hey. Can someone help me in building a transition matrix for ion channels? I was coding for the markov chain in potassium ion channels but I am not ab..... More

Print this item

  Spacing Between two labels are very far and Top label is not in Center using Tkinter
Posted by: barry76 - Jul-30-2019, 06:32 AM - Forum: GUI - Replies (2)

Hey, I have been working with Tkinter code using grid and with some certain ways of using pack at same time, as mentioned below in code.

[python] ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Help with PyInstaller + Script "Failed to Execute Script"
Posted by: ironfelix717 - Jul-30-2019, 05:59 AM - Forum: General Coding Help - Replies (2)

Hi all,

I've made some progress. Its been slow but its coming along.

The script i made converts first page of PDF to JPEG with Poppler + PDF2image m..... More

Print this item

  OpenCV - Distinguishing between three icons
Posted by: kainev - Jul-30-2019, 04:20 AM - Forum: General Coding Help - Replies (2)

Hi,

I have an application that needs to determine when a particular icon is showing:
X
[Image: JTwA9qE.png]

Lakitu
[im..... More

Print this item

  Trouble processing file
Posted by: villumanati - Jul-30-2019, 03:01 AM - Forum: General Coding Help - Replies (1)

Hello I am new to python and am attempting to read a text file.

The file is of the below format. Note the \r represents carriage return. \n represe..... More

Print this item

  How to find sum difference between two csv
Posted by: Prince_Bhatia - Jul-30-2019, 02:38 AM - Forum: General Coding Help - Replies (3)

Hi,

I have two csv files.
Csv 1
A 1
B 2
C 3

Csv 2
A 10
B 20
C 30

How do i find the sum difference of column 2

Like 10-1+20-2+30-3
..... More

Print this item

  How do I set the path to my module one directory below my python 3.7.3 program?
Posted by: deac33 - Jul-29-2019, 11:53 PM - Forum: General Coding Help - Replies (1)

How do I set the path to my module one directory below my python 3.7.3 program?

I was able to have success using
--- import sys
--- sys.path...... More

Print this item

  Can a function modify a variable outside it?
Posted by: Exsul - Jul-29-2019, 11:48 PM - Forum: General Coding Help - Replies (3)

I can get a for loop or while loop to modify a variable outside them, but I can't figure out how to get a function to do that.

[python]# THIS WORKS..... More

Print this item

  I think I messed up python....
Posted by: XavPro_QC - Jul-29-2019, 11:43 PM - Forum: General Coding Help - Replies (7)

I was doing some stuff and installing some new web-site on my ubuntu dedicated server when one website was asking for php7.1 and up mine is 7.0.3.x so..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 2 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 2 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 6 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 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...
Most views
  The best Prog... 579362
  Tutorial Requ... 512322
  Web Scraping ... 442277
  Newbie with P... 386330
  New Users Int... 380178
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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