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,271
» Latest member: aminrony1999
» Forum threads: 38,787
» Forum posts: 175,856

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 29 Guest(s)
Google, Bing, Apple, Mojeek

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 3
» Views: 151
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Yesterday, 11:47 AM
» Replies: 4
» Views: 151
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Yesterday, 08:44 AM
» Replies: 2
» Views: 118
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 163
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 347
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 66
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 110
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 353
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 203
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 313

 
  finding element of specific field in pandas adjacency matrix
Posted by: amjass12 - Oct-27-2020, 09:27 AM - Forum: General Coding Help - No Replies

Hi!

I have a pandas adjacency dataframe where I need to be able to identify any element on that dataframe by its physical numbered position, not inde..... More

Print this item

  multiprocess hang when certain number is used in the program
Posted by: esphi - Oct-27-2020, 08:43 AM - Forum: General Coding Help - Replies (7)

Hi, I am a python beginner, I am starting to learn multiprocessing. I have created this program to simply calculate the squares of a big list of numbe..... More

Print this item

  Where to start
Posted by: 7even - Oct-27-2020, 07:56 AM - Forum: News and Discussions - Replies (2)

Hello everyone?
I'm new to this forum and I need some advices and great tutorial that can make me feel comfortable with python Rolleyes

Print this item

  FPDF question
Posted by: DPaul - Oct-27-2020, 07:43 AM - Forum: General Coding Help - Replies (2)

I have an app that generates pdfs, i use it on a regular basis, using FPDF.
It works fine, thank you.

Recently I did a version 2, the big differen..... More

Print this item

Smile Question about deserializing some numbers (bug??)
Posted by: hyoxt121 - Oct-27-2020, 06:29 AM - Forum: Data Science - Replies (3)

Hi! In order to deserialize bytes object, we use pickle.loads():

import pickle
import numpy as np
pickle.loads(np.float64(0.34103))

and the ex..... More

Print this item

  deprecated
Posted by: maly - Oct-27-2020, 02:58 AM - Forum: Data Science - No Replies

Good day,
I am trying to solve the next lab ..... More

Print this item

  should I uninstall anaconda?
Posted by: abrogard - Oct-27-2020, 01:30 AM - Forum: News and Discussions - No Replies

I am trying to get going with Python. I did the Anaconda install and since then it's been nothing but difficulties.

Now there's another one. I..... More

Print this item

  33*25.4
Posted by: schascheck - Oct-27-2020, 12:45 AM - Forum: General Coding Help - Replies (5)

Hello,

I was using the IDLE today and typed in 33*25.4 and it evaluated to 838.1999999999999

I also tried the Python web shell and it gave me th..... More

Print this item

Photo Setting Marker Edge Color In Plotting
Posted by: JoeDainton123 - Oct-26-2020, 10:48 PM - Forum: General Coding Help - No Replies

Hello all

I was hoping someone could help me fill in my gaps in my understanding regarding Python Plotting via matplotlib and the Python documentat..... More

Print this item

  So simple yet not working....
Posted by: giladal - Oct-26-2020, 10:19 PM - Forum: General Coding Help - Replies (13)

Hi Guys.

I am trying to remove the letter F or C or f or c from the string and then print it.

Here is the code, and for the love of god, I don't..... More

Print this item

  python compiling and sql?
Posted by: abrogard - Oct-26-2020, 10:18 PM - Forum: News and Discussions - Replies (2)

