Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,937
» Latest member: AdrianCocian
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 58 online users.
» 0 Member(s) | 53 Guest(s)
Bing, Google, Applebot, Internet Archive

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
1 hour ago
» Replies: 11
» Views: 3,901
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 432
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,428
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 789
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,258
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,136
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,353
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,341
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,463
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,023

 
  win32com — How to resolve “AttributeError: xlUp” for Excel files?
Posted by: JaneTan - Aug-18-2021, 01:16 AM - Forum: General Coding Help - Replies (2)

Similar to Excel VBA, win32com has a 'xlUp' command. But do I use it? I tried the below code but get
AttributeError: xlUp

Or how do I find all the..... More

Print this item

  Getting 'NoneType' object has no attribute 'find' error when WebScraping with BS
Posted by: Franky77 - Aug-17-2021, 02:48 PM - Forum: General Coding Help - Replies (2)

Hello,
please help python experts. I want to iterate through multiple pages for products info but when loop gets to the second page of products it th..... More

Print this item

  Merging spreadsheets with the same columns and extracting rows with matching entries
Posted by: johnbernard - Aug-17-2021, 01:34 PM - Forum: General Coding Help - Replies (3)

Hi All,

I have just begun learning Python for the last couple of months and I have got to grips with the very basics I think having no background in..... More

Print this item

  TypeError: missing 3 required positional arguments:
Posted by: wardancer84 - Aug-17-2021, 12:51 PM - Forum: General Coding Help - Replies (9)

hi all,

I got the error "TypeError: missing 3 required positional arguments:". I am aware what this usually means, but in that case...not.

Here ..... More

Print this item

  pd.read_csv timing out
Posted by: 83dons - Aug-17-2021, 11:33 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi

I am trying to read in a large NASA data file into a panda dataframe. It was working ok yesterday but overnight it stopped working giving errors..... More

Print this item

  Strange error ValueError: dimension mismatch
Posted by: Anldra12 - Aug-17-2021, 07:54 AM - Forum: General Coding Help - No Replies

I have to test word2vector model for text data similarity it generate this kind of error ValueError: dimension mismatch

[python]from keras.preproce..... More

Print this item

  Which one of these would you recommend?
Posted by: vil0x - Aug-16-2021, 11:38 PM - Forum: News and Discussions - Replies (2)

Which one of these would you recommend?

I've been wanting to start programming in python for a while now, yet I keep on getting drowned in the endl..... More

Print this item

  ABC Module and @property decorator, Pythonic Way?
Posted by: muzikman - Aug-16-2021, 07:00 PM - Forum: General Coding Help - Replies (21)

Greetings,

I just started learning Python about 3 months ago. I wanted to know what the consensus is when using the

@property
meth..... More

Print this item

  Make a wall in turtle module
Posted by: Jan_97 - Aug-16-2021, 06:20 PM - Forum: Game Development - Replies (2)

Hello! I am trying to build a small project in python turtle module but I am having some issue with how to make a wall (that is not an outside border)..... More

Print this item

  Beginner Search app
Posted by: Aero031 - Aug-16-2021, 06:20 PM - Forum: General Coding Help - Replies (1)

Hey everyone! I'm new to Python and coding and I would like some advice on creating a mobile app search tool.

I would like to create a search tool ..... More

Print this item

  Help with for loop
Posted by: samuelbachorik - Aug-16-2021, 06:05 PM - Forum: General Coding Help - Replies (4)

Hi just want to ask you how to create for loop that will work this way. I want to return two arrays and loop loop in them

[python]def function():..... More

Print this item

  How to set CPU and memory resource
Posted by: SriRajesh - Aug-16-2021, 11:50 AM - Forum: General Coding Help - Replies (1)

Hi,
I am running my python script on server, most of the time resource is distributed and occupied by other scheduled jobs. I want to minimize my prog..... More

Print this item

  Access specific value in df
Posted by: ju21878436312 - Aug-16-2021, 09:44 AM - Forum: Data Science - Replies (2)

Hi there,

Is there a way to assign a time difference to the whole column, from a certain row on?
How do I access e.g. the value in row 2, column 0..... More


Attached Files

.txt   2021-06-15_data.txt (Size: 14.02 KB / Downloads: 0)
Print this item

  Having problem configuring and using acitoolkit
Posted by: JSung - Aug-16-2021, 05:05 AM - Forum: General Coding Help - Replies (3)

I have donwloaded all the source code for acitoolkit. I have been trying to figure out how to use it.
I already have Python2.7 and pycharm install on..... More

Print this item

  How to sort values descending from a row in a dataframe using python
Posted by: sankarachari - Aug-15-2021, 06:23 PM - Forum: General Coding Help - Replies (1)

Hi There,
I would like to sort values descending to each row in a dataframe based grouping 1st col values.
Group col1 values and display relevant va..... More


Attached Files

.csv   SAMPLE.csv (Size: 150 bytes / Downloads: 371)
Print this item

  Infinite loop
Posted by: Danado - Aug-15-2021, 05:38 PM - Forum: Homework - Replies (4)

