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 45 online users.
» 1 Member(s) | 39 Guest(s)
Google, Bing, Apple, AOL, nathanael

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

 
  run 2 commands at the same time ?
Posted by: korenron - Nov-03-2020, 02:53 PM - Forum: General Coding Help - Replies (3)

Hello ,
I have a small project that monitor voltage using ina3221
when I run it in main infite loop it's work as it should - no problem there.

..... More

Print this item

  Basic PDF Scraping Tool
Posted by: Noor39 - Nov-03-2020, 01:30 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi All,

I am a beginner and I really want to code a basic PDF scraper and export to Excel.

Any advice on where to start and which packages I nee..... More

Print this item

  Searching for specific word in text files.
Posted by: JellyCreeper6 - Nov-03-2020, 01:21 PM - Forum: General Coding Help - Replies (1)

How do I search in a file for a specific word? It should ignore word containing that word, for example.

word to search = 'ello'
text file -
[pyt..... More

Print this item

Question How to make a button always stay on a point when resizing the window?
Posted by: _ShevaKadu - Nov-03-2020, 10:51 AM - Forum: General Coding Help - Replies (5)

Hey there!
I need help. I want to make a button always stay on one corner when resizing the host window (to be exact, on the bottom-left corne..... More

Print this item

  PDFplumber
Posted by: pprod - Nov-03-2020, 09:24 AM - 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

  Space in texte file
Posted by: Celonius - Nov-03-2020, 09:17 AM - Forum: General Coding Help - Replies (2)

Hi,
i'm trying to do a save file.
Sometime a space is create between two variables.
How can i do for don't have space ?

My code:

[python]
cl..... More

Print this item

  How to check whether a file exist in all github branch using github3.py
Posted by: senthilpalani - Nov-03-2020, 08:53 AM - Forum: Data Science - No Replies

I want to get all the branches in which a file name called listofusers.py is available

[python]
import os
import github3
def get_all_branches_fr..... More

Print this item

  try catch question ,get data from main code
Posted by: korenron - Nov-03-2020, 07:48 AM - Forum: General Coding Help - Replies (7)

Hello
I want to learn and understand what am I doing wrong
I wrote a simple code that use try - catch

[python]import time

i = 0
How_Many_F..... More

Print this item

  Build website
Posted by: tdwinfre - Nov-03-2020, 07:12 AM - Forum: News and Discussions - Replies (11)

Is it possible to build a website with only python or do I have to know Java, html or C++ to go along with it ?

Print this item

  NameError: name 'target_id' is not defined
Posted by: bhagyashree - Nov-03-2020, 05:27 AM - Forum: General Coding Help - Replies (7)

[b]Hii,

I am using python 2.7 for running the python code. When I run the code I get an error as "NameError: name 'target_id' is not defined". Plea..... More

Print this item

  How to write a code with İF function?
Posted by: Aycaaxx - Nov-03-2020, 05:26 AM - Forum: General Coding Help - Replies (1)

How to create a program that changes the digits of a number that that we enter, so
that the highest digit value becomes the first digit by using if s..... More

Print this item

  create empty sets for keys in a dictionary and add values to the set
Posted by: naughtysensei - Nov-03-2020, 05:24 AM - Forum: Homework - Replies (1)

so what I wanna do is this but something cleaner(short):
[python]
dic = {}
if key0 not in dic.keys():
dic[key0] = set()
dic[key0].add(2)
else:
dic[..... More

Print this item

  Count number of occurrences of list items in list of tuples
Posted by: t4keheart - Nov-03-2020, 04:23 AM - Forum: General Coding Help - Replies (1)

Having a hard time with this one guys-

I need to write a function that takes 3 arguments: data, year_start, year_end.

The data is a list of tupl..... More

Print this item

  Latex image too big on tkinter using sympy
Posted by: 4096 - Nov-03-2020, 12:47 AM - Forum: GUI - Replies (1)

I'm trying to create small images of mathematical forumulas using tkinter, sympy, and latex. The images generated are way too big and I don't know how..... More

Print this item

  Can not get tkinter to work in Windows 10 via python 3.9
Posted by: idris03 - Nov-02-2020, 11:45 PM - Forum: General Coding Help - Replies (1)

I am using the Windows PowerShell s a means of using the Python 3.9 interpreter.
I wrote a simple test program in the Atom editor
The program impo..... More

Print this item

  QuykHtml ( Library )
Posted by: mwd1993 - Nov-02-2020, 11:41 PM - Forum: Code sharing - Replies (3)

A python library that allows you to quickly and easily generate HTML templates and even create full-on websites.

Check out the Github: https://gith..... More

Print this item

  loop function that parses arrays with condition: no redundant data
Posted by: amela - Nov-02-2020, 11:40 PM - Forum: Homework - Replies (4)

for some classification, I want to split my data (60%,20%,20%) in condition that no redundant data in each class: I want that the train set have uniqu..... More

Print this item

  Need Help with an Error I'm Getting (Very New to this)
Posted by: deegan630 - Nov-02-2020, 11:36 PM - Forum: General Coding Help - Replies (10)

Hello, sorry if this isn't explained well or I'm doing something wrong, I am extremely new to python coding and I need help with an assignment in my c..... More

Print this item

  Need help improving function that reads file into list of tuples
Posted by: t4keheart - Nov-02-2020, 10:48 PM - Forum: General Coding Help - Replies (6)

Hi everyone,

I'm having some slight difficulty getting this function to do exactly what I need it to do.

Essentially it reads in a file.csv, an..... More

Print this item

  What are these ordering code doing
Posted by: coltson - Nov-02-2020, 09:59 PM - Forum: General Coding Help - Replies (1)

Hello, I am trying to understand what these ordering code does. They order a matrix, however I don't know what it is to order a matrix. My first guess..... More

Print this item

  Running from boot
Posted by: Murray6301 - Nov-02-2020, 08:59 PM - Forum: General Coding Help - Replies (5)

I am trying to run a DS18B20 temp sensor to trigger a relay. My code works in Thonny on a Rasp Pi4b. I am using sudo crontab -e and adding:
@reboot..... More

Print this item

  For loop syntax and math on len()
Posted by: KEYS - Nov-02-2020, 08:46 PM - Forum: General Coding Help - Replies (2)

I am curious to know if you are able to divide the len of a string to get a numeric value. I am trying to do this within a for loop. I have two outcom..... More

Print this item

  Any way to remove HTML tags from scraped data? (I want text only)
Posted by: SeBz2020uk - Nov-02-2020, 08:01 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello everyone!

I would like to thank you in advance for looking at my thread, and trying to resolve my issue.

What I'm trying to achieve, is to..... More

Print this item

  Semi-beginners project
Posted by: damkohler - Nov-02-2020, 07:56 PM - Forum: News and Discussions - Replies (1)

Hi,

I would like to get some advice on projects I should try to complete in Python. I'm still a bit inexperienced with Python but understood a lot ..... More

Print this item

  return out of loops syntax error
Posted by: felixf - Nov-02-2020, 07:20 PM - Forum: General Coding Help - Replies (7)

Hello good people

this is my python code:

[python]if (isSubset(onesArray, twosArray, len(onesArray), len(twosArray))):
if (twosArray == one..... More

Print this item

  My flask website not working properly
Posted by: Aggam - Nov-02-2020, 06:33 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi! I'm making a website (in flask python) to check if ASM code is up to my ASM teacher's standard and am having an issue.


It shows the following er..... More

Print this item

  Troubleshooting site packages ('h5py' to be specific)
Posted by: aukhare - Nov-02-2020, 02:22 PM - Forum: General Coding Help - Replies (2)

Hello!

I want to install the 'h5py' package so I can view the contents of the '.h5' files that I have. I did pip install h5py2.10.0 and that..... More

Print this item

  IF and list
Posted by: MaticBroz - Nov-02-2020, 12:53 PM - Forum: General Coding Help - Replies (2)

Hi,

I couldn't find a similar question asked yet, so I am opening a new thread. If I missed an answer somewhere, I apologize.

I created a functi..... More

Print this item

  factorise split
Posted by: enigma619 - Nov-02-2020, 12:40 PM - Forum: General Coding Help - Replies (4)

Hi

I've general question, not just linked with python (sorry if off topic)

i've a split expression which works:
reason.split(" ")[3].split("(")[2]...... More

Print this item

  FileNotFoundError: [Errno 2] No such file or directory:
Posted by: 5l3y3r - Nov-02-2020, 12:04 PM - Forum: General Coding Help - Replies (6)

Hello, I have this FileNotFoundError and I need help

[python]
global data
headers = open("C:\\Users\\sazug\\OneDrive\\Desktop\\DDOS\\hammer\\head..... More

Print this item

  csv to Json. dynamic child
Posted by: Sureshonly - Nov-02-2020, 09:14 AM - Forum: General Coding Help - Replies (5)

Hello Friends,

I am still a learner of Python and I have a situation where I have to convert my CSV to Json. I understand how we can convert direct ..... More

Print this item

  Looping through Folder structure and get files
Posted by: mfkzolo - Nov-02-2020, 08:31 AM - Forum: General Coding Help - No Replies

Hi,

I have this folder Structure:
\\serverName\ExternalData\:
BPM
CRM
DDM

I want to go to \\serverName\ExternalData\BPM and get the latest f..... More

Print this item

Thumbs Up Convert ActiveDirectory timestamp into regular one. Arrow (solved)
Posted by: SpongeB0B - Nov-02-2020, 07:59 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I try to convert the timestamp from active directory (accountExpires field)

132556896000000000 representing : 1/21/2021 12:00:00 AM..... More

Print this item

  Python Help
Posted by: ineedpythonhelp - Nov-02-2020, 07:24 AM - Forum: Homework - Replies (3)

Hello, I need help for an assignment. I seem to have a problem with the output, for the month November 2020, the first day should start on Monday but ..... More

Print this item

  How can I scroll over my data points when creating plots in Python? (I'm using Spyder
Posted by: moose - Nov-02-2020, 07:18 AM - Forum: General Coding Help - No Replies

In MATLAB when a simple plot is made, I can choose a specific data point and then use LEFT / RIGHT keys to scroll over all my data points in that give..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Graph Interpolate Difficu... 5 hours ago Tuurbo46 deanhystad General Codin...
  [SOLVED] Access keys and ... 9 hours ago Winfried Winfried General Codin...
  PermissionError: [Errno 1... Today, 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... 579075
  Tutorial Requ... 511170
  Web Scraping ... 442061
  Newbie with P... 386115
  New Users Int... 378362
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