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,262
» Latest member: cruisesfares
» Forum threads: 38,788
» Forum posts: 175,846

Full Statistics

Online Users
There are currently 62 online users.
» 1 Member(s) | 54 Guest(s)
Bing, Google, AOL, Facebook, Axel_Erfurt

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: Tuurbo46
1 hour ago
» Replies: 0
» Views: 20
What is the Nile Cruise C...
Forum: News and Discussions
Last Post: cruisesfares
1 hour ago
» Replies: 0
» Views: 18
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
2 hours ago
» Replies: 0
» Views: 21
How to make ball stay wit...
Forum: General Coding Help
Last Post: SledgeNE
7 hours ago
» Replies: 1
» Views: 65
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: Skaperen
Today, 12:10 AM
» Replies: 4
» Views: 299
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 11:31 PM
» Replies: 0
» Views: 30
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Yesterday, 06:38 PM
» Replies: 0
» Views: 63
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:02 PM
» Replies: 10
» Views: 243
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 03:33 PM
» Replies: 3
» Views: 123
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 207

 
  time intervals
Posted by: project_science - Jan-30-2021, 09:32 PM - Forum: General Coding Help - Replies (7)

Hi,

I'm currently trying to get 2 different time displays each time I call a function using the datetime library. However, in my code, I call the ..... More

Print this item

Exclamation Help with cx_Freeze
Posted by: mederic39 - Jan-30-2021, 08:58 PM - Forum: General Coding Help - Replies (3)

Hi! Smile
I'm French, sorry for my bad English speaking.
I try to freeze my project in executable file with "cx_Freeze".
I have a file "main...... More

Print this item

  Is there a way to read the time between clicks?
Posted by: penahuse - Jan-30-2021, 08:49 PM - Forum: General Coding Help - Replies (1)

Fellows, I need some help here. Im trying to do a code that read the time between lefts clicks while right buttom is pressed. If the clicking is slow ..... More

Print this item

  Add file to sys.path permanently
Posted by: hcccs - Jan-30-2021, 08:18 PM - Forum: General Coding Help - Replies (5)

I'm running Python 3.7.3 and trying to add a library to sys.path. I can add it but it doesn't stick after next reload. I edited ~/.bashrc with the fol..... More

Print this item

  Progress Indicator for Xmodem 0.4.6
Posted by: KenHorse - Jan-30-2021, 06:00 PM - Forum: General Coding Help - Replies (1)

I'm using the xmodem module (https://pypi.org/project/xmodem/) and it works just fine. However, I'd like t..... More

Print this item

  Increment text files output and limit contains
Posted by: Kaminsky - Jan-30-2021, 05:56 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I am coming to you because I need help with the code below.

I'm looking to generate text files of n- lines. Each line contains n- rando..... More

Print this item

  Help me with my first code
Posted by: ivo_georgiev - Jan-30-2021, 05:27 PM - Forum: General Coding Help - Replies (1)

Hello everybody,

please do not laugh at me, because I have absolutely 0 knowledge of programming. I did this project, where you train a machine learn..... More

Print this item

  How to add conversions and fix button positions.
Posted by: javesike1262 - Jan-30-2021, 04:11 PM - Forum: GUI - Replies (7)

Hi everybody, I have recently started learning to make Python Gui's using the Tkinter model. However, I need help with doing a conversion like this.
..... More

Print this item

  Getting parent variables in nested functions
Posted by: wallgraffiti - Jan-30-2021, 02:59 PM - Forum: General Coding Help - Replies (1)

I made my own custom assembly language in Python for fun, and want to implement it into a GUI. I am in the process of creating a library version of it..... More

Print this item

  I cant send P.M.
Posted by: beginner721 - Jan-30-2021, 02:53 PM - Forum: Board - Replies (2)

Hello,
I cant send private message, why?
Thanks.

Print this item

  Python have a ide tool similar Vb6 IDE?
Posted by: sal21 - Jan-30-2021, 11:15 AM - Forum: News and Discussions - Replies (1)

I'm and old vb6 programmer.
But really Python have a ide tool similar Vb6 IDE?

Sorry but i'm new:-)

