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,953
» Latest member: bianchiluca116
» Forum threads: 38,725
» Forum posts: 175,520

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 30 Guest(s)
Bing, Google, Mojeek, Applebot, AOL, AOL

Latest Threads
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
6 hours ago
» Replies: 10
» Views: 29,200
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 4
» Views: 9,326
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 199
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 630
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 225
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 795
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,055
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,294
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,660
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,205

 
  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

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  pip install requests does... 6 hours ago misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
Most views
  The best Prog... 576804
  Tutorial Requ... 499209
  Web Scraping ... 440590
  Newbie with P... 384559
  New Users Int... 368451
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 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
bianchiluca116 Today
Jorgecog Today
adamsmith12 Today
Ronny Today
Luciana Today

User Panel Messages

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