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,417
» Latest member: Herbertarito
» Forum threads: 38,829
» Forum posts: 176,070

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 24 Guest(s)
Google, Bing, Applebot, AOL, Facebook, Herbertarito

Latest Threads
ко ланта
Forum: General Coding Help
Last Post: Herbertarito
2 minutes ago
» Replies: 0
» Views: 4
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 08:47 PM
» Replies: 4
» Views: 417
python re.finditer return...
Forum: General Coding Help
Last Post: snippsat
Yesterday, 06:28 PM
» Replies: 7
» Views: 450
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 778
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,715
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 694
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,009
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,601
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 716
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,349

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  ко ланта 2 minutes ago Herbertarito Herbertarito General Codin...
  Exponential Number Conver... Yesterday, 20:47 Tuurbo46 DeaD_EyE General Codin...
  python re.finditer return... Yesterday, 18:28 arbiel snippsat General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580715
  Tutorial Requ... 521940
  Web Scraping ... 442896
  New Users Int... 387881
  Newbie with P... 387123
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Herbertarito Today
F_S Yesterday
cruisesfares Yesterday
aalexfracesoz1783 01-08
Jessicaadams 01-08

User Panel Messages

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