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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 40 online users.
» 0 Member(s) | 36 Guest(s)
Bing, Applebot, Google

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
8 hours ago
» Replies: 3
» Views: 79
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
10 hours ago
» Replies: 3
» Views: 92
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 67
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 98
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,040
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,554
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 182
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,194
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,438

 
  Correctly read a malformed CSV file data
Posted by: klllmmm - Jan-25-2023, 02:07 PM - Forum: General Coding Help - Replies (2)

I have a malformed CSV file where I need to create a proper dataframe.
[Image: s!An03iU493hAgnpxZ2rP2oUzB9BJNNw?e=djFMls]

I get a..... More


Attached Files

Thumbnail(s)
       

.csv   test_CSV_file.csv (Size: 415 bytes / Downloads: 272)
Print this item

  Virtual Environments - Organization (VS Code)
Posted by: JaysonWonder - Jan-25-2023, 01:51 PM - Forum: General Coding Help - Replies (11)

Hello All,

I have a few questions about organizing my virtual environments using VS code. My thought was to create a few venvs that would meet my nee..... More

Print this item

Question Running Python under Termux on Android tablet
Posted by: dfkettle - Jan-25-2023, 11:46 AM - Forum: General Coding Help - Replies (1)

Is anyone here running Python using the Termux app on an Android device? I'm able to compile and run Python scripts, and I've been able to install som..... More

Print this item

  python print all files which contain specific word in it
Posted by: mg24 - Jan-25-2023, 04:30 AM - Forum: General Coding Help - Replies (5)

Hi Team,

how to print all files which contains specific word in files.
how to concat source path and word to search for.


[python]
import glo..... More

Print this item

  NYU PYTHON CERTIFICATE
Posted by: MCL169 - Jan-25-2023, 04:09 AM - Forum: Jobs - No Replies

I am starting a new career in software development late in life and I am looking for the fastest track at least to get my foot in the door. I wanted t..... More

Print this item

  Finding combinations of list of items (30 or so)
Posted by: LynnS - Jan-25-2023, 03:59 AM - Forum: General Coding Help - Replies (1)

Hello, I'm having difficulty getting result running this:

[python]from itertools import combinations

