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 42 online users.
» 0 Member(s) | 38 Guest(s)
Bing, Google, Facebook, AOL

Latest Threads
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
2 hours ago
» Replies: 3
» Views: 129
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
6 hours ago
» Replies: 4
» Views: 135
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
9 hours ago
» Replies: 2
» Views: 107
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 152
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 343
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 62
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 103
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 349
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 194
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 302

 
Sad Stuttered Mouse Tracking
Posted by: Power_Broker - Nov-05-2020, 02:30 AM - Forum: GUI - Replies (3)

I'm trying to use PyQt5 to create a GUI that has a scrollable area with a large picture. The picture is in the scrollable area and I want to use my mo..... More

Print this item

  splitting total time between days
Posted by: tester_V - Nov-05-2020, 01:56 AM - Forum: General Coding Help - Replies (7)

Hi, I have a very tricky (for me) time conversion.
I have string:
Start time, End Time, Total Time, other stuff, more stuff, ..... More

Print this item

  passing a string to a function to be a f-string
Posted by: Skaperen - Nov-05-2020, 01:50 AM - Forum: News and Discussions - Replies (3)

i don't know how easy or hard this would be to do. i want to have a function that gets a sting from a caller and make it be like an f-string and do i..... More

Print this item

  Adding Sliced Positions
Posted by: Gizzmo28 - Nov-05-2020, 01:34 AM - Forum: General Coding Help - Replies (1)

Hello, I'm reading a large file line by line and I need to know if certain positions are greater than 0 if not, I don't want to print that line, it sh..... More

Print this item

  Automating to generate multiple arrays
Posted by: Robotguy - Nov-04-2020, 11:33 PM - Forum: Data Science - Replies (1)

I have a for loop and have to create a new histogram every time it executes (hist1, hist2, ...). I tried the below but it isn't working. Any sugge..... More

Print this item

  Triplet Combinations of All Values
Posted by: quest - Nov-04-2020, 11:17 PM - Forum: General Coding Help - Replies (2)

Hello,
I am using a specific library

