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,511
» Latest member: Stephenanern
» Forum threads: 38,584
» Forum posts: 174,836

Full Statistics

Online Users
There are currently 734 online users.
» 1 Member(s) | 726 Guest(s)
Yandex, Bing, Internet Archive, Baidu, Apple, buran

Latest Threads
Is Python used to make po...
Forum: Game Development
Last Post: RogereK
Yesterday, 04:17 AM
» Replies: 17
» Views: 31,753
Unequal values when added...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 12:24 AM
» Replies: 1
» Views: 176
Call CLI app with input?
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:52 PM
» Replies: 5
» Views: 354
backtesting can't optimiz...
Forum: General Coding Help
Last Post: snippsat
May-23-2025, 07:46 PM
» Replies: 1
» Views: 135
Looking for ideas
Forum: Bar
Last Post: Larz60+
May-23-2025, 10:55 AM
» Replies: 2
» Views: 468
How to put my game loop i...
Forum: Game Development
Last Post: RogereK
May-23-2025, 12:35 AM
» Replies: 9
» Views: 2,703
Languages
Forum: General Coding Help
Last Post: Arush
May-22-2025, 06:51 PM
» Replies: 2
» Views: 260
Error on import: SyntaxEr...
Forum: General Coding Help
Last Post: Kiongi
May-21-2025, 07:49 AM
» Replies: 8
» Views: 21,442
Wish to write a code for ...
Forum: General Coding Help
Last Post: DeaD_EyE
May-21-2025, 06:08 AM
» Replies: 3
» Views: 674
How can I write formatted...
Forum: General Coding Help
Last Post: hanmen9527
May-20-2025, 12:26 PM
» Replies: 13
» Views: 29,016

 
  [Solved]Help getting variable from Function in PyQt
Posted by: Extra - Jun-29-2022, 11:31 PM - Forum: GUI - Replies (6)

Hello,

I have a combobox (Called: DatabaseComboBox) that holds a list of databases.

When a database is selected I have a function that gets it'..... More

Print this item

  Problem with scraping the Title from a web page
Posted by: Wagner822 - Jun-29-2022, 11:28 PM - Forum: General Coding Help - No Replies

Hi. I'm using python 3.10 with Windows.

I have a script like this


