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,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 40 Guest(s)
Bing, Google, AOL, Mojeek, Twitter

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
7 hours ago
» Replies: 1
» Views: 41
Data Science
Forum: Data Science
Last Post: mamta25
7 hours ago
» Replies: 3
» Views: 2,576
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
Yesterday, 10:15 PM
» Replies: 1
» Views: 102
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 149
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 132
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 130
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,340
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,382
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 211

 
Thumbs Up Convert word into pdf and copy table to outlook body in a prescribed format
Posted by: email2kmahe - Sep-22-2023, 08:28 AM - Forum: General Coding Help - Replies (1)

Hello Experts,

Looking for a Python script for the below requirements:

1.Convert word document into pdf and attach to the email
2.Copy few sect..... More


Attached Files

.docx   Output File for Outlook.docx (Size: 20.87 KB / Downloads: 244)
.docx   Input File.docx (Size: 19.25 KB / Downloads: 264)
Print this item

  Python Code for Preorder Traversal of a Binary Tree
Posted by: Bolt - Sep-22-2023, 08:18 AM - Forum: General Coding Help - Replies (1)

Hi everyone,

I'm currently working on implementing a preorder traversal, and I've been using the tutorial on ..... More

Print this item

  Python C Extension Module loading issue on Cygwin
Posted by: mesibo - Sep-22-2023, 05:41 AM - Forum: General Coding Help - No Replies

We have a real-time messaging Python module available on various platforms, including Linux, macOS, Window..... More

Print this item

  Failure to run source command
Posted by: middlestudent - Sep-22-2023, 02:00 AM - Forum: General Coding Help - Replies (2)

Dear All,

I am a Python beginner. I followed the instruction in https://github.com/mkocabas/VIBE/tree/master to run python command.

Yet, I coul..... More

Print this item

  Python installation for old MacOS
Posted by: Yonix - Sep-21-2023, 03:22 PM - Forum: General Coding Help - Replies (1)

My Mac is running old MacOs from 2011. I am trying to insall Python in the Mac for the 1st time.
Which version would run under the MacOs?

I am an..... More

Print this item

  Scraping Data from Website
Posted by: melkaray - Sep-21-2023, 02:00 PM - Forum: General Coding Help - Replies (3)

Hi, I am trying to learn Scraping Data from Website with python and i tried extract that list ( List of largest companies by revenue - Wikipedia ) but..... More

Print this item

  Move Files based on partial Match
Posted by: mohamedsalih12 - Sep-20-2023, 03:00 PM - Forum: General Coding Help - Replies (2)

I want to move files to folders having same name or having part of the file name. I have 60000 files, in the folder (D:/Source) . , there names look l..... More

Print this item

  PyPDF2 deprecation problem
Posted by: gowb0w - Sep-20-2023, 10:42 AM - Forum: General Coding Help - Replies (5)

hi there ! i am following a tutorial, and here's the code :

[python]import pyttsx3, PyPDF2

from PyPDF2 import PdfReader

pdfreader = PyPDF2.PdfRead..... More

Print this item

  PyRun_String equivalent in stable ABI
Posted by: nschloe - Sep-19-2023, 08:53 AM - Forum: General Coding Help - Replies (2)

I'd like to translate a Python/C++ project to the stable ABI. The project uses PyRun_String to exec/eval a literal string in Python. That function is ..... More

Print this item

  Reading in of line not working?
Posted by: garynewport - Sep-19-2023, 07:54 AM - Forum: General Coding Help - Replies (2)

Just posted about my file not working and realised, as soon as I finished, that I already knew the solution.

However, I'd like a more flexible solu..... More

Print this item

  python command interface
Posted by: cwc2 - Sep-19-2023, 03:49 AM - Forum: General Coding Help - Replies (5)

Brand new to python....I just downloaded from python site and I am watching a training video. The video is telling me to run python --version and all..... More

Print this item

Video Rendering math notation with ASCIIMath within Nodezator
Posted by: KennedyRichard - Sep-18-2023, 03:58 PM - Forum: Code sharing - No Replies

[Image: CDgj8yf.png]

Recently came up with a solution for rendering math notation with ASCIIMath markup within Nodezator. It ..... More

Print this item

  Installing packages of Conda / Miniconda
Posted by: Liki - Sep-18-2023, 11:50 AM - Forum: Data Science - Replies (12)

Hallo,

I've bought an Book "Data Science mit Python" and I'm trying to install necessary programms and featurs.

At first i installed
http://con..... More

Print this item

Photo Python code: While loop with if statement
Posted by: HAMOUDA - Sep-18-2023, 09:25 AM - Forum: General Coding Help - Replies (1)

Dear Friend,
I am a beginner in python.
I find it hard to understand the logic of the following issues:
1- why we use empty string?
2-Why when y..... More

Print this item

  Python Launcher Pops Up When Py-based App Is Running (Mac)
Posted by: radix_optimus - Sep-18-2023, 09:19 AM - Forum: General Coding Help - No Replies

Hello,

I'm running macOS Mojave with Python 2.7. I have an old Dashboard widget (last modified in 2009) that appears to use Python. The widget..... More

Print this item

  image conversion
Posted by: Skaperen - Sep-18-2023, 02:27 AM - Forum: GUI - Replies (7)

i'm thinking about the design of a (my first) GUI program. this program will need to read image files and display some or all of an image in some or ..... More

Print this item

  Pynput - One content on screen, another in the variable
Posted by: Valjean - Sep-17-2023, 11:43 PM - Forum: General Coding Help - Replies (4)