note:
just installed the last realese of Python.

Print this item

  pdfminer vs pdfplumber
Posted by: pprod - Jan-30-2021, 09:39 AM - Forum: General Coding Help - Replies (2)

Hi,
I have been testing pdfplumber and pdfminer and at this stage I am not sure which one I prefer. Pdfminer does a better a job at extracting text f..... More

Print this item

  recursion task
Posted by: scorp08 - Jan-30-2021, 07:22 AM - Forum: Homework - Replies (9)

Hello ALL
I have a following :
[python]limits=[(1,9,1,"v"),(50,350,50,"d")]
for i in range(len(limits)):

begin=limits[i][0]
end=limits[..... More

Print this item

  Linguistic measures on corporate filings
Posted by: Helen - Jan-30-2021, 02:43 AM - Forum: Data Science - Replies (3)

Hi,

I have an excel file which includes txt file name and year. I am trying to conduct textual analysis for corporate disclosure (a bunch of txt file..... More

Print this item

  Why is my string empty?
Posted by: karabakh - Jan-30-2021, 02:12 AM - Forum: General Coding Help - Replies (5)

Hi,

I want to create a loop that would attach the ids from a certain dictionary to a string, space between ids.

[python]
import string

let..... More

Print this item

  Network engineer looking to improve my skills with some automation
Posted by: jaysoft - Jan-29-2021, 10:13 PM - Forum: News and Discussions - Replies (4)

Hello all, I'm a Network engineer looking to improve my skills with some automation. will appreciate relevant suggestions to guide me on the right pat..... More

Print this item

  tkinter python button position problem
Posted by: Nick_tkinter - Jan-29-2021, 08:11 PM - Forum: GUI - Replies (3)

Hello.I 'am beginner with tkinter and I build a simple calculator app and I have a problem with position of 3 buttons (+ , - , =).
I have 2 photos to..... More

Print this item

  How to get SPTK on python?
Posted by: Seadust - Jan-29-2021, 06:39 PM - Forum: General Coding Help - Replies (1)

Hello! I am going to be using tensorflow and SPTK to make a Vocal Synthesis Program. But I know tensorflow has a download how would I obtain SPTK on p..... More

Print this item

  Why is mpl_toolkits loaded?
Posted by: Gribouillis - Jan-29-2021, 05:20 PM - Forum: General Coding Help - Replies (1)

There is a strange behavior of Python on my machine:
[python]
~/P/S/2021-01 python3.8
Python 3.8.7 (default, Dec 21 2020, 21:23:03)
[GCC 5.4.0 201606..... More

Print this item

  Problems while trying to download API
Posted by: cezary123 - Jan-29-2021, 04:08 PM - Forum: General Coding Help - Replies (4)

Hello, im new to Python and im learning it using a book that my dad bought me, titled "learn to program python with minecraft". I downloaded all the t..... More

Print this item

  Something wrong with the quotation mark in dictionary definition
Posted by: Mark17 - Jan-29-2021, 03:16 PM - Forum: General Coding Help - Replies (1)

I'm trying out an Eliza chatbot I found online. The code starts with:
[Python]
import re
import random
reflections = {
“am”: “are”,
“wa..... More

Print this item

  Rock paper Scissors
Posted by: Milan - Jan-29-2021, 03:07 PM - Forum: Code Review - Replies (2)

Hello team,

Any suggestion on how to improve my rps game before making a gui for it?

[python]from random import randint

def startgame():
p..... More

Print this item

  Matplotlib Color map problems
Posted by: Stephan - Jan-29-2021, 02:25 PM - Forum: Data Science - No Replies

Hi all
I try to visualise the content of a storage hall in a 3d scatter plot. In fact, I try to do a 5d:
X, Y, Z are the position of the item
TYPE ..... More

Print this item

  Need insight on dictionaries
Posted by: Mystix - Jan-29-2021, 01:32 PM - Forum: Homework - Replies (7)

I am brand new to python and I've been set some work on dictionaries. I'd say I had a good go at it but it appears to be wrong. If you could explain w..... More

Print this item

  Could somebody help a beginner? :)
Posted by: bigmis72 - Jan-29-2021, 11:32 AM - Forum: General Coding Help - Replies (2)

HI, I am a real beginner, so please, be gentle:)
I wrote a short programm:

[python]bits_string = "01010102"
bits = ["0", "1"]
bits_list = []

..... More

Print this item

  Button in GUI linked to new python script
Posted by: blakefindlay - Jan-29-2021, 04:58 AM - Forum: GUI - Replies (5)

I am wondering if it's possible to set a button to open a new script which will subsequently open a second tkinter gui?

Print this item

  How to share a numpy array between 2 processes on Windows?
Posted by: qstdy - Jan-29-2021, 04:24 AM - Forum: General Coding Help - No Replies

I want to make 2 processes that share a numpy array (one of which writes the array and the other reads it).

It works fine when I make 2 processes w..... More

Print this item

Lightbulb Cloud server running(Can be edited directly online)
Posted by: CNenfan - Jan-29-2021, 03:03 AM - Forum: GUI - Replies (1)

[error]TclError Traceback (most recent call last)
<ipython-input-2-59f0c474d547> in <module>()
3 import tkint..... More

Print this item

  about write file wrong (Edit directly online)
Posted by: CNenfan - Jan-29-2021, 02:21 AM - Forum: Homework - Replies (4)

https://colab.research.google.com/drive/...sp=sharing
Edit directly online
last ten lin:


File "<ipython-input-9..... More

Print this item

  Tkinter and OpenCV
Posted by: VHS - Jan-28-2021, 10:37 PM - Forum: General Coding Help - Replies (4)

Hi everyone !

I'm a beginner in python. I would like to know how to use a facial recognition program that I made in a graphical interface with Tkin..... More

Print this item

  transform result to DataFrame
Posted by: Irv1n - Jan-28-2021, 06:47 PM - Forum: Data Science - Replies (1)

Hi to all! Can anyone help me with this:
My code:
[python] ver_val = OrderedDict()
ver_val[0.1] = [0.1, -0.1]
ver_val[1] = [1, -1]
ver_val[10] = ..... More

Print this item

  Python exercises
Posted by: InputOutput007 - Jan-28-2021, 06:19 PM - Forum: News and Discussions - Replies (3)

Hi,

What kind of webpage* would you recommend me for exercises in Python?
I am not asking about the tutorials itselves, but about a solid webpage whi..... More

Print this item

  I have problem with ACO, I want to always start in the first city and end in the last
Posted by: pKKy - Jan-28-2021, 05:58 PM - Forum: General Coding Help - No Replies

I want to always start with city number: 0(I did it in pos=0) and always end with city number: 9(last city. I have problem with that).
[python]def ac..... More

Print this item

  Printing x values from an csv file
Posted by: hobbyist - Jan-28-2021, 05:03 PM - Forum: General Coding Help - Replies (7)

I am using a .csv file with measurements. On the first column of the .csv file there are timestamps, such as this:
01/24/2021 12:45 PM
(after 100 meas..... More

Print this item

  .maketrans() - a piece of code which needs some explanation
Posted by: InputOutput007 - Jan-28-2021, 04:31 PM - Forum: General Coding Help - Replies (5)

Hi,

I want to understand the following piece of code.
I hope you can help me with it.

[python]
import string as str

punc = str.punctuation
string =..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 1 hour ago Tuurbo46 Tuurbo46 General Codin...
  What is the Nile Cruise C... 1 hour ago cruisesfares cruisesfares News and Disc...
  PermissionError: [Errno 1... 2 hours ago Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 7 hours ago nathanael SledgeNE General Codin...
  sorting a lisr of file pa... Today, 00:10 Skaperen Skaperen News and Disc...
  conditional nested loops Yesterday, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... Yesterday, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue Yesterday, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... Yesterday, 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... 578980
  Tutorial Requ... 510572
  Web Scraping ... 441999
  Newbie with P... 386024
  New Users Int... 377158
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 8195
snippsat 7388
deanhystad 6910
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
cruisesfares Today
SledgeNE Today
nathanael Yesterday
JamesFalkner Yesterday
stevecoh1 Yesterday

User Panel Messages

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