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,964
» Latest member: Edzed4431
» Forum threads: 38,729
» Forum posts: 175,541

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 31 Guest(s)
Bing, AOL, AOL, Google, snippsat

Latest Threads
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
3 hours ago
» Replies: 4
» Views: 1,973
My First App
Forum: Code Review
Last Post: carlbidwell
11 hours ago
» Replies: 8
» Views: 8,552
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Today, 03:54 AM
» Replies: 3
» Views: 449
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 905
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 937
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 5,206
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,821
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,858
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 446
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 735

 
  Array initialization anomaly
Posted by: JohnPie - Jul-09-2020, 12:50 PM - Forum: General Coding Help - Replies (1)

Depending on how I initialize an array its behaviour is different and in one case seems like a Python bug. In my example I create two 3 X 10 arrays us..... More

Print this item

  pandas read_csv can't handle missing data
Posted by: mrdominikku - Jul-09-2020, 12:26 PM - Forum: Data Science - No Replies

I am trying to download data from football data

[python]import os

import pandas as pd

GAMES = ['E0', '..... More

Print this item

  Plotting 3D Data with Custom Colorbar
Posted by: Gates666 - Jul-09-2020, 10:56 AM - Forum: General Coding Help - No Replies

Hello,

I'm new to Python and I require some help. This might be pretty easy for most of you, but not for me. I'm working on my Bachelor's Degree an..... More

Print this item

  Short link URL
Posted by: Evil_Patrick - Jul-09-2020, 09:56 AM - Forum: Web Scraping & Web Development - Replies (5)

Let's say I open a Short link url using Requests
Like:

source = requests.get("short.url/k123h3")
is there any way I ca..... More

Print this item

  Erreur Code
Posted by: yan_mhb - Jul-09-2020, 09:54 AM - Forum: General Coding Help - Replies (2)

bonjour,

j'ai un projet sur python, et le but est d'envoyer des trams du pc vers un bus CAN en utilisant le Kvaser Leaf Light V2.
je débogue mais ..... More

Print this item

  Searching string in file and save next line
Posted by: dani8586 - Jul-09-2020, 09:14 AM - Forum: General Coding Help - Replies (2)

Hello, I'm new to the forum so hello all! I've looked for the solution to my problem in the forum, but I didn't find it, so I ask. I apologize if this..... More

Print this item

  Tkinter email client
Posted by: menator01 - Jul-09-2020, 08:52 AM - Forum: News and Discussions - Replies (1)

Just wanted to share the current learning project.
Although far from being finished, I the program will get and display email subjects.
Refreshes ev..... More

Print this item

  Get text entry in frame1, echo it in frame2
Posted by: Pedroski55 - Jul-09-2020, 08:45 AM - Forum: GUI - Replies (8)

I'm trying to learn tkinter.

In my window I have 2 frames, frame1 and frame2. Everything displays OK.

I can get a text entry in frame1 and I ca..... More

Print this item

  Searching through Nested Dictionaries and Lists
Posted by: Dave_London - Jul-09-2020, 08:44 AM - Forum: General Coding Help - Replies (1)

Hi all,
I hope you can help me Smile

I am accessing data via an API and I end up with data in nested dictionaries and lists.

I am trying ..... More

Print this item

  Monitor specific line of code from website
Posted by: Olimpiarob - Jul-09-2020, 08:28 AM - Forum: General Coding Help - Replies (1)

Im looking for some guidelines/tips when I want to monitor a specific line of code from a website.

The website that I want to monitor is dynamic. E..... More

Print this item

  matplotlib.pyplot functions create new figures instead of applying to the current one
Posted by: karkas - Jul-09-2020, 08:05 AM - Forum: Data Science - Replies (2)

I'm starting to learn matplotlib, following the pyplot tutorial, but something we..... More

Print this item

  Print output in single file using pramika loop
Posted by: deepakkhw - Jul-09-2020, 06:50 AM - Forum: General Coding Help - Replies (1)

Hi,
I am using the below script for my automation but currently, it is making different putout file each device but I want to make a only single file..... More

Print this item

  Struggling with nested list
Posted by: gr3yali3n - Jul-09-2020, 05:44 AM - Forum: General Coding Help - Replies (3)

Now I’ve gotten a slight grasp on dictionaries ,the join() and split I am working on understanding nested list and how to process them at least I thin..... More

Print this item

  Why int() cannot pass a string representation of a float into int?
Posted by: majorjohnusa - Jul-09-2020, 04:44 AM - Forum: General Coding Help - Replies (1)

Dear all,
I have a rookie question.

In the following codes, we know that the second one will result in a ValueError, because the "int()" command can..... More

Print this item

  right now a goto would be useable
Posted by: Skaperen - Jul-09-2020, 04:24 AM - Forum: News and Discussions - Replies (9)

i'm deep in a bunch of if clauses and a couple of for loops and my test detect a condition where i need to set up the dictionary to be returned then r..... More

Print this item

  Searching for a word
Posted by: Kristenl2784 - Jul-09-2020, 01:06 AM - Forum: General Coding Help - No Replies

Hello,

This script as it sits has no errors, and works, but I want to change it up slightly. Right now it takes the files in my input directory, an..... More

Print this item

  ModuleNotFoundError: No module named 'scipy.optimize'; 'scipy' is not a package
Posted by: AaronKR - Jul-08-2020, 11:25 PM - Forum: General Coding Help - Replies (1)

Quick disclaimer: I'm still very much a beginner to python

I get the error in the title when I run

[python]from scipy.optimize import brentq[/py..... More

Print this item

  What is distinction between 'sent3' and 'set(sent3)'?
Posted by: AOCL1234 - Jul-08-2020, 09:51 PM - Forum: Homework - Replies (5)

What is the distinction between 'sent3' and 'set(sent3)', 'sent2' and 'set(sent2)', etc.? 'sent3' generates the tokens entailed in sentence 3, which m..... More

Print this item

  redirect url_for passing arguments with the url
Posted by: Leon79 - Jul-08-2020, 08:05 PM - Forum: General Coding Help - Replies (1)

Hello Coders!

I have a problem with a redirect, I'm a very beginner, and I would like to accomplish to this!

I show you the code:

[python]
..... More

Print this item

  CSV to Json
Posted by: starfish - Jul-08-2020, 07:25 PM - Forum: General Coding Help - Replies (6)

As a python beginner, I like to take a CSV file and load and then output json

I have tried a few things - pandas, csvmapper but I'm struggling to ..... More

Print this item

  ModuleNotFoundError: No module named 'plotly.validators.scatter3d.line'
Posted by: jeffbrownell - Jul-08-2020, 07:21 PM - Forum: General Coding Help - Replies (3)

I’m running into a ModuleNotFound error with plotly when running the below die_visual.py script. It imports plotly libraries and another small random ..... More

Print this item

  Word blitz Hack python
Posted by: Joeri75 - Jul-08-2020, 07:14 PM - Forum: General Coding Help - Replies (1)

Hi there all ,

can homebody help me what i am do'ing wrong with python 3.8.4

i want to try this code : https://github.com/taixhi/wordblitz/blob..... More

Print this item

  How to fill between the same area with two different colors
Posted by: Staph - Jul-08-2020, 07:01 PM - Forum: General Coding Help - No Replies

import matplotlib.pyplot as plt
x1 = [1,2,3,4,5,]
y1 = [2,3,4,5,6]
y2 = [6,7,8,9,10]

x2 = [6,7,8,9,10]
y11 = [2,3,4,5,6]
y22 = [10,11,12,12,5]..... More

Print this item

  pygame in Backgroundthread works in Linux, crashes in Win10
Posted by: blbltheworm - Jul-08-2020, 06:49 PM - Forum: Game Development - Replies (3)

Dear all,

I am working on a project where pygame is running in a background tread to provide a GUI and the main program is interacting indirectly w..... More

Print this item

  New to coding. need som help with an assignement.
Posted by: gambit - Jul-08-2020, 06:16 PM - Forum: Homework - Replies (4)


[python]def volume_per_container(kg_cargo_per_cubic_metre):
"""Given the kg of cargo..... More

Print this item

  ctypes and custom data type (structures, pointer to structures)
Posted by: python_user_n - Jul-08-2020, 05:52 PM - Forum: General Coding Help - No Replies

Hi everyone,
Recently I've tried to understand how to use ctypes in Python3 (3.8) by loading shared library (.dll, Microsoft Windows OS) from ..... More

Print this item

  Creation of Buttons with Shared Command Inside Class
Posted by: MulliganAgain - Jul-08-2020, 05:52 PM - Forum: GUI - Replies (1)

I am trying to refactor some code into classes and methods that I have for a LED matrix GUI. When I create the matrix of buttons I created a lambda to..... More

Print this item

  How to do an ean query?
Posted by: leon1912 - Jul-08-2020, 04:31 PM - Forum: General Coding Help - Replies (2)

Hello,
I want to program an ean query with an ean api.
The ean request looks like this: ..... More

Print this item

  Question in python function problem
Posted by: saratha - Jul-08-2020, 04:14 PM - Forum: General Coding Help - Replies (1)

HELLO EVERYONE, python
Can I ask you a question? What is the answer for this question and can anyone explain it in depth?


			

Print this item

  Saving Report Names
Posted by: Kristenl2784 - Jul-08-2020, 03:49 PM - Forum: General Coding Help - Replies (7)

Hello,

I'm trying to get the below code to save my files a certain way, and I can't seem to get it to work. What I want to happen is once the data..... More

Print this item

  error SimpleITK module with pyinstaller
Posted by: PythonCode12 - Jul-08-2020, 12:07 PM - Forum: General Coding Help - No Replies

I want to generate an executable and therefore include the SimpleITK module with pyinstaller. My code works fine in the python editor. If i make an ex..... More

Print this item

  plotting from 3 differential equations
Posted by: grknkilicaslan - Jul-08-2020, 11:47 AM - Forum: General Coding Help - Replies (1)

Hi,
I do not know how to get x-z plot from the equations below. I tried many ways but I could not achieve it. This is very important for my research...... More

Print this item

  building and printing a receipt with receipt printer
Posted by: marly - Jul-08-2020, 10:38 AM - Forum: News and Discussions - Replies (2)

Hello! I have recently started a project (application for a restaurant) using wxpython library, but I don't know
how to print or what library a can u..... More

Print this item

  Whats the difference between these two?
Posted by: Puxk - Jul-08-2020, 10:34 AM - Forum: Homework - Replies (4)

here's my question:-
You are driving a little too fast, and a police officer stops you. Write a function to return one of 3 possible results: "No tic..... More

Print this item

  Find, delete and add text into pdf file
Posted by: a_shvechkov - Jul-08-2020, 10:30 AM - Forum: General Coding Help - Replies (2)

Dear forum users!

There is a pdf file, it is necessary to delete certain text in it. Then add new text below to the existing one.
I'm trying to us..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  what does % stand for in ... 3 hours ago arbiel Gribouillis General Codin...
  My First App 11 hours ago BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Today, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500114
  Web Scraping ... 440890
  Newbie with P... 384902
  New Users Int... 369135
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Today
chaoh1911 Today
KaydenJonah098 Today
carlbidwell Today
llarkin6 Yesterday

User Panel Messages

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