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,255
» Latest member: pbkurd
» Forum threads: 38,782
» Forum posts: 175,830

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 27 Guest(s)
Google, Apple, Bing, Internet Archive, Mojeek, DriftDriveon5Dip

Latest Threads
Please guide me to comple...
Forum: General Coding Help
Last Post: pbkurd
41 minutes ago
» Replies: 0
» Views: 16
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
57 minutes ago
» Replies: 6
» Views: 84
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
7 hours ago
» Replies: 6
» Views: 334
New to python and coding
Forum: Homework
Last Post: lary_p
Today, 07:38 AM
» Replies: 5
» Views: 158
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 102
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 234
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 361
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 139
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,638
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 239

 
  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

  plotly expression problem
Posted by: Visiting - May-15-2021, 09:08 PM - Forum: General Coding Help - Replies (2)

I use following code to generate graph, but nothing display, can anyone help? Thank you!
[python]# Visualize all the original dimensions
import plot..... More

Print this item

  Adding a comma in the resulting value
Posted by: stsxbel - May-15-2021, 08:59 PM - Forum: General Coding Help - Replies (6)

Good day. I receive data from the device in the form: [1663] but it should be written as 166.3. Tell me how to do this?

Print this item

  Treeview - SQL - Add child node
Posted by: snakes - May-15-2021, 08:45 PM - Forum: GUI - No Replies

I've got a bunch of entry boxes that add data to an SQL database which is then pulled and added to a tkinter treeview widget. I can select each row in..... More

Print this item

  Managing Objects
Posted by: JoeDainton123 - May-15-2021, 02:57 PM - Forum: General Coding Help - Replies (1)

Hello all

I was wondering if anyone could help shed some light on how to manage objects once they have been instantiated.

I have a class that cr..... More

Print this item

  [split] Please help
Posted by: Tiger2inch - May-15-2021, 12:07 PM - Forum: General Coding Help - Replies (1)

Hey, my code is still showing error. Please help

Print this item

  Fibonacci
Posted by: Yasunaga - May-15-2021, 11:15 AM - Forum: General Coding Help - Replies (7)

Hi Guys,

I am a Python beginner and trying to write a code for Fibonacci sequence.
I wrote the following code and got a following result: [1, 1, 3..... More

Print this item

  problem with pyinstaller to create an executable file
Posted by: atlass218 - May-15-2021, 11:01 AM - Forum: General Coding Help - No Replies

Hi;
I just created an application with python version 3.9.4: when I run the python file (index.py), it works fine without any problem. once i have c..... More

Print this item

  TypeError: max_value() missing 2 required positional arguments: 'alpha' and 'beta'
Posted by: Anldra12 - May-15-2021, 10:17 AM - Forum: General Coding Help - Replies (2)

[python]def minimax(BTree):
alpha = mini
beta = maxi
userValue = max_value(BTree,alpha,beta)
return userValue
userValue = minimax..... More

Print this item

  cant use ping, sudo or other commands in remote shell script.
Posted by: throwaway34 - May-15-2021, 06:03 AM - Forum: General Coding Help - Replies (7)

Ive posted about this script in the past and again I have run aground... whenever I try to enter commands In such as sudo, Clear, ping and so on I do ..... More

Print this item

  Removing existing tuples from a list of tuple
Posted by: Bruizeh - May-15-2021, 04:08 AM - Forum: Homework - Replies (4)

For one of my rev questions I am trying to write a function that updates a list of tuples whenever a user decides to add a new contact. This has to be..... More

Print this item

  newbie
Posted by: bigplc - May-14-2021, 11:55 PM - Forum: General Coding Help - Replies (1)

pip install pulp
Note: you may need to restart the kernel to use updated packages.
'C:\Users\Craig' is not recognized as an internal or external com..... More

Print this item

  in a list or tuple
Posted by: Skaperen - May-14-2021, 11:53 PM - Forum: General Coding Help - Replies (6)

given an object that is in a list or tuple, is there a way to detect which type it is in?

Print this item

  Running script on multiple files
Posted by: Afrodizzyjack - May-14-2021, 09:16 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am using a package called 'augmentor' that creates augmented versions of an image. I have over 60 images and I want each image contain..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Please guide me to comple... 41 minutes ago pbkurd pbkurd General Codin...
  [solved] re.split issue 57 minutes ago paul18fr deanhystad General Codin...
  Backward compatibility qu... 7 hours ago yutaozhou noisefloor News and Disc...
  New to python and coding Today, 07:38 lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578924
  Tutorial Requ... 510168
  Web Scraping ... 441943
  Newbie with P... 385960
  New Users Int... 376779
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
pbkurd Today
Gichardaxora Today
cc123 Today
Jessicaadams Today
ftk456 Yesterday

User Panel Messages

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