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,936
» Latest member: AstoundzSEO
» Forum threads: 38,721
» Forum posts: 175,508

Full Statistics

Online Users
There are currently 60 online users.
» 1 Member(s) | 52 Guest(s)
Google, Bing, AOL, AOL, Mojeek, Applebot, snippsat

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 2,952
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,372
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 397
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 674
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,804
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 778
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 360
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,315
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,535
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Sep-14-2025, 03:32 PM
» Replies: 2
» Views: 1,194

 
  GUI programming PyQt 5 + Qt Designer
Posted by: flash77 - Mar-12-2022, 12:33 PM - Forum: GUI - Replies (9)

Dear community,

I'm new to python and I'm trying to generate a GUI with Qt Designer and python.

In the Qt Designer I made a file "Musikauswahl.u..... More

Print this item

  [Solved] Retrieving a pdf from sqlite3
Posted by: BigMan - Mar-12-2022, 05:12 AM - Forum: General Coding Help - Replies (4)

What I am trying to do
pdf files are stored in my sqlite3 database as blobs.
I want to select one specific pdf file and save it as a file.
..... More

Print this item

  Wait til a date and time
Posted by: KatManDEW - Mar-11-2022, 04:56 PM - Forum: General Coding Help - Replies (2)

Hello. I've been working with dates and times and I'm trying to figure out how to get python to wait for a specific date and time to perform an operat..... More

Print this item

  Sympy Tutorial Series
Posted by: Knight18 - Mar-11-2022, 03:25 PM - Forum: Tutorial Requests and Submissions - No Replies

SymPy is a Scientific Computation Library in Python, used for an extensive range of mathematical tasks, such as Creating and Solving Expressions, Crea..... More

Print this item

  Print variable between "
Posted by: paulo79 - Mar-11-2022, 01:18 PM - Forum: General Coding Help - Replies (5)

Hi all,

I'm trying to print variable between " (double quotes) .
Code is below:

[python]import cx_Oracle as oracledb
import xml.etree.Element..... More

Print this item

  Ldap Search for finding user Groups
Posted by: ilknurg - Mar-11-2022, 11:39 AM - Forum: General Coding Help - Replies (1)

I want to do ldap search for finding users groups.

I have this. I doesnt totally give me the result that i want but it works. If you have a query t..... More

Print this item

  Count occurences in a string and add to a list using loops
Posted by: Leyo - Mar-11-2022, 11:01 AM - Forum: Homework - Replies (4)

Good morning,

May I ask for some help with this homework please?:

[quote]
We're given a string called text:

