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,534
» Latest member: homerpalmer
» Forum threads: 38,662
» Forum posts: 175,192

Full Statistics

Online Users
There are currently 548 online users.
» 0 Member(s) | 541 Guest(s)
Applebot, Google, Bing, Baidu, AOL, Yandex

Latest Threads
Unable to define function...
Forum: Homework
Last Post: gmonroe
3 hours ago
» Replies: 0
» Views: 26
RemoTe server operation w...
Forum: General Coding Help
Last Post: snippsat
9 hours ago
» Replies: 6
» Views: 655
Qt Event Filtering
Forum: GUI
Last Post: deanhystad
9 hours ago
» Replies: 3
» Views: 152
processing nested json da...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Today, 01:32 AM
» Replies: 1
» Views: 105
Convert .pdf to .txt
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:23 AM
» Replies: 7
» Views: 472
Trouble Importing cell2lo...
Forum: General Coding Help
Last Post: snippsat
Jul-12-2025, 04:00 PM
» Replies: 3
» Views: 268
Why is bool() an instance...
Forum: General Coding Help
Last Post: deanhystad
Jul-12-2025, 02:41 AM
» Replies: 5
» Views: 250
[SOLVED] Why does regex f...
Forum: General Coding Help
Last Post: Pedroski55
Jul-11-2025, 11:52 PM
» Replies: 7
» Views: 4,011
Custom Sorting List of Di...
Forum: Homework
Last Post: Larz60+
Jul-11-2025, 03:34 PM
» Replies: 1
» Views: 169
Coding Standards
Forum: General Coding Help
Last Post: snippsat
Jul-11-2025, 01:12 PM
» Replies: 2
» Views: 251

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to define function... 3 hours ago gmonroe gmonroe Homework
  RemoTe server operation w... 9 hours ago mario17 snippsat General Codin...
  Qt Event Filtering 9 hours ago deanhystad deanhystad GUI
  processing nested json da... Today, 01:32 Kumo_Koloo Pedroski55 Web Scraping ...
  Convert .pdf to .txt Yesterday, 11:23 vmars316 Pedroski55 General Codin...
  Trouble Importing cell2lo... 07-12, 16:00 haileyp snippsat General Codin...
  Why is bool() an instance... 07-12, 02:41 voidtrance deanhystad General Codin...
  [SOLVED] Why does regex f... 07-11, 23:52 Winfried Pedroski55 General Codin...
  Custom Sorting List of Di... 07-11, 15:34 aryasinner Larz60+ Homework
  Coding Standards 07-11, 13:12 kency snippsat General Codin...
  Make code run faster: poi... 07-11, 07:24 Bennygib FrankBuckland General Codin...
Most views
  The best Prog... 572686
  Tutorial Requ... 485716
  Web Scraping ... 437143
  Newbie with P... 380078
  Thread remain... 351375
Most reputation
buran 581
snippsat 507
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+ 12073
buran 8174
snippsat 7352
deanhystad 6855
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
homerpalmer Today
aihancaiji31 Today
gmonroe Today
Tharindu Today
thomasjoe604 Today

User Panel Messages

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