input = ['R1:99','R2:111','R3:71','R4:18','..... More

Print this item

  Allure Report Generation
Posted by: rotemz - Jan-24-2023, 08:30 PM - Forum: General Coding Help - No Replies

Hello,
I installed the package allure-pytest via pip.
I executed a test and also specified the report dir: pytest --alluredir='[reports folder]' tes..... More

Print this item

  player just randomly teleporting to the edge of a platform in pygame
Posted by: BliepMonster - Jan-24-2023, 06:32 PM - Forum: Game Development - Replies (5)

[python]
import pygame

# Initialize pygame
pygame.init()

# Set the screen size and caption
screen = pygame.display.set_mode((800, 600))
pyga..... More

Print this item

  Pygame is treating blob_group as a surface, when I need it to treat it as a Sprite.
Posted by: Swagford - Jan-24-2023, 06:15 PM - Forum: Game Development - Replies (1)

Hey all, I'm following along a pygame tutorial for a platforming game and have been stuck on this for a while now. I made sure to do exactly as the tu..... More

Print this item

  QScrollArea does not work
Posted by: HeinKurz - Jan-24-2023, 05:23 PM - Forum: GUI - Replies (3)

Hi!
What's wrong with my code? QScrollArea is shown but scrolling doesn't work.

[python]
import sys
import datetime
import xml.etree.ElementTre..... More

Print this item

  Import XML file directly into Excel spreadsheet
Posted by: demdej - Jan-24-2023, 02:48 PM - Forum: General Coding Help - No Replies

I'm new to Python and despite how many hours/days I've spent on this, I'm loving my journey. Currently, I'm trying to import an XML file directly into..... More

Print this item

  Using pyobjc-framework-CoreServices
Posted by: Questor24 - Jan-24-2023, 02:42 PM - Forum: General Coding Help - Replies (1)

Trying to write a replacement for SetDefaultMailApp which implies LaunchServices but seems to be part of CoreServices now and I've installed the pytho..... More

Print this item

  Question about ImagePath.Path() in Pillow library
Posted by: dfkettle - Jan-24-2023, 01:35 PM - Forum: General Coding Help - Replies (1)

Hi!

I've been learning how to use the various packages and methods in the Pillow library (v9.4.0 under Python 3.7.9), but I have a question about t..... More

Print this item

  Not getting Info(Title)
Posted by: yrstruly - Jan-24-2023, 12:04 PM - Forum: Web Scraping & Web Development - Replies (1)

Im following a webscraping coure: https://www.linkedin.com/learning/web-sc...true&resum..... More

Print this item

  digest header generating issue
Posted by: alexander_pershin - Jan-24-2023, 10:05 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,
I'm trying to generate digest header for the request similarly to JavaScript code from example, however python script produces different res..... More

Print this item

  How can I use python for data transformation instead of PowerQuery?
Posted by: KMark27 - Jan-24-2023, 08:43 AM - Forum: Data Science - Replies (1)

Hello Guys

I would like to ask a general theoretical question. We have right now a BI solution which uses excel files from sharepoint and the data ..... More

Print this item

  Finding the median of a column in a huge CSV file
Posted by: markagregory - Jan-24-2023, 06:31 AM - Forum: Data Science - Replies (5)

Copying the column from the CSV to a DataFrame causes RAM to run out -> 100 GB - yes it is a big file

I would appreciate some help to implement a s..... More

Print this item

  Python [nogil]
Posted by: DeaD_EyE - Jan-23-2023, 08:51 PM - Forum: News and Discussions - Replies (3)

Today I found this: https://github.com/colesbury/nogil

[quote]Overview

This is a proof-of-concept implementation of CPython that supports multit..... More

Print this item

  Players not falling from the platform, and some other errors.
Posted by: urmom33 - Jan-23-2023, 06:07 PM - Forum: Game Development - Replies (1)

Hi, I'm kind of new at both python and pygame. I was trying to make a (very) simple platform fight game, and of course I found some errors I can't fix..... More

Print this item

Video Bionic Blue: Free open-source action platformer game
Posted by: KennedyRichard - Jan-23-2023, 01:23 PM - Forum: News and Discussions - No Replies

Hello, everyone,

I'm Kennedy Richard S. Guerra, 32, maintainer of the Indie Python project, a personal project whose goal is to promote fun and lea..... More

Print this item

  first time use plot - I get empty graph
Posted by: korenron - Jan-23-2023, 01:09 PM - Forum: General Coding Help - Replies (6)

Hello,
I want to show variable in a graph , I don't have "x" only the value of y
so I thought to create an int for numbers of time I get the speed ..... More

Print this item

  [split] I want to add a code to the "Save" button to save the data entered
Posted by: LOO - Jan-23-2023, 09:47 AM - Forum: GUI - Replies (1)

I want to add a code to the "Save" button to save the data entered . Also, I want when you click on "Back" button, it go to main menu. At the same ti..... More

Print this item

  What are some of the best resources for learning Python?
Posted by: Vadanane - Jan-23-2023, 09:28 AM - Forum: News and Discussions - Replies (2)

What are some of the best resources for learning Python?

Print this item

  sys.argv method
Posted by: nngokturk - Jan-23-2023, 07:49 AM - Forum: General Coding Help - Replies (3)

Hello,

For my research, I need to run a Python script that can analyze the syntactic complexity of the texts. The script essentially takes an inpu..... More


Attached Files

.py   analyzeText.py (Size: 5.31 KB / Downloads: 302)
Print this item

  How to separate the values in an element to add them
Posted by: monty024 - Jan-23-2023, 12:32 AM - Forum: General Coding Help - Replies (4)

Greetings,

I have a python question.. I have a list with the following four elements.
What I want to do is add the vales in element 1 (17,21,2..... More

Print this item

  obfsproxy running on centos 7
Posted by: SMQS_500 - Jan-22-2023, 07:49 PM - Forum: General Coding Help - No Replies

I am using CentOS 7 os.
I installed python3.6 on this machine.
pip3 is latest version 21.
After that i installed obfsproxy like this : ..... More

Print this item

  Extract file only (without a directory it is in) from ZIPIP
Posted by: tester_V - Jan-22-2023, 12:57 AM - Forum: General Coding Help - Replies (1)

Greetings!
I'd like to extract files only, without the directories they are in, in the ZIP.
I wrote a small script but it extracts files with the di..... More

Print this item

  PySide6 QFontDialog - bug or just me?
Posted by: PatM - Jan-21-2023, 11:22 PM - Forum: GUI - Replies (1)

I have a qfontdialog that works ALMOST perfectly BUT I am having one issue.

When I first start the program I use
[code]
self.font = QFont()
self..... More

Print this item

  python pypdf function to add bookmarks
Posted by: standenman - Jan-21-2023, 04:53 PM - Forum: Data Science - Replies (2)

I have the following code to recast a set of medical records so that the new PDF has bookmarks that reflect the date of medical treatment. The code cr..... More

Print this item

Thumbs Up Python 3 Jupyter notebook ternary plot data
Posted by: nicholas - Jan-21-2023, 04:35 PM - Forum: General Coding Help - No Replies

I'm using the ternary library and Matplotlib to plot a heat map of gibbs free energy of mixing and a thermodynamic phase diagram for a ternary solutio..... More

Print this item

  QTableView set header labels
Posted by: HeinKurz - Jan-21-2023, 11:10 AM - Forum: GUI - Replies (2)

Hi!
I have a PyQt5 window with a QTableView. The data comes from a XML file. So far everthing works fine.
But now I want to set the header labels be..... More

Print this item

  Libraries for Process Mining
Posted by: PythonBeginner1 - Jan-21-2023, 01:49 AM - Forum: Data Science - Replies (1)

Hi,

I'm not sure if I'm in the right forum, but I hope someone can help me.
Do you know some python libraries for process mining?
On the internet..... More

Print this item

  TypeError: 'float' object is not callable #1
Posted by: isdito2001 - Jan-20-2023, 10:51 PM - Forum: General Coding Help - Replies (1)

Good evening, can you help me and tell me what I am doing wrong because it tells me that it is not callable. reggards

[code]
# Import Pmw from thi..... More

Print this item

  python move specific files from source to destination including duplicates
Posted by: mg24 - Jan-20-2023, 07:41 PM - Forum: General Coding Help - Replies (3)

Hi Team,

I have 2000 csv files in a source folder. airtel,jio data files etc.
file naming convention start with mobile no and then string value conca..... More

Print this item

  pandas dataframe into csv .... exponent issue
Posted by: mg24 - Jan-20-2023, 06:20 PM - Forum: General Coding Help - Replies (10)

Hi Team,

I am trying to write pandas Dataframe into csv,
wrong values getting printed into csv. exponent issue.



-5.00E-06


[pyt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 8 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 10 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578681
  Tutorial Requ... 509086
  Web Scraping ... 441836
  Newbie with P... 385787
  New Users Int... 375040
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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