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,479
» Latest member: reactnativeexpert
» Forum threads: 38,579
» Forum posts: 174,812

Full Statistics

Online Users
There are currently 813 online users.
» 0 Member(s) | 810 Guest(s)
Bing, Yandex, Google

Latest Threads
How to attach images to a...
Forum: Board
Last Post: sethmike9
2 hours ago
» Replies: 6
» Views: 8,851
How To Attach data Files
Forum: Board
Last Post: sethmike9
2 hours ago
» Replies: 3
» Views: 4,118
Text frame
Forum: Homework
Last Post: Pedroski55
10 hours ago
» Replies: 2
» Views: 350
Python automation: Sendin...
Forum: General Coding Help
Last Post: olips784
11 hours ago
» Replies: 0
» Views: 111
class Blockage not projec...
Forum: General Coding Help
Last Post: deanhystad
May-15-2025, 04:32 PM
» Replies: 1
» Views: 259
Import vs from x import
Forum: General Coding Help
Last Post: snippsat
May-15-2025, 04:09 PM
» Replies: 1
» Views: 200
Trouble with Average Calc...
Forum: General Coding Help
Last Post: Pate
May-15-2025, 07:38 AM
» Replies: 4
» Views: 1,376
tracking version during r...
Forum: News and Discussions
Last Post: Skaperen
May-15-2025, 12:25 AM
» Replies: 0
» Views: 148
Return a string or byte o...
Forum: General Coding Help
Last Post: snippsat
May-14-2025, 05:21 PM
» Replies: 5
» Views: 458
problems with netcdf if I...
Forum: General Coding Help
Last Post: Blaubart
May-14-2025, 04:02 PM
» Replies: 16
» Views: 1,287

 
  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

  Running script with subprocess in another directory
Posted by: paul18fr - Jan-20-2023, 02:20 PM - Forum: General Coding Help - Replies (1)

Hi,

I'm trying to run an executable script (thanks to chmod +x) but located in another directory; whatever I do, it is running in the current direc..... More

Print this item

  How to read csv file update matplotlib column chart regularly
Posted by: SamLiu - Jan-20-2023, 11:53 AM - Forum: General Coding Help - Replies (2)

Hi all,

I want to read csv date and update column charts by matplotlib automatically.
As snapshots first time write log and update column chart by..... More

Print this item

  write json into a table
Posted by: herobpv - Jan-20-2023, 06:44 AM - Forum: General Coding Help - Replies (4)

I need to write a subset of data into a table using pymssql library. I am able to prepare the data I want but stuck on how to write this data into a t..... More

Print this item

  Starting New Programming Career after 50
Posted by: MCL169 - Jan-20-2023, 02:23 AM - Forum: News and Discussions - Replies (4)

I am looking for a career change coming from a hospitality and customer service background. I have also run a freelance photography business and I wor..... More

Print this item

  Manipulating panda dataframes more python-like
Posted by: badtwistoffate - Jan-20-2023, 12:57 AM - Forum: Homework - Replies (4)

Hello,

While not necessarily homework, it seems the best place to post considering the question and difficulty level. I am trying to analyze some d..... More

Print this item

  iterate through the dict_values while unpacking the dictionary
Posted by: PeacockOpenminded - Jan-19-2023, 12:29 PM - Forum: General Coding Help - Replies (3)

I have trouble with iterating through dict_values, while unpacking the dictionary.

I have a dictionary which contains 2 arrays, a and b:
[python]a..... More

Print this item

  export sql table to csv using BCP with headers
Posted by: mg24 - Jan-19-2023, 05:36 AM - Forum: General Coding Help - No Replies

Hi Team,

Can we export SQL Table into csv using BCP Approach.

bcp "SELECT (SELECT STUFF((SELECT '|'+name FROM sys.columns
WHERE object_id = OB..... More

Print this item

  painfully slow runtime when handling data
Posted by: dadazhu - Jan-19-2023, 04:39 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I am new to Python, and just completed some codes as below that take forever to run. It seemed working if I only run the first 10 rows ..... More

Print this item

  Find a shift between 2 pictures
Posted by: TazFleck - Jan-18-2023, 09:56 PM - Forum: General Coding Help - No Replies

Hi everyone,

I have for a project to find a shift between 2 pictures:

[img]https://zupi[url=https://python-forum.io/thread-39237.html]..... More

Print this item

  Python Pandas Syntax problem? Wrong Output, any ideas?
Posted by: Gbuoy - Jan-18-2023, 08:55 PM - Forum: General Coding Help - Replies (2)

Hello!

I was hoping to get some input on why my code is not working as intended. I want to produce the mean and median value of a Pandas series tha..... More

Print this item

  [Solved] Eric 7 uic error
Posted by: arwen - Jan-18-2023, 08:02 PM - Forum: GUI - Replies (2)

Good morning.

I have a problem with erik7 after reinstalling PyQt5 which I had uninstalled by mistake.
In a small test program when I run "generat..... More

Print this item

  How we can Fraud Prevention Platforms for Business
Posted by: Anldra12 - Jan-18-2023, 03:41 PM - Forum: News and Discussions - No Replies

Expertise in Fraud Prevention Platforms

  • Dear all I need some suggestions or platforms that help me! How can we secure or make onlin..... More

Print this item

  Adding a subroutine to a larger program
Posted by: Led_Zeppelin - Jan-18-2023, 03:25 PM - Forum: General Coding Help - Replies (2)

The following program was written by me. I wanted to plot feature importance against sensor number on a two-dimensional plot. The X axis has the senso..... More


Attached Files

Thumbnail(s)
   
Print this item

  file handling Newbee question
Posted by: middlecope - Jan-18-2023, 01:59 PM - Forum: General Coding Help - Replies (2)