I am just about to start using Python to learn some programming and before I start I just wonder about portability of anything I may write (which won'..... More

Print this item

  Python broken if moved to a different folder
Posted by: ecastrotns - Oct-26-2020, 10:06 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm building a installer to redistribute inside my company Scons with some special tools developed in-house. The idea is to have an environment..... More

Print this item

  rounding and floats
Posted by: Than999 - Oct-26-2020, 09:08 PM - Forum: General Coding Help - Replies (2)

Hi, I don't understand why 10/3 the answer is 3 and 10.0/3.0 is 3.3333? Can anyone explain this to me? Thanks!

Print this item

  random library
Posted by: FedeZsuper - Oct-26-2020, 06:09 PM - Forum: General Coding Help - Replies (3)

This is my code:

[python=import random

print('''
Benvenuto al programma: 'Carta Forbice Sasso'

Creato da: Federico Oblatore
''')

scelta ..... More

Print this item

  How to get rid of numerical tokens in output (webscraping issue)?
Posted by: jps2020 - Oct-26-2020, 05:37 PM - Forum: Web Scraping & Web Development - No Replies

I'm working my way through an excellent webscraping tutorial, and I'm on Lesson 10 here:

https://programminghistorian.org/en/less...nting-freq..... More

Print this item

  Making lists using itertools and eliminating duplicates.
Posted by: mike3891 - Oct-26-2020, 04:29 PM - Forum: General Coding Help - Replies (2)

I'm trying to get all combinations of the following numbers as long as they don't total over 50,000 and must be in combos of 6. From there I want to c..... More

Print this item

  lists as arguments
Posted by: vinci - Oct-26-2020, 04:20 PM - Forum: General Coding Help - Replies (2)

Another stupidly simply question, but I have to ask anyway: why do some functions expect their arguments to be what I assume to be lists (square brack..... More

Print this item

  youtube-dl taken down from Github after RIAA notice
Posted by: snippsat - Oct-26-2020, 04:00 PM - Forum: News and Discussions - Replies (7)

So did just notice that youtube-dl was gone.
Have used it in several project trough the years,both in GUI and web(Flask).

For those who not know w..... More

Print this item

  Working With Pdf
Posted by: Harshil - Oct-26-2020, 02:50 PM - Forum: GUI - Replies (3)

Hey! I Found That Qt Has a QPDFview And QPDFDocument but they are in c++.

Is There a way to use them in python?

Print this item

  Alternative for Cairosvg?
Posted by: Maryan - Oct-26-2020, 01:27 PM - Forum: General Coding Help - No Replies

Hi! I'm trying to convert the result output from .SVG(pygal) to .PNG, but seem I have errors while using cairo. Any alternative to cairo? Thank you!
..... More

Print this item

  Selenium Python for Dropdown not working
Posted by: gj31980 - Oct-26-2020, 12:21 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi All,

We have an internal dynamics CRM page that we are trying to download data from using Selenium. Unfortunately when I get into the second win..... More

Print this item

  how can i create a dictionary of dictionaries from a file
Posted by: Astone - Oct-26-2020, 11:31 AM - Forum: Homework - Replies (2)

So i need to create this dictionary(dictionary of dictionaries):

my_dict={'1':{'surname':'Musk', 'name':'Elon', 'gender': 'm','growth':183},
..... More

Print this item

  Parameters aren't seen inside function
Posted by: Sancho_Pansa - Oct-26-2020, 10:31 AM - Forum: General Coding Help - Replies (8)

Hello,

The question is related to the use of the Lcapy library (circuit analysis).
The 1st version of the Vin declaration (which is comment..... More

Print this item

  quiver plot scaling help
Posted by: StillAnotherDave - Oct-26-2020, 09:12 AM - Forum: Homework - Replies (1)

Hello all,

I have written some code to produce a contour plot (scalar field) and added a quiver plot (vector gradient) to display the gradient:
..... More

Print this item

  Modify XML request on Flask with ElementTree
Posted by: Chris_SK - Oct-26-2020, 08:59 AM - Forum: Networking - No Replies

Hello, I'm python beginner. What I wan't to solve, is modify POST request(xml via cURL) on Flask. Thank's for anny help.

Simple server code:
[python]..... More

Print this item

  Counting the values ​​in the dictionary
Posted by: Inkanus - Oct-26-2020, 08:34 AM - Forum: General Coding Help - Replies (7)

Hi. I have some problem with dictionary. My dictionary has two keys, and each key has three values ​​assigned to it. I would like to count the amount ..... More

Print this item

Photo Insert 0 values in database
Posted by: saljuaid - Oct-26-2020, 07:21 AM - Forum: General Coding Help - Replies (4)

I have this python code. I am using tk and pyodbc. when I have run this code, it inserts 0 value in user_id column in the database even I haven't ente..... More

Print this item

  sqlite
Posted by: Kundan - Oct-26-2020, 05:18 AM - Forum: General Coding Help - Replies (6)

[python]import sqlite3

def convertToBinaryData(filename):
#Convert digital data to binary format
with open(filename, 'rb') as file:
b..... More

Print this item

  Changing Software language in GUI
Posted by: Harshil - Oct-26-2020, 04:14 AM - Forum: General Coding Help - Replies (1)

Hey! Here is my new problem that is necessary that need to solve!!

So i have a pyqt5 or tkinter gui program and now what is problem is that i have ..... More

Print this item

  except condition in not executing
Posted by: MahaEbrahim - Oct-26-2020, 01:53 AM - Forum: Homework - Replies (7)

Dear All,

The program is supposed to calculate the hour rate paid if there is an overtime and continue normally if not.
but the added while loop and ..... More

Print this item

  Convert all actions through functions, fill the dictionary from a file
Posted by: Astone - Oct-25-2020, 11:54 PM - Forum: Homework - Replies (3)

I can't figure out how to make functions for the dictionary in the dictionary, how to pass arguments if there is a string. It would be nice if someone..... More

Print this item

  Active threads
Posted by: metulburr - Oct-25-2020, 11:36 PM - Forum: Board - No Replies

There is a new option in Forums -> Active Threads OR if your in the default theme it is just in the toplink. Options to modify the results listing is ..... More

Print this item

  save button: IndexError
Posted by: Maryan - Oct-25-2020, 11:23 PM - Forum: General Coding Help - Replies (4)

So my app can successfully export to csv file and import it. But when I try to save the data into the DB I'm getting error.
One note: when I import t..... More

Print this item

  corresponding lists
Posted by: Nickd12 - Oct-25-2020, 10:40 PM - Forum: General Coding Help - Replies (2)

I have to lists the idea is I'm going to get the day with calendar and datetime lets say for example that today is Wednesday I would like Wednesday to..... More

Print this item

  WebDriverWait visibility isnt defined
Posted by: gr3yali3n - Oct-25-2020, 07:47 PM - Forum: Web Scraping & Web Development - No Replies

when assigning elements to WebDriverWait do i need to keep the elemet name the same whem calling it with EC? for example
[python]
popUp2 = WebDriver..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 4 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... Yesterday, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... Yesterday, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579094
  Tutorial Requ... 511223
  Web Scraping ... 442065
  Newbie with P... 386125
  New Users Int... 378398
Most reputation
buran 581
snippsat 511
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+ 12108
buran 8196
snippsat 7389
deanhystad 6914
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aminrony1999 Yesterday
fobby888 Yesterday
digitalboy346 Yesterday
ben9090o Yesterday
ViktoriaMetodieva Yesterday

User Panel Messages

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