And I am running this line:
[python]
cirq.kron(cirq.unitary(cirq.rz(a)),cirq.unitary(cirq.rz(b)),cirq.unita..... More

Print this item

  parsing Python-like code
Posted by: Skaperen - Nov-04-2020, 07:40 PM - Forum: News and Discussions - Replies (4)

i would like to parse some text string like Python code. it is an assignment expression. the idea is to break it apart just like it would be done fo..... More

Print this item

  pip offline
Posted by: denis - Nov-04-2020, 06:42 PM - Forum: Homework - Replies (2)

Hello, is there any procedure to facilitate the using of Pypi packages installation in an offline pc?; my case is a pc behind a corporative proxy serv..... More

Print this item

  python sort date
Posted by: beginner2020 - Nov-04-2020, 04:51 PM - Forum: General Coding Help - Replies (13)

I am new to python and got a requirement to sort the content of the text file based on timestamp in reverse order. Below is the content of text file(..... More

Print this item

  Skeleton file export error Python Code
Posted by: pepapoha - Nov-04-2020, 04:22 PM - Forum: General Coding Help - Replies (4)

Hello, there is a file format, this file is a skeleton and I want to convert this file, my friend wrote import for this file and it works, but I need ..... More

Print this item

  Python elementary problem
Posted by: saratha - Nov-04-2020, 04:21 PM - Forum: General Coding Help - Replies (5)

In a given text you need to sum the numbers. Only separated numbers should be counted. If a number is part of a word it shouldn't be counted.

this is..... More

Print this item

  Newbie looking for some insight
Posted by: Ccarver80 - Nov-04-2020, 03:32 PM - Forum: Bar - No Replies

Hello everyone! I am a newbie that just enrolled in "Python for everybody" on Coursera. So far I'm grasping it real well.

My question to the commun..... More

Print this item

  Strange Problem when reading from excel
Posted by: faryad13 - Nov-04-2020, 03:03 PM - Forum: General Coding Help - Replies (3)

Hi everybody

I faced one strange problem:

I have two similar excel file and I am trying to read some data from them, For the first excel file is..... More

Print this item

  Need help on sequence and loop homework
Posted by: vzsnv - Nov-04-2020, 12:35 PM - Forum: Homework - Replies (3)

A weatherman is keeping track of the snowfall for months 1 through 3 (January – March). For each month, the total amount of snowfall has to should be..... More

Print this item

  Flask app cannot read js and css files.
Posted by: Aggam - Nov-04-2020, 12:33 PM - Forum: Web Scraping & Web Development - No Replies

Hello! I have made some posts about this,and I am having some styling issues.

I am using code mirror for my site and flask gives me errors like:
[..... More

Print this item

Photo Matlab to Python
Posted by: Sateesh - Nov-04-2020, 09:11 AM - Forum: General Coding Help - No Replies

Dear Python Users,

I am new to python. I am using Jupyter notebook for simulations.

Could you please help me to read out the output table genera..... More

Print this item

Lightbulb I built a state monitor using Python+Flask! (for new user)
Posted by: aaronxiongli - Nov-04-2020, 08:11 AM - Forum: Code sharing - No Replies

Hi All - I'm excited to share my first Python Flask app!

Flask State, A plug-in for displaying native state. It's a better choice for new user.

..... More

Print this item

  Calling Oracle REST SQL from Python
Posted by: johnjacob - Nov-04-2020, 05:22 AM - Forum: General Coding Help - Replies (2)

Hello All,

I 'am tying to mimic the below curl in python::

[output]sh-4.2$ curl -X "POST" "http://slc05ewk.us.oracle.com:8080/ords/hr/_/sql" \
..... More

Print this item

  Request blocking in Chrome Incognito mode
Posted by: pyseeker - Nov-04-2020, 02:20 AM - Forum: General Coding Help - No Replies

Hello,
We have a requirement to block various social media apps browsing using the Chrome Browser (Incognito mode because it does not retain cache). T..... More

Print this item

  Read characters of line and return positions
Posted by: Gizzmo28 - Nov-04-2020, 02:14 AM - Forum: General Coding Help - Replies (2)

Hello, I am trying to pull out certain information from a huge text file because the lines are difficult to read. I can read line by line but how do ..... More

Print this item

  a new language based on python
Posted by: Skaperen - Nov-04-2020, 01:54 AM - Forum: News and Discussions - No Replies

i've wanted to create a new language based on python. this language would differ by having some new kinds of statements added. my thought to run it ..... More

Print this item

  How can I implement a multitasking process in Python?
Posted by: TurboC - Nov-03-2020, 10:59 PM - Forum: GUI - Replies (1)

speaking about Tkinter and the multitasking concept, I always had an issue with my GUI softwares. in the last one for example, I have a simple functio..... More

Print this item

  Connecting pushbuttons signals throug a lambda fonction in a loop
Posted by: arbiel - Nov-03-2020, 09:37 PM - Forum: GUI - Replies (4)

Hi

Using PyQt5, I try to create pushbuttons from a list in a loop. As an example, I extracted the following script (I'm fond of ancient greek)

[..... More

Print this item

  Run a ready to go Python project
Posted by: flaviu2 - Nov-03-2020, 08:21 PM - Forum: General Coding Help - Replies (1)

I am sorry for such trivial question. I have downloaded a Python project from github. I ran setup.py file as:

python setup.py --install

a..... More

Print this item

  Download pip and django
Posted by: tdwinfre - Nov-03-2020, 06:42 PM - Forum: News and Discussions - Replies (5)

Hello, I'm having issues trying to find and download pip and Django any help would be helpful I already have python installed. I currently own a mac i..... More

Print this item

  UWP and Xbox One port of Python 3.4
Posted by: Greentwip - Nov-03-2020, 06:23 PM - Forum: News and Discussions - No Replies

Hello.

I made a port based on Martin Loewis work, it's basically an update from Windows 8.1 to UWP.

There were some patches from the CPython reposit..... More

Print this item

  print(f"{person}:") SyntaxError: invalid syntax when running it
Posted by: AryaIC - Nov-03-2020, 06:02 PM - Forum: Homework - Replies (11)

Hello all...,

I'm beginner in python and have been trying to fix this but I'm lost. So please help me. I got this [b]^
Syntax..... More

Print this item

  doing well as djago freelancer
Posted by: space_cat - Nov-03-2020, 05:20 PM - Forum: News and Discussions - No Replies

i'm a beginner programmer, and i want to work as a freelancer. what should i know in order to do well with finding entry level jobs as a python progra..... More

Print this item

  PDFplumber
Posted by: pprod - Nov-03-2020, 04:14 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

A beginner question: I have managed to open an unstructured pdf with pdfplumber, but I have only been able to print one page at at ..... More

Print this item

  how to combine rows to a column base on ids
Posted by: zhujp98 - Nov-03-2020, 04:07 PM - Forum: General Coding Help - No Replies

I have a dataframe:
[code]
df = pd.DataFrame({'id': [1,1,1,1,2,2,2,3,3,3,3,3],
'cost': [3,4,5,6,7,8,9,11,15,10,9,7],
..... More

Print this item

  How do I set the figure title and axes labels font size in Matplotlib?
Posted by: anouar2002 - Nov-03-2020, 04:04 PM - Forum: Homework - Replies (1)

I want to specify font sizes for the figure title and the axis labels. I need all three to be different font sizes, so setting a global font size (mpl..... More

Print this item

  Error in code tensorflow is installed
Posted by: ErnestTBass - Nov-03-2020, 03:58 PM - Forum: General Coding Help - Replies (5)

The following code on Windows 10 creates the error shown.


[code]
import math
import numpy as np
import pandas as pd
import os
import yfinan..... More

Print this item

  pyautogui
Posted by: samin - Nov-03-2020, 03:47 PM - Forum: Web Scraping & Web Development - No Replies

I used the following two statements below to locate a word in a webpage
pyautogui.hotkey('ctrl', 'f')
pyautogui.hotkey('ctrl', 'v')

How can I re..... More

Print this item

  "SyntaxError: invalid syntax" running code in Doing Math With Python b
Posted by: saucerdesigner - Nov-03-2020, 03:15 PM - Forum: General Coding Help - Replies (2)

Hello, I'm scratching my head trying to get the code in the book Doing Math With Python by Amit Saha on page 9 to work.

Python 3.8.5 (default, Jul ..... More

Print this item

  code with no tuple gets : IndexError: tuple index out of range
Posted by: Aggam - Nov-03-2020, 03:13 PM - Forum: General Coding Help - Replies (4)

Hello! I'm in the works of a flask app which I already had issues with and some nice ppl helped me, and am having other issues...

I have this if st..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 2 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 6 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... 9 hours ago 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... 579071
  Tutorial Requ... 511142
  Web Scraping ... 442060
  Newbie with P... 386110
  New Users Int... 378343
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 Today
fobby888 Today
digitalboy346 Today
ben9090o Today
ViktoriaMetodieva Today

User Panel Messages

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