The program is for finding approximate values of an integral using the trapezoid method, but it is in an infinite loop. I couldn't find the error.
[..... More

Print this item

  redirect to page
Posted by: rwahdan - Aug-15-2021, 03:49 PM - Forum: Web Scraping & Web Development - Replies (1)

I have a site that has some free items to show and one link in the menu to show the paid items. When I click the link I want to be redirected to a pag..... More

Print this item

  How do you create common functions or classes
Posted by: a4ginatl - Aug-15-2021, 03:17 PM - Forum: Web Scraping & Web Development - Replies (1)

Having worked through tutorials and a few books, I have not found how this can be done especially in Flask. Being new to Flask and Python, I have a fe..... More

Print this item

  NameError: name 'Particle' is not defined in Pygame
Posted by: drunkenneo - Aug-15-2021, 06:17 AM - Forum: General Coding Help - Replies (4)

I have created a scenario for a bouncing ball

Firstly i have successfully created a class, and code was working wonders, later i tried to separate ..... More

Print this item

  A deciphering problem
Posted by: Truman - Aug-14-2021, 08:34 PM - Forum: Homework - Replies (25)

Break the following ciphertext, decrypting one line at a time because each
line has a different key. Remember to escape any quote characters:
qeFIP?eG..... More

Print this item

  Scraping a Flexible Element - works at first, and then crashes
Posted by: JonnyB - Aug-14-2021, 07:19 PM - Forum: General Coding Help - No Replies

[code]

import selenium
import os
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
import time

executable_path = ..... More

Print this item

  Need some help with Selenium
Posted by: WallieA - Aug-14-2021, 11:49 AM - Forum: Web Scraping & Web Development - Replies (6)

I have written the code below to scrape the data from the bet monitor.

When i run the code, i will get 18x the text: 'Today 13 Aug 20:00' . I would..... More

Print this item

  update values in one dataframe based on another dataframe - Pandas
Posted by: iliasb - Aug-14-2021, 10:03 AM - Forum: Data Science - Replies (2)

Hello everyone

I have a simple problem but for the life of me I can't find any straightforward answer on how to do it. So l have one dataframe with..... More

Print this item

  NEW TO PYTHON FROM SCRATCH! WISH ME LUCK!
Posted by: RZola - Aug-14-2021, 08:08 AM - Forum: News and Discussions - Replies (2)

Hello!
So I've taking an interest in learning Python, and wanted to know among the community what courses from any site that you seemed gave you a le..... More

Print this item

  Dropdown box showing weird entry
Posted by: cybertooth - Aug-14-2021, 07:47 AM - Forum: GUI - Replies (4)

Hi all.
I am working on a tkinter form. I have a dropdown combobox which is supposed to show the values from a MySql database. The problem is that it..... More

Print this item

Lightbulb NEED HELP NEW TO PYTHON!!
Posted by: RZola - Aug-14-2021, 06:01 AM - Forum: General Coding Help - Replies (6)

Hello! Im new to coding in python I always found coding interesting and wanted to take a dive in it and so far its been understandable but I have come..... More

Print this item

  How would I use Watchdog to get triggered when DVD is inserted?
Posted by: Daring_T - Aug-14-2021, 12:09 AM - Forum: General Coding Help - Replies (12)

I am making a DVD ripping script and I am trying to use the Watchdog Lib to trigger my main function. The problem is, I'm getting this error: [error]P..... More

Print this item

  How do you define and -put a value into a variable in Flask?
Posted by: a4ginatl - Aug-13-2021, 09:11 PM - Forum: Web Scraping & Web Development - Replies (10)

I am new to Flask and Python and have worked through a number of tutorials and then when starting n my own app, it crashed on the first line defining ..... More

Print this item

  running project from github
Posted by: rwahdan - Aug-13-2021, 03:43 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi

I downloaded a project from GitHub so I can learn more about Django. What are the steps that needs to be done to run the project?

Print this item

  MovieWriter ffmpeg unavailable; using Pillow instead.
Posted by: Joni_Engr - Aug-13-2021, 03:15 PM - Forum: General Coding Help - Replies (1)

Hi,

I get this error. How to fix this issue and which packages are required to install

"MovieWriter ffmpeg unavailable; using Pillow instead."

Print this item

  Change the varaible in For Loop
Posted by: quest - Aug-13-2021, 02:23 PM - Forum: General Coding Help - Replies (2)

Hello,
I have a very simple problem:
I am trying to increase the i in for loop like that:
1 2
4 5
3 4
6 7
5 6
8 9
One step I am increasing the i with ..... More

Print this item

Thumbs Up [SOLVED] Find last occurence of pattern in text file?
Posted by: Winfried - Aug-13-2021, 02:03 PM - Forum: General Coding Help - Replies (4)

Hello,

In a multiline text file, I need to find the last occurence of a pattern, ie. the Python equivalent of "tail".

None of the following work..... More

Print this item

  coding help
Posted by: davidchilambo - Aug-13-2021, 01:52 PM - Forum: General Coding Help - Replies (4)

hello i am trying to parse the data saved in a csv file so that i can arrange them in column and rows, i have tried to create dataframe with pandas bu..... More

Print this item

  Solved button on threads
Posted by: jamesaarr - Aug-13-2021, 01:22 PM - Forum: Board - Replies (1)

Could we get a button for the person who posts a thread so they can mark it as solved, so that when we are viewing the posts we can see who needs help..... More

Print this item

  From python game in terminal to a website game using bottle
Posted by: Njanez - Aug-13-2021, 01:11 PM - Forum: Game Development - No Replies

Hello, I'm not sure this is the right place to ask, but I will give it a shot. I programmed a simple battleships game that you can play in the termina..... More


Attached Files

.py   test.py (Size: 7.32 KB / Downloads: 421)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 1 hour ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576331
  Tutorial Requ... 498065
  Web Scraping ... 440243
  Newbie with P... 384094
  New Users Int... 366966
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday
Diyaseating Yesterday

User Panel Messages

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