I am a pascal programmer learning python
Raspberry pi 2, python 3.9

f = open("temps.txt")
f.write("attemt1\r\n")
f.close
Nothing i..... More

Print this item

  Result from SQLite not reliable.. [Solved]
Posted by: SpongeB0B - Jan-18-2023, 06:56 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi everyone,

I'm testing in memory SQLite DB to use with Flask

here my simple test

[python]
Conn = sqlite3.connect(':memory:')
ConnCursor =..... More

Print this item

  How to insert data json to treeview tkinter?
Posted by: Shakanrose - Jan-17-2023, 07:26 PM - Forum: GUI - Replies (8)

Hi, I'm using python for a short time and I'm getting a little complicated. What I'm looking for is that when I enter the corresponding tab, it displa..... More

Print this item

  Looking for freelances in Python
Posted by: assalim - Jan-17-2023, 07:11 PM - Forum: Jobs - Replies (5)

Looking for freelances in Python

Print this item

  global variables
Posted by: HeinKurz - Jan-17-2023, 04:50 PM - Forum: General Coding Help - Replies (3)

I've read a view posts and articles about global variables so I don't understand why it doesn't work in my app.
In the code below pos1, pos2 and pos2..... More

Print this item

  PyQt5 graphics question
Posted by: HeinKurz - Jan-17-2023, 01:54 PM - Forum: GUI - Replies (5)

Hi!
Below my first Python PyQt5 app. Cool
So far it works perfectly.
But what I do in paintEvent is to load the background image every time ..... More

Print this item

  PIL ImageTk issue with MATPLOTLIB
Posted by: garynewport - Jan-17-2023, 11:32 AM - Forum: General Coding Help - No Replies

I am trying to run my program on a Linux unit, knowing that the code works on OSx and Windows.

I keep encountering the same issue, which relates to..... More

Print this item

  azure TTS from text files to mp3s
Posted by: mutantGOD - Jan-16-2023, 03:42 PM - Forum: General Coding Help - Replies (2)

Experiencing a problem with the sound files generated by the program, and that they are coming out as corrupted or not working properly.

I am havin..... More

Print this item

  automate new PDF creation with Bookmarks Based up Regex
Posted by: standenman - Jan-16-2023, 03:19 PM - Forum: General Coding Help - No Replies

I am seeking to create some functionality to recasting a PDF file of medical records. The date of treatment or visit is very important and I will lik..... More

Print this item

  Set string in custom format
Posted by: korenron - Jan-16-2023, 12:26 PM - Forum: General Coding Help - Replies (4)

Hello,
wanted to know how can I do the following :

I have a function the return 8 digits(as string)

12345678
I want to return..... More

Print this item

  Question on dir() function
Posted by: Soorya25 - Jan-16-2023, 11:55 AM - Forum: General Coding Help - Replies (1)

I have the following code which uses dir() function.

Want to know why dir() function is used here.
[img]https://appdividend.com/wp-content/uploads..... More


Attached Files

Thumbnail(s)
   
Print this item

  Very simple question about filenames and backslashes!
Posted by: garynewport - Jan-16-2023, 11:38 AM - Forum: General Coding Help - Replies (4)

I have a string of a filename, that contains the entire path.

I want to remove the file extension and capture only the filename.

I have reversed..... More

Print this item

  Retrieve website content using Python?
Posted by: Vadanane - Jan-16-2023, 09:13 AM - Forum: Web Scraping & Web Development - Replies (1)

If it helps, I'm using Python version 3.1.

This site has good users, and I'm sure you can help me. Anyway, I am trying to access the content..... More

Print this item

  Extracting tables and text above the table from a PDF to CSV
Posted by: DivAsh - Jan-16-2023, 08:03 AM - Forum: Data Science - Replies (3)

Hi

I have a PDF file from where i need to extract all the tables and also the text above the tables and output the results to a csv file.By using t..... More


Attached Files

.pdf   Input.pdf (Size: 52.29 KB / Downloads: 7)
Print this item

  wxPython install error
Posted by: carlomscalisi - Jan-16-2023, 12:49 AM - Forum: General Coding Help - Replies (3)

Complete Rookie, seriously.

I am attempting to install wxPython via pip on my Mac, running Mojave 10.14.6, but it's not working. Any help would be..... More


Attached Files

.pdf   Terminal Output.pdf (Size: 67.79 KB / Downloads: 375)
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to attach images to a... 2 hours ago CynthiaMoore sethmike9 Board
  How To Attach data Files 2 hours ago Talch sethmike9 Board
  Text frame 10 hours ago dnabtuh Pedroski55 Homework
  Python automation: Sendin... 11 hours ago olips784 olips784 General Codin...
  class Blockage not projec... 05-15, 16:32 Azdaghost deanhystad General Codin...
  Import vs from x import 05-15, 16:09 Calab snippsat General Codin...
  Trouble with Average Calc... 05-15, 07:38 autodecay Pate General Codin...
  tracking version during r... 05-15, 00:25 Skaperen Skaperen News and Disc...
  Return a string or byte o... 05-14, 17:21 Calab snippsat General Codin...
  problems with netcdf if I... 05-14, 16:02 Blaubart Blaubart General Codin...
  Retired and Learning Pyth... 05-14, 09:04 breacsealgaire BarbaraGonzalez Code sharing
Most views
  The best Prog... 565356
  Tutorial Requ... 456462
  Web Scraping ... 430311
  Newbie with P... 366445
  Thread remain... 338719
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12050
buran 8169
snippsat 7326
deanhystad 6827
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
reactnativeexpert Today
sethmike9 Today
Juh_07 Today
Jolex7 Today
fgvd Today

User Panel Messages

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