[python]text=""" \
I want a he..... More

Print this item

  How to seperate dict value?
Posted by: ilknurg - Mar-11-2022, 09:26 AM - Forum: General Coding Help - Replies (2)

How can i seperate ip address and mac addresses??


['192.168.1.240,fe80::350e:d28d:14a5:5cbb']

Print this item

  How can I organize my code according to output that I want
Posted by: ilknurg - Mar-11-2022, 08:24 AM - Forum: General Coding Help - Replies (1)

Hi everyone. I have the code below.

[python]import json

with open('data6.json') as f:
data = json.load(f)
for item in data:
f..... More

Print this item

  Class exceptions
Posted by: DPaul - Mar-11-2022, 08:16 AM - Forum: General Coding Help - Replies (1)

Hi,
Question without code, I'm looking for best practice.
Simplified: a program imports a class "sphere.py".
In sphere.py, 3 functions: Circonf(),..... More

Print this item

  Convert Scanned PDF to Searchable PDF
Posted by: fuzzin - Mar-11-2022, 03:38 AM - Forum: General Coding Help - Replies (3)

I'm making software in python and I need to convert a scanned pdf into a digital pdf that is searchable. Using OCRMyPDF module, but the process is ver..... More

Print this item

  Functions
Posted by: Leo - Mar-11-2022, 01:51 AM - Forum: Homework - Replies (5)

Hello everyone
The only problem I have here is printing the distance between two points. The program asks the user to input 2 values and then appends..... More

Print this item

  playing .wav sound file with sounddevice
Posted by: shift838 - Mar-10-2022, 11:06 PM - Forum: General Coding Help - Replies (5)

I have worked out how to play the file and I am using a PyQT5 form i created. Nothing fancy.

So I want to be able to update a status message to st..... More

Print this item

  Building SQLite Query
Posted by: OogieM - Mar-10-2022, 09:49 PM - Forum: General Coding Help - Replies (10)

I am creating a query on the fly based on user inputs. I have separated my code into building the SELECT statements, the JOIN caluses and finally the ..... More

Print this item

  Get cell name from XML file
Posted by: paulo79 - Mar-10-2022, 09:47 PM - Forum: General Coding Help - Replies (4)

Hi all,

I have an oracle table with CLOB column type with this content below:

[quote]
<?xml version="1.0" encoding="utf-8" ?>
<cli-output>..... More

Print this item

  Dynamic checkbox treeview issue
Posted by: OogieM - Mar-10-2022, 09:14 PM - Forum: GUI - Replies (8)

I'm trying to use a checkbox treeview to display the results of an SQLite query. I build the query's SELECT, JOIN and WHERE clauses on the fly based o..... More

Print this item

  Can't subscribe to a thread I created
Posted by: 4slam - Mar-10-2022, 08:07 PM - Forum: Board - Replies (1)

After creating a new thread, when I click on the thread's 'Subscribe to this thread' button, I get a page showing the following error:

[quote]Authori..... More

Print this item

  Randomizer script to provide options based on user and priority
Posted by: cubangt - Mar-10-2022, 08:03 PM - Forum: General Coding Help - Replies (10)

Ok, so i tend to get bored at home sometimes and always looking for fun projects to work on and some of them work with my daughter on as well..

So ..... More

Print this item

  Imports that work with Python 3.8 fail with 3.9 and 3.10
Posted by: 4slam - Mar-10-2022, 07:56 PM - Forum: General Coding Help - Replies (1)

OS: Ubuntu 20.04
Python 3.8, 3.9, 3.10 built from source without errors.

Imports work as expected with Python 3.8:
[code]
$ python
Python 3.8.1..... More

Print this item

  matplotlib Plotting smooth line with nans
Posted by: mikisDeWitte - Mar-10-2022, 07:24 PM - Forum: General Coding Help - Replies (4)

Hello,

I want to automate a chart (we call it snake charts, screenshot below) that so far we've been building in Excel.
It's a scatter plot with s..... More

Print this item

  Initializing, reading and updating a large JSON file
Posted by: medatib531 - Mar-10-2022, 06:38 PM - Forum: General Coding Help - No Replies

Hello,
I want to work with a large JSON file in the following form:

{"1": {"data": "abc"},"2": {"data": "xyz"},...}
I want be cont..... More

Print this item

  .format function
Posted by: Menthix - Mar-10-2022, 03:56 PM - Forum: General Coding Help - Replies (6)

Hello,

I'm trying to create 3 different tables on this model :

[python]
Table_2016=pd.read_pickle("./0_DATA/0_raw/Table_PM_2016.pkl")
Table_..... More

Print this item

  How can i parse my output?
Posted by: ilknurg - Mar-10-2022, 10:30 AM - Forum: General Coding Help - Replies (20)

I have this code.

[python]import json

with open('data5.json', 'r') as myfile:
data = myfile.read()
data_2 = data.replace('[', ' ')
..... More

Print this item

  python function
Posted by: Ali_ - Mar-10-2022, 10:25 AM - Forum: Homework - Replies (5)

Hello!
I need to create a function with 3 numbers, let's say def f(x,y,z). If I have something like (2,3,2), I want it to return A2B3C2 but if I have..... More

Print this item

  list all functions in a package
Posted by: aka - Mar-10-2022, 08:59 AM - Forum: General Coding Help - Replies (5)

Hi,

I am used to computing but not in python. Can please someone help me ?

I am trying to use a big package and I need to search some functions ..... More

Print this item

  string indices must be integers when parsing Json
Posted by: ilknurg - Mar-10-2022, 08:34 AM - Forum: General Coding Help - Replies (3)

Hi. I have the json file and its content is like in the below.
I have a code for read and parse it. You can see my code in the below.


[b]"['[{\..... More

Print this item

  POST requests - different requests return the same response
Posted by: Default_001 - Mar-10-2022, 06:43 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi All,

I'm trying to retrieve data from a site by sending a POST request which appears to work, however, it returns the same result despite the r..... More


Attached Files

Thumbnail(s)
   
Print this item

  IndexError: invalid index to scalar variable.
Posted by: jyotib2610 - Mar-10-2022, 06:06 AM - Forum: Data Science - Replies (3)

I got the error as "IndexError: invalid index to scalar variable.", while trying this PSO algorithm problem. I also want to plot a graph between itera..... More

Print this item

  Output to a zip
Posted by: keyboardkomando - Mar-10-2022, 04:11 AM - Forum: General Coding Help - Replies (2)

I tried to do some searching, however I was unable to find how to do this. I wanted to see if anyone has any suggestions on this. I am trying to get t..... More

Print this item

  Cursor write 3rd file empty
Posted by: paulo79 - Mar-09-2022, 11:26 PM - Forum: General Coding Help - Replies (3)

Hi all,

I have this code below where from table all have values so all files generated should not be empty.

[python]import cx_Oracle as oracle..... More

Print this item

  Regular Expression for matching words
Posted by: xinyulon - Mar-09-2022, 08:30 PM - Forum: General Coding Help - Replies (1)

Hello. I'm really not sure about the defined re pattern for this exercise, especially how to define the string words between == on both sides in order..... More

Print this item

  Is chromedriver detectable by heavy seured websites?
Posted by: kolarmi19 - Mar-09-2022, 07:21 PM - Forum: General Coding Help - Replies (4)

Hello everyone.
i'm new to this thing so i'm not going to understand high terminology :-) i'm getting help with prton code that scrape a heavy seured..... More

Print this item

  How to add for loop values in variable
Posted by: paulo79 - Mar-09-2022, 06:52 PM - Forum: General Coding Help - Replies (1)

I have this command with this output below. I want to put output values in a new variable LIST so could check for later if on that list there is a wor..... More

Print this item

  How to customize each x-axis separately?
Posted by: Mark17 - Mar-09-2022, 02:37 PM - Forum: General Coding Help - Replies (4)

Matplotlib is giving me fits. Here's the graphing portion of my code:

[Python]
datetimes = pd.to_datetime(btstats['Date']) #need datetime column ..... More

Print this item

  ATM machine (deposits/withdrawals) using OOP
Posted by: Drone4four - Mar-09-2022, 01:08 PM - Forum: General Coding Help - Replies (17)

I’m trying to write a rudimentary banking ATM machine using Python OOP. The exercise I am working on calls for all kinds of advanced features but I am..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame 09-14, 11:25 JMcM JMcM Game Developm...
Most views
  The best Prog... 576006
  Tutorial Requ... 497437
  Web Scraping ... 439973
  Newbie with P... 383721
  New Users Int... 366187
Most reputation
buran 581
snippsat 508
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+ 12088
buran 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday

User Panel Messages

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