[python] src_url = get_url_by_pagenumber(page)
res = requests.get(src_url..... More

Print this item

  Need help formatting dataframe data before saving to CSV
Posted by: cubangt - Jun-29-2022, 08:27 PM - Forum: General Coding Help - Replies (16)

I am trying to parse and save my IG messages for stat purposes.

I have the following code that works and saves to a csv file, but when i open the ..... More

Print this item

Big Grin Exception of the day
Posted by: DeaD_EyE - Jun-29-2022, 06:05 PM - Forum: Bar - Replies (2)

[error]
[{key: row for key, row in zip(("port", "state", "resolution"), parsed)} for parsed in [[data[0], f"{data[1]} {data[2]}", data[3]] if "primar..... More

Print this item

  What kind of list is this?
Posted by: jesse68 - Jun-29-2022, 04:25 PM - Forum: General Coding Help - Replies (2)

Hi, one more question for the day.

This is a list - my_List = ["one", "two","three"]
This is a dictionary - my_Dict = dict({1: 'Geeks', 2: 'F..... More

Print this item

Question Finding string in list item
Posted by: jesse68 - Jun-29-2022, 02:46 PM - Forum: General Coding Help - Replies (8)

Hello.

This is odd but I'm sure there is a perfectly good explanation.

Why is "501" and "502" evaluated as true for each item in the list?

[p..... More

Print this item

  Python List Issue
Posted by: Aggie64 - Jun-29-2022, 02:15 PM - Forum: General Coding Help - Replies (5)

1. create a list named All_Items_List
2. set All_Items_List_Copy = All_Items_List
3. create Subset_list which has one less item than All_Items_Lis..... More

Print this item

  Help with basic weight converter
Posted by: PythonSquizzel - Jun-29-2022, 02:11 PM - Forum: General Coding Help - Replies (3)

Ok so I'm brand new to coding and following a YouTube video for learning python, one of the exercises is to make a simple weight conversion program. I..... More

Print this item

  GUI Style
Posted by: Oshadha - Jun-29-2022, 02:03 PM - Forum: GUI - Replies (3)

Tkinter is very easy to learn and master. But it keeps looking old (Windows 7ish). Am I missing a part where it looks new? If not what other modules ..... More

Print this item

  Data Science
Posted by: Oshadha - Jun-29-2022, 01:35 PM - Forum: Data Science - Replies (2)

Python is famous for data science. But what is Data Science. I never understood the concept. Is it finding data and presenting it?
I consider myself ..... More

Print this item

  Integrating vue.js with Django framework
Posted by: saisankalpj - Jun-29-2022, 01:27 PM - Forum: Web Scraping & Web Development - No Replies

I am working on a Django project in the backend side. The front end is written in Vue.js. Now,we need to integrate frontend(vue.js) with the backend(..... More

Print this item

  How to use an Emulator and a MttQ broker?
Posted by: Frankduc - Jun-29-2022, 01:10 PM - Forum: General Coding Help - Replies (22)

Hello,

I am having trouble using an Emulator and mqtt broker.
When one click button lumiere entree or lumiere salon "ON" the GPIO in the emulator ..... More

Print this item

  Terminal project running on web
Posted by: guilhermeafonso - Jun-29-2022, 12:56 PM - Forum: Web Scraping & Web Development - No Replies

Hi! I'm new in python, and I have a doubt.

Can I run a python project, which I run from the terminal on a website?
How can I do this?

Print this item

  How to find a job as Software Developer in Switzerland? (step by step guide)
Posted by: jharp - Jun-29-2022, 12:23 PM - Forum: Bar - Replies (2)

[Image: hire-developer-resume.svg]

[size=xx-large]1. How difficult is to find a job as a Software Develop..... More

Print this item

  Job offer for Python developers near Stuttgart, Germany
Posted by: solarjoe - Jun-29-2022, 08:43 AM - Forum: Jobs - No Replies

We are a medium-sized company that develops innovative machines for measuring and quality assurance. Our location is close to Stuttgart, Germany.

W..... More

Print this item

  Dynamically allocated array
Posted by: JESuh - Jun-29-2022, 06:40 AM - Forum: General Coding Help - Replies (1)

Hello,

Well, I'm not sure if I can ask this question here.. Please let me know if I came to wrong place.

I want to wrap c++ code to make pyd and..... More

Print this item

  OSERROR When mkdir
Posted by: Oshadha - Jun-29-2022, 05:09 AM - Forum: General Coding Help - Replies (4)

[error]OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'D:\\1. Oshadha\\2. Code\\Python\\11. Discord Bot\\L..... More

Print this item

  Tutorial on SDR and DSP using python
Posted by: Larz60+ - Jun-28-2022, 10:07 PM - Forum: News and Discussions - No Replies

Thought I'd share this wanna build a wide range radio receiver (500 kHz up to 1.75 GHz) for about $30?
Disclaimer: this device may be illegal without..... More

Print this item

  Using yt-dlp options in Python
Posted by: Pavel_47 - Jun-28-2022, 04:25 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello,

Does exist some document that explain how to use yt-dlp options in Python.
There are a lot of options an it's more or less clear how to use..... More

Print this item

  Can't import logging
Posted by: hary - Jun-28-2022, 03:42 PM - Forum: General Coding Help - Replies (2)

Hi

I'm on a Raspberry pi and VSCode trying to import 'logging' but I get an error despite it should already be with python 3.9.2.

When I import ..... More

Print this item

  Cannot get output for df.head()
Posted by: Led_Zeppelin - Jun-28-2022, 02:15 PM - Forum: General Coding Help - No Replies

I get the following response when I run some python code and use

StandardScaler

[code]
scaler=StandardScaler()
df=scaler.fit_transform(df)
[..... More

Print this item

  pymysql; insert on duplicate key update fails
Posted by: wardancer84 - Jun-28-2022, 10:19 AM - Forum: General Coding Help - Replies (4)

i dont want to go to deep here so...i want to do the above stated kind of query with pymysql...

relevant piece of code:

[python]
sql = "INSER..... More

Print this item

  How to load all pages of the pdf file to the program
Posted by: alicenguyen - Jun-28-2022, 06:51 AM - Forum: General Coding Help - Replies (9)

I'm working with the code to summarize the text using BERT. I am stopped at the step "loading all pages of the pdf file to the program". My code below..... More

Print this item

  Inconsistent sorting with the .sort_values() function
Posted by: devansing - Jun-28-2022, 03:31 AM - Forum: Data Science - Replies (4)

Hi,

I am trying to sort rows of data in a pandas Dataframe using the .sort_values() function. The goal is to change the order so that the numbers ..... More

Print this item

  Webapp for creating sheet music
Posted by: philipbergwerf - Jun-27-2022, 09:42 PM - Forum: Web Scraping & Web Development - Replies (2)

I want to make a webapp for creating alternative music notation and be able to export the drawing as pdf, print, edit etc...
I am not so experienced ..... More

Print this item

  Setup host for consistent data transfer to client via TCP
Posted by: Gustav97 - Jun-27-2022, 07:33 PM - Forum: General Coding Help - No Replies

Hi everyone,

I use a Raspberry PI4 for running a python script, which is using the RPI camera for detecting coordinates of body joints.
Basically..... More

Print this item

  ($123,500 - $145,000) Backend Engineer - Python / Django (Remote In Us) at 15Five
Posted by: djangojobs.net - Jun-27-2022, 06:41 PM - Forum: Jobs - No Replies

Quick Apply Link
djangojobs.net/jobs/1133/backend-engineer-python-django-remote-in-us-15five/

Join the Engineering Team at 15Five!

We're on a m..... More

Print this item

  Why the blank lines in output?
Posted by: Mark17 - Jun-27-2022, 06:24 PM - Forum: General Coding Help - Replies (6)

I'm having problems with my program so I added a tracer (?) line to print out some variables at the beginning of every iteration [loop]:

[Python]
if ..... More

Print this item

  Go to next page TKinter
Posted by: achim1024768 - Jun-27-2022, 05:20 PM - Forum: General Coding Help - Replies (2)

hello,

i have a little question to my code. i have 2 files in the same folder, script 1 and script 2
code in script 1:
[python]from tkinter impor..... More

Print this item

Question [Solved] Running Gunicorn with flask....
Posted by: SpongeB0B - Jun-27-2022, 02:34 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi everyone,

I try to run Flask with gunicorn Wall

I've created a venv , here the si..... More

Print this item

  Excel file in use from Python
Posted by: Mark17 - Jun-27-2022, 12:49 PM - Forum: General Coding Help - Replies (7)

Hi all! My program writes to three .csv files. At the end of the program, I do a filename.close() for all three. Usually, this does the trick and a..... More

Print this item

  Give visit number ( or counter) within the same time frame
Posted by: balthordu - Jun-27-2022, 09:48 AM - Forum: General Coding Help - Replies (1)

Hi all

Thanks in advance for your help.

I have this below dataset.

[output]Visitor ID Visit time
AAA 27/06/2022 10:00:00
AAA ..... More

Print this item

  python-docx regex : Browse the found words in turn from top to bottom
Posted by: Tmagpy - Jun-27-2022, 08:19 AM - Forum: General Coding Help - No Replies

I'm trying to finalize my personal project and i'm having a new problem which is matching top to bottom positions in and out of the board to change wo..... More

Print this item

  Extract text
Posted by: rektcol - Jun-27-2022, 07:52 AM - Forum: General Coding Help - Replies (6)

Hello everyone,
I hope it will be comprehensible.

I have to extract text from file in repository. These files are like :

"
titi
titi
titi
yes
ok
o..... More

Print this item

  Insert into SQL Table only when Table is First Created?
Posted by: Extra - Jun-26-2022, 10:41 PM - Forum: General Coding Help - Replies (4)

Hello,

I'm trying to add default values to my SQLite table when it first gets created using and INSERT statement.
Right now, every time I run the..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is Python used to make po... Yesterday, 04:17 ironsheep RogereK Game Developm...
  Unequal values when added... Yesterday, 00:24 Azdaghost deanhystad General Codin...
  Call CLI app with input? 05-23, 19:52 Winfried snippsat General Codin...
  backtesting can't optimiz... 05-23, 19:46 Running_Code snippsat General Codin...
  Looking for ideas 05-23, 10:55 Azdaghost Larz60+ Bar
  How to put my game loop i... 05-23, 00:35 temlotresid6 RogereK Game Developm...
  Languages 05-22, 18:51 Azdaghost Arush General Codin...
  Error on import: SyntaxEr... 05-21, 07:49 kirkwilliams2049 Kiongi General Codin...
  Wish to write a code for ... 05-21, 06:08 Hasan2025 DeaD_EyE General Codin...
  How can I write formatted... 05-20, 12:26 JohnJSal hanmen9527 General Codin...
  How to attach images to a... 05-19, 04:08 CynthiaMoore sethmike9 Board
Most views
  The best Prog... 568056
  Tutorial Requ... 467658
  Web Scraping ... 432850
  Newbie with P... 371644
  Thread remain... 343641
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12053
buran 8171
snippsat 7328
deanhystad 6828
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Stephenanern Today
ShaneHoown Yesterday
DichaelIntak Yesterday
Lewistot Yesterday
DichaelLoaCk Yesterday

User Panel Messages

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