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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 45 online users.
» 0 Member(s) | 41 Guest(s)
Google, Bing, AOL, AOL

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: bowlofred
54 minutes ago
» Replies: 2
» Views: 132
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,372
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 797
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,652
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,145
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,657
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,472
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,661
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,587
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,764

 
Question problems with flask and celery
Posted by: Phantomsec - Apr-27-2021, 10:45 PM - Forum: Web Scraping & Web Development - Replies (2)

[python]def make_celery(app):
celery = Celery(
app.import_name,
backend=app.config['CELERY_RESULT_BACKEND'],
broker=ap..... More

Print this item

  problem with python
Posted by: raarkil - Apr-27-2021, 08:29 PM - Forum: GUI - Replies (22)

Hello all! I am new to linux but I like to program and I installed linux mint 20.1, but I got problem with pip, when I writing a code with some module..... More

Print this item

  It says there is no keras in jupyter notebook. it is wrong there is a keras install
Posted by: Led_Zeppelin - Apr-27-2021, 08:29 PM - Forum: General Coding Help - No Replies

When I run the following code, I get the error shown below.

[code]
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras i..... More

Print this item

  Need help in solving Oignon convex hull
Posted by: petermarsi - Apr-27-2021, 08:18 PM - Forum: Data Science - Replies (1)

Hello there,
I was working on a project for a while now and I don't get my code to work
The problem looks quite simple:

Given a set of points : [..... More

Print this item

  data between dates
Posted by: karontse - Apr-27-2021, 06:37 PM - Forum: General Coding Help - Replies (1)

I haver a CSV:

01/03/2018, banana
04/03/2018, maçã
05/04/2018, pêra
07/04/2018, uva
10/05/2018, laranja

How do I browse the file and get t..... More

Print this item

  Unable to unpack at line 184
Posted by: Nitil - Apr-27-2021, 06:34 PM - Forum: Homework - Replies (4)

Good day to all. Im new to the forums and want to excel in Python.

This a simple code for an RPG game with the above error in line 184. Would like ..... More

Print this item

  Accessing a data-phone tag from an href
Posted by: KatMac - Apr-27-2021, 05:28 PM - Forum: Web Scraping & Web Development - Replies (1)

I am working on a small project using Beautiful Soup.
How would I access the phone number of this :

[output]<a href="javascript:void(0)" class="m..... More

Print this item

  help on first function
Posted by: jip31 - Apr-27-2021, 04:12 PM - Forum: General Coding Help - Replies (6)

Hi
Is anybody can tell me why the function below dont works because if I just execute the for loop I have results
[python]
import random
>>> def rand(..... More

Print this item

  Rmarkdown opened by python code - errors
Posted by: Rav013 - Apr-27-2021, 03:13 PM - Forum: General Coding Help - No Replies

I have problem when opening R markdown with my python code (pycharm). I use rpy2.robjects and urllib packages. First one is to write code in R script ..... More

Print this item

  FREE jobs event with Creative Assembly, TT Games and more!
Posted by: WanderingOwl - Apr-27-2021, 02:32 PM - Forum: Jobs - No Replies

Games Jobs Live: South Coast & Brighton is happening on Wednesday 28th April: a FREE online livestream with gamedev studios who are currently hiring!..... More

Print this item

  UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92 error from Mysql call
Posted by: AkaAndrew123 - Apr-27-2021, 01:37 PM - Forum: General Coding Help - Replies (1)

Python3, Ubuntu 20.04

UnicodeDecodeError: 'utf-8' codec can't decode byte 0x92

When querying the MySQL database I receive this error, the code ..... More

Print this item

  2D Bin packing - brute force in python
Posted by: WBPYTHON - Apr-27-2021, 01:24 PM - Forum: Data Science - Replies (2)

Hi everyone,

Does anybody has written in python an optimized solution for brute forcing 2D-BIN packing ?

For instance I have a number of rectang..... More

Print this item

  Retrieve data from oscilloscope using pyserial on ubuntu
Posted by: jte350 - Apr-27-2021, 10:10 AM - Forum: General Coding Help - Replies (3)

Hi i am trying to retrieve data from an oscilloscope, it works well with windows using the provided software but i need to use it with ubuntu using th..... More

Print this item

  Gmail Sent email LIMIT
Posted by: Johnse - Apr-27-2021, 02:11 AM - Forum: General Coding Help - Replies (5)

Hello,

I created a program, it sends email fine.
However there is a limit (100) in the number of emails it can send before it crashed and gives ..... More

Print this item

  copyright in docstr?
Posted by: Skaperen - Apr-26-2021, 10:38 PM - Forum: News and Discussions - Replies (5)

is it safe and appropriate to put a copyright notice and license terms in the docstr after a line describing the basic purpose of the code?

for exa..... More

Print this item

  How to deal with self and __init__ in function
Posted by: MrFloyd_telomerase - Apr-26-2021, 08:08 PM - Forum: General Coding Help - Replies (1)

I am sorry for naive questions, I am new to python.

I am trying to understand how to deal with self when I am trying to understand a function whic..... More

Print this item

  Load the data from multiple source files to one table
Posted by: amy83 - Apr-26-2021, 07:22 PM - Forum: General Coding Help - Replies (2)

Hi Experts,
Have requirement as below. Our clients are going to place multiple files(.xls,.csv, .txt,etc..) in one share drive. Our Python script nee..... More

Print this item

Question convert unlabeled list of tuples to json (string)
Posted by: masterAndreas - Apr-26-2021, 06:06 PM - Forum: General Coding Help - Replies (4)

Say i have a list of unlabeled tuples which i want to convert to JSON
Where each tuple is an object (of the same type) which represents a user
the fir..... More

Print this item

  Forum rules on posting a new separate question in one of your own threads
Posted by: Yoriz - Apr-26-2021, 04:48 PM - Forum: Board - Replies (1)

I have created this thread on knoxvilles_joker's behalf reference the following quote

[quote="knoxvilles_joker" pid='141191' dateline='1619382748']..... More

Print this item

  How to get value in Dataframe given row & column values?
Posted by: moonlight - Apr-26-2021, 04:38 PM - Forum: General Coding Help - Replies (1)

Hi there! Newbie here. I hope to get some help on a Python code.
Given a table (Stock Info) which has lots and lots of rows…How do I code to find the..... More

Print this item

  How to design a save file format?
Posted by: philipbergwerf - Apr-26-2021, 03:59 PM - Forum: General Coding Help - Replies (5)

The situation is an alternative music notation app. I've created a program in which you edit the save file directly; lilypond like notation app. But n..... More

Print this item

  [Matplotlib] Data Visualization with Matplotlib Tutorial
Posted by: MK_CodingSpace - Apr-26-2021, 03:14 PM - Forum: Tutorial Requests and Submissions - No Replies

I am developing a Matplotlib Tutorial series on my Youtube Channel. Please check o..... More

Print this item

  pexpect startup help
Posted by: korenron - Apr-26-2021, 03:01 PM - Forum: General Coding Help - Replies (2)

Hello ,
as I understand using pexpect will help me run a "program" inside python
for example run bluetoothctl in pi and run command insdie this in..... More

Print this item

  Pushbutton in ANSA
Posted by: Aishaf - Apr-26-2021, 12:12 PM - Forum: GUI - Replies (2)

Hi everyone,
I am using python to create a gui interface in the software ANSA.
I want to add a pushbutton which is created using this layout:
[pyth..... More

Print this item

  Take first Elements of sublists
Posted by: quest - Apr-26-2021, 11:15 AM - Forum: General Coding Help - Replies (2)

This is my list:

list_of_lists = [[1, 2], [3, 4]]
I want to group of elements of sublists:

[python]
list_of_lists = [[1, ..... More

Print this item

  Create Dynamic For Loop
Posted by: quest - Apr-26-2021, 10:55 AM - Forum: General Coding Help - Replies (3)

Hello
My number of sublists is in this line:

        number_of_sublist=sum(len(x) for x in incoming)
      
And I want to ..... More

Print this item

  Get Azure activity logs using python script
Posted by: raham3406 - Apr-26-2021, 10:17 AM - Forum: General Coding Help - Replies (4)

Hi ,
I am working on an assigment to get azure activity logs using python scirpt.

Can anyone have idea how to do that?

Print this item

  pulling multiple lines from a txt
Posted by: IceJJFish69 - Apr-26-2021, 10:10 AM - Forum: General Coding Help - Replies (3)

Howdy,

So basically the task is to pull rows from a text and do some math on them

I understand how to do the math part but I'm lost on how I can..... More

Print this item

  online courses
Posted by: Naheed - Apr-26-2021, 07:19 AM - Forum: News and Discussions - Replies (2)

Which free online courses are good for learning the Python programming language?

Print this item

  Stemming Problem
Posted by: adzg1 - Apr-26-2021, 05:34 AM - Forum: Homework - Replies (1)

I need to create a stemming problem for an assignment but my problem is I can't figure out how to loop the conditions so all words are stemmed as much..... More

Print this item

  How to convert images to 8-bit pixel art using Python.
Posted by: srivastavavyom1991 - Apr-26-2021, 03:18 AM - Forum: Tutorial Requests and Submissions - Replies (2)

I created a small Python tutorial that explains how you can convert images to 8-bit Pixel art. The tutorial covers three different methods which use t..... More

Print this item

  Is there a better way to print uname information?
Posted by: EkaCaesium - Apr-26-2021, 12:40 AM - Forum: General Coding Help - Replies (4)

I'm currently trying to print the uname() results from the os module in a nice, readable manner.

Printing the uname() results directly like so isn'..... More

Print this item

  f-string as a docstr
Posted by: Skaperen - Apr-25-2021, 06:35 PM - Forum: News and Discussions - No Replies

what would happen if i used an f-string as a docstr?

Print this item

  simple function problem
Posted by: stereokim123 - Apr-25-2021, 03:22 PM - Forum: Homework - Replies (5)

def fruit(melon, pear) :
(

)
  return result
print(fruit(10, 5))
print(fruit(6, 4)) 
hey guys, i'm trying to make a calculati..... More

Print this item

  Wanted to tag azure resources with creator name
Posted by: raham3406 - Apr-25-2021, 02:24 PM - Forum: General Coding Help - No Replies

Hi ,

Am beginner in Python dont have background.

Trying to create/update tags for azure resources with creator name, Need help in doing that. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 54 minutes ago Anunderling bowlofred General Codin...
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  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...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576508
  Tutorial Requ... 498406
  Web Scraping ... 440397
  Newbie with P... 384293
  New Users Int... 367423
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+ 12087
buran 8175
snippsat 7368
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 6
buran 3
Newest members
Noya_Yonatan Today
Saipython555 Today
Anunderling Today
Monir Today
atylerfraces2254 Yesterday

User Panel Messages

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