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,939
» Latest member: Anunderling
» Forum threads: 38,722
» Forum posts: 175,508

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Anunderling
26 minutes ago
» Replies: 0
» Views: 11
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,260
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 710
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,594
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,053
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,553
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,384
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,580
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,528
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,683

 
  Problem with for loop
Posted by: Intellectual11 - May-19-2021, 08:55 PM - Forum: Homework - Replies (5)

I am doing a homework question where it's asking me to print a word backwards. So far I have the following code:
[python]#My name

word=str(input("..... More

Print this item

  Python and MySql
Posted by: ogautier - May-19-2021, 08:45 PM - Forum: General Coding Help - Replies (8)

Hello,

Currently I have a database (MySql) with a table called monedas where I have the following fields, simbolo and decimales.

Ae I am connec..... More

Print this item

  Importing issues with base class for inheritance
Posted by: riccardoob - May-19-2021, 12:44 PM - Forum: General Coding Help - Replies (5)

Hi, I'm trying to make a class that inherits from another one. The problem I'm having is related to imports, I'll try to explain as best as I can.

..... More

Print this item

  Finding how many times substring is in a string using re module
Posted by: ranbarr - May-19-2021, 12:34 PM - Forum: Homework - Replies (4)

Hi all,
Im learning now the re module and I'm trying to use it to find how many times the words "i" and "i'm" in the song Party Rock Anthem.
I chang..... More

Print this item

  Selenium does not keep the table?
Posted by: euras - May-19-2021, 11:34 AM - Forum: Web Scraping & Web Development - Replies (1)

I scrape a table with Selenium. When I found the match, I click on the row, which navigates me to the next page. I do a couple of things in that page,..... More

Print this item

  getting links from webpage and store it into an array
Posted by: apollo - May-19-2021, 11:00 AM - Forum: Web Scraping & Web Development - Replies (1)

dear Python-experts Smile


first of all: i hope that you are all right and everything goes well at your site.


I am currently a..... More

Print this item

  Scraping lender data from Ren Ren Dai website using Python. I will pay for that 200$
Posted by: Hafedh_2021 - May-18-2021, 07:10 PM - Forum: Web Scraping & Web Development - Replies (1)

Dear all,
I want to scrap data from the a website. The data relates to lender details. I want the data for data analysis purposes. So I do not want..... More


Attached Files

.xlsx   Sample.xlsx (Size: 30.14 KB / Downloads: 476)
Print this item

  Problem with code
Posted by: JohnSkull - May-18-2021, 06:43 PM - Forum: Game Development - No Replies

Good day, i was wondering could anybody help me with my code, so i am creating a pong game with a start menu. When start is clicked i want the pong ga..... More

Print this item

  [SOLVED] Good way to handle input args?
Posted by: Winfried - May-18-2021, 06:00 PM - Forum: General Coding Help - Replies (2)

Hello,

My script could be called with either discrete filenames or a glob:

[python]#myscript.py file1.txt file2.txt
#myscript.py *.txt

for i..... More

Print this item

  help on pandas circular import
Posted by: jip31 - May-18-2021, 11:39 AM - Forum: General Coding Help - Replies (2)

hi

i try to test this basic code but i have the message AttributeError: partially initialized module 'pandas' has no attribute 'Series' (most likel..... More

Print this item

  all i want to do is count the lines in each file
Posted by: Skaperen - May-18-2021, 06:21 AM - Forum: General Coding Help - Replies (13)

all i want to do is count the lines in each file but there are strange binary bytes or older ISO codes.

[output]
Traceback (most recent call last)..... More

Print this item

  help on else condition
Posted by: jip31 - May-18-2021, 05:38 AM - Forum: General Coding Help - Replies (5)

hi
when I try to add an else condition, i have the message "(variable) else: Any"
what is the problem please?

[python]
if reponse == 'Oui' or re..... More

Print this item

  Get anything before arguments
Posted by: Robotguy - May-17-2021, 11:16 PM - Forum: General Coding Help - Replies (3)

I understand how to retrieve arguments from any user input from powershell. However, I want to get what exactly was typed before arguments. For exampl..... More

Print this item

  openpyxl and newline characters
Posted by: Pedroski55 - May-17-2021, 08:56 PM - Forum: General Coding Help - No Replies

Why won't openpyxl accept newline characters??

Yesterday I wanted to put some questions in an excel file. The questions are in a text file, each on..... More

Print this item

  [split] Docker-compose on Pycharm - Connection refused
Posted by: handsoncloud44 - May-17-2021, 05:12 PM - Forum: Tutorial Requests and Submissions - No Replies

DEPLOY PYTHON LAMBDA

Project structure
Here’s a project structur..... More

Print this item

  Feed List items with Integer
Posted by: euras - May-17-2021, 04:57 PM - Forum: General Coding Help - Replies (9)

I try to get a list item by feeding it with Int variable, but cannot find a way to do it.
[python]# this one works
cars = ["Audi", "Opel", "BMW"]
..... More

Print this item

  heyPatient AG is looking for a Senior Fullstack Developer
Posted by: ItsEmma - May-17-2021, 01:02 PM - Forum: Jobs - No Replies

Hello! :)

heyPatient AG, based in Winterthur, is looking for a Senior Fullstack Developer (f/m/*) 80-100%

⚙️ Tech stack: Angular, Ansible, Azure..... More

Print this item

  Mark outlook emails as read using Python!
Posted by: shane88 - May-17-2021, 08:53 AM - Forum: General Coding Help - Replies (2)

Good morning,

I have created the following script, which downloads unread email attachments from my outlook account. How do I then mark them as rea..... More

Print this item

  How we prune Alphabeta Tree Node Using BST concept
Posted by: Anldra12 - May-17-2021, 07:47 AM - Forum: General Coding Help - Replies (4)

[quote]I implement an alpha beta Binary search for some specific proposes like how to get the different optimal Value but however don't know how prune..... More

Print this item

Question [Solved] How to refer to dataframe column name based on a list
Posted by: lorensa74 - May-17-2021, 04:38 AM - Forum: Data Science - Replies (1)

I am new to python, so my question may not have the correct terminology. I hope my intent is clear enough.

ma_list = [5,10]

----

A. Based on..... More

Print this item

  Getting false even when data exists
Posted by: sriniyum - May-17-2021, 04:14 AM - Forum: General Coding Help - Replies (12)

I have a csv file in pandas Data Frame and while trying to check for existence of Customer Key, it gives me False even when the Customer key provided ..... More

Print this item

  How to reference the relative directory when creating a photoimage
Posted by: kenwatts275 - May-17-2021, 02:51 AM - Forum: General Coding Help - Replies (3)

Hello everyone.
I am writing a card game and I am trying to put an image of the card suit (clubs, diamonds, hearts or spades) on a button.
I have th..... More

Print this item

  Possible to execute a python script before log off/shutdown with input commands?
Posted by: Kaltex - May-17-2021, 02:43 AM - Forum: General Coding Help - Replies (1)

Hi all

I have created a program that captures the current time and records this into a spreadsheet using a combination of the ‘xlwings’ and xlwrite..... More

Print this item

  Using the robot class - implement robot battles - Python OOP
Posted by: krnkrnkrn - May-16-2021, 09:42 PM - Forum: Homework - Replies (1)

In today task I have pretty fun thing to implement, but I have some problems.

Using the robot class - implement robot battles.

Each player has 5..... More

Print this item

  [solved] subdictionaries path as variable
Posted by: paul18fr - May-16-2021, 08:49 PM - Forum: General Coding Help - Replies (4)

Hi

I'm using different levels of subdictionnaries in order to sort types of data (In the same idea of directories and sub-directories) ; it works f..... More

Print this item

  Overlay Still Image on Webcam Video
Posted by: KDog - May-16-2021, 08:18 PM - Forum: GUI - Replies (4)

I have a program that opens video from the webcam and then performs functions such as saving an image and mirroring the live video. I am looking to ad..... More

Print this item

  anonymous method in a class
Posted by: Skaperen - May-16-2021, 07:33 PM - Forum: General Coding Help - Replies (8)

i have a class named foo with a method named bar. i want to create another method named woot that can be referenced by [b]bar[/b..... More

Print this item

  Sorting list - Homework assigment
Posted by: ranbarr - May-16-2021, 02:51 PM - Forum: Homework - Replies (1)

Hi everyone,
Im doing an homework assigment and I keep getting False, I finally found the problem which is because the list isnt sort right but I hav..... More

Print this item

Question Help with linearRegression/cross_val_score
Posted by: vasu2798 - May-16-2021, 02:45 PM - Forum: Data Science - Replies (5)

Hi. I'm trying to find the cross validation score using Linear regression model but am getting scores more than 1.
I have attached the data, code as ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Budget optimization in python
Posted by: ronjeremiah - May-16-2021, 01:18 PM - Forum: General Coding Help - No Replies

I am trying to perform a budget optimization on equation I have, and I do not have much python experience.

My equation is the top one in this link:..... More

Print this item

  How do I use tabs and spaces? (how to resolve error TabError: inconsistent)
Posted by: Onanism - May-16-2021, 12:25 PM - Forum: Homework - Replies (15)

Hello I like to import transactions into Gnu-Cash. By default my bank export is not suitable for Gnu-cash. To make it suitable I need to run it throug..... More

Print this item

  Automatic user/password entry on prompt by bash script
Posted by: PBOX_XS4_2001 - May-16-2021, 09:53 AM - Forum: General Coding Help - Replies (3)

Hi,

im tryin to build a project where i would like to enter the password/user automatically when i run as bash script through my python scrtipt, ca..... More

Print this item

  Doing some tests with SoupStrainer
Posted by: apollo - May-16-2021, 08:41 AM - Forum: Web Scraping & Web Development - No Replies

Hello dear pythonistas - hello dear python-experts,

hope everything is all right and youre well. i am doing some tests with SoupStrainer


[p..... More

Print this item

Information Beginner's Guide to Pie Charts with Python
Posted by: BlazingWarlord - May-16-2021, 07:30 AM - Forum: Tutorial Requests and Submissions - No Replies

Pie Charts are very useful to show large sets of numbers in an understandable way. Python's matplotlib has a function that allows us to draw cool-look..... More

Print this item

  NotImplementedError: pseudo-class is not implemented - how to Update Python to solve
Posted by: apollo - May-16-2021, 06:24 AM - Forum: General Coding Help - Replies (1)

hello dear Python-experts, Smile

first of all: many many thanks for this awesome forum: this is one of the best places for Python. I am glad t..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 26 minutes ago Anunderling Anunderling General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 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
Most views
  The best Prog... 576469
  Tutorial Requ... 498318
  Web Scraping ... 440362
  Newbie with P... 384249
  New Users Int... 367334
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+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Anunderling Today
Monir Today
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday

User Panel Messages

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