Hi guys, I am using Pynput library to listen for the keyboard events and store typed keys in a variable, which I will use further for a text expansion..... More

Print this item

  Python implementation of Longest Common Substring problem
Posted by: Bolt - Sep-17-2023, 08:31 PM - Forum: General Coding Help - No Replies

What is the longest common substring (LCS) of two strings?

The LCS of two strings is the longest sequence of characters that appears in both string..... More

Print this item

  max_minus_min_abs
Posted by: whatdoyoumeanitwontpassthru - Sep-17-2023, 08:07 PM - Forum: Homework - Replies (3)

I have to come up with a code for max_minus_min_abs but I am confused on where to enter the numbers I am passing through. This is what I am using

..... More

Print this item

Question Special Characters read-write
Posted by: Prisonfeed - Sep-17-2023, 08:07 PM - Forum: General Coding Help - Replies (1)

I have a directory filled with .gz text archives. To scan these archives, I use the following python code:

[python]
with gzip.open(logDir+"\\"..... More

Print this item

  for loops break when I call the list I'm looping through
Posted by: Radical - Sep-17-2023, 04:40 PM - Forum: General Coding Help - Replies (4)

I was trying out the for loops in Python, and I don't fully understand why it breaks.

When I type:

[python]
for i in catNames:
print(catNames[i]..... More

Print this item

Question Common understanding of output processing with conditional statement
Posted by: neail - Sep-17-2023, 06:24 AM - Forum: General Coding Help - Replies (6)

Hello,

Can anyone please explain why the output calls the Evaluation statement before printing the series?

And what is the process to print the ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Installation
Posted by: tultalk - Sep-16-2023, 10:20 PM - Forum: General Coding Help - Replies (1)

Not sure where to post!!

Error msg:

Message:
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve..... More

Print this item

  Help creating shell scrip for python file
Posted by: marciokoko - Sep-16-2023, 04:18 PM - Forum: General Coding Help - Replies (10)

Hi guys,

So Im reading through this git (https://github.com/cubapp/RasPi-EnviropH...ree/master) and the author writes:

[quote]I call..... More

Print this item

  Yet another unique identifier generator
Posted by: Gribouillis - Sep-16-2023, 08:14 AM - Forum: Code sharing - Replies (3)

This small module generates unique ever 11 letters identifiers by converting the number of nanoseconds since 1970 to a string. I know there are many w..... More

Print this item

  Trying to get counts/sum/percentages from pandas similar to pivot table
Posted by: cubangt - Sep-15-2023, 02:41 PM - Forum: General Coding Help - Replies (6)

I am restructuring this question as i have moved away from trying the JSON file since we dont have a server to host this page, and more trouble than i..... More

Print this item

  Unchangeable variables in a class?
Posted by: Calab - Sep-15-2023, 02:27 PM - Forum: General Coding Help - Replies (12)

I want a class that will accept a value, and provide some other values based on calculations from the original value. I do not want these calculated v..... More

Print this item

  Making tetrominos
Posted by: ragoo - Sep-15-2023, 10:34 AM - Forum: Game Development - Replies (11)

Hi. I don't think this is really a game development problem, it's more of a design problem best I can tell.

I've written a base Tetromino class that ..... More

Print this item

  QTreeView, StyleSheet resizes last column
Posted by: malonn - Sep-15-2023, 09:44 AM - Forum: GUI - Replies (2)

I am using a QTreeView with a StyleSheet set to it. This tree has checkboxes, and the style replaces the image for the empty, checke..... More

Print this item

  Pythonic from a C++ perspective
Posted by: PyDan - Sep-15-2023, 12:45 AM - Forum: General Coding Help - Replies (2)

In C++, entSel would look like

int acedEntSel(const ACHAR * str, ads_name entres, ads_point ptres );

where entres and ptres are out parameters, th..... More

Print this item

  Class member become static
Posted by: Quasar999 - Sep-14-2023, 10:17 PM - Forum: General Coding Help - Replies (1)

In the following code data must be an non static attribute of the class Node:

[python]class Node:
total = 0
def __init__(self,parent,data):
..... More

Print this item

  C++ programmer confused about why Python isn't working the way I intend
Posted by: Radical - Sep-14-2023, 04:53 PM - Forum: General Coding Help - Replies (2)

So I just started learning Python a few days ago and have written a very simple block of code, but it doesn't do what I think it would. Can you please..... More

Print this item

Music Help with: Audiobook Library/Copier Project
Posted by: eleven43 - Sep-14-2023, 04:17 PM - Forum: General Coding Help - No Replies

Hello pythons!

Truth: Its my first little coding project. Nothing fancy, just for private use. I went through hours and hours of trial and error wi..... More

Print this item

  more pdf questions
Posted by: DPaul - Sep-14-2023, 08:54 AM - Forum: Bar - No Replies

Hi,
in my efforts to save server space, I have a "how to" problem.
Using Fitz (pyMuPdf), I can : open a pdf and find the page I need (page_nr)
[pyt..... More

Print this item

  How to import in photos
Posted by: CoderX - Sep-14-2023, 03:25 AM - Forum: Homework - Replies (2)

I have a project coming up in my Physics class where we are currently learning the fundamentals of Python. We have learned nested statements, how to s..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 7 hours ago Reema Gribouillis General Codin...
  Data Science 7 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... Yesterday, 22:15 tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 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
Most views
  The best Prog... 578731
  Tutorial Requ... 509431
  Web Scraping ... 441870
  Newbie with P... 385830
  New Users Int... 375340
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 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

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