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,275
» Latest member: eastnoob
» Forum threads: 38,790
» Forum posts: 175,867

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 32 Guest(s)
Google, Bing

Latest Threads
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
1 hour ago
» Replies: 2
» Views: 69
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
8 hours ago
» Replies: 0
» Views: 17
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
10 hours ago
» Replies: 11
» Views: 5,964
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
10 hours ago
» Replies: 2
» Views: 4,279
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 08:34 PM
» Replies: 3
» Views: 278
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 05:03 AM
» Replies: 1
» Views: 129
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 199
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,105
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 239
PermissionError: [Errno 1...
Forum: GUI
Last Post: Tuurbo46
Nov-17-2025, 08:44 AM
» Replies: 2
» Views: 164

 
  Syntax error
Posted by: Blaedel - Aug-03-2020, 12:46 PM - Forum: General Coding Help - Replies (3)

Hi guys,

struggling to learn. Why is there a syntax error in the following:

[quote]
combinations_amounts = []

for amount_100 in range (0, 10..... More

Print this item

  scrollbar in tab
Posted by: issac_n - Aug-03-2020, 12:42 PM - Forum: GUI - Replies (1)

I wanted to create a scrollbar(pyqt5) into tab, base on example in link below I did some changes to fit my need but the scrollbar didn't show on tab a..... More

Print this item

  Looking for a Python Developer
Posted by: MarioInter - Aug-03-2020, 12:36 PM - Forum: Jobs - Replies (4)

Hi Community!

For our software house in Warsaw, we are looking for an experienced Python Developer.

It's also possible to work remotely.

All..... More

Print this item

  Change IP adress with Python
Posted by: samuelbachorik - Aug-03-2020, 08:09 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello please can you help me with changing IP address in Python ? I am trying to make web scrapping bot and every time he do something i need to chang..... More

Print this item

  Converting string to hex triplet
Posted by: menator01 - Aug-03-2020, 06:02 AM - Forum: General Coding Help - Replies (4)

Been racking my brain on how to convert string color to hex triplet.
Example convert gold to ffd700.
I know that for rgb this is ff(red) d7(green) ..... More

Print this item

  Learning python SyntaxError: 'return' outside function
Posted by: Grale1953 - Aug-03-2020, 02:49 AM - Forum: General Coding Help - Replies (3)

Here is my code:

[python]import string
letters_guessed = ['x', 'i', 'k', 'p', 'r', 's', 'z', 'h', 'b']
alpha = string.ascii_lowercase
availabl..... More

Print this item

  newbie here - general advice reqd
Posted by: gonzo01 - Aug-03-2020, 02:21 AM - Forum: General Coding Help - Replies (2)

Te only coding I have ever done was related to a n sql database more than 35 years ago

I'm currently usin MX Linux 19.2 and wish to try my hand at ..... More

Print this item

  Output CSV file with filepath and file contents
Posted by: glittergirl - Aug-03-2020, 12:00 AM - Forum: General Coding Help - Replies (1)

I want to output a CSV file with the filepath and file content in the directory. I tried the following code, but it only iterates through files in the..... More

Print this item

  I cannot figure out this error
Posted by: ErnestTBass - Aug-02-2020, 11:24 PM - Forum: General Coding Help - Replies (8)

[code]
#!/usr/bin/python
# -*- coding: utf-8 -*-
import pandas as pd
import numpy as np
import seaborn as sns
import matplotlib.pyplot as plt
i..... More


Attached Files

.zip   plays-m.zip (Size: 17.2 KB / Downloads: 484)
Print this item

  what pip command can list installed files for a name package?
Posted by: Skaperen - Aug-02-2020, 10:25 PM - Forum: News and Discussions - Replies (3)

what pip command can list installed files for a name package?

Print this item

  KeyError
Posted by: ajtsystems - Aug-02-2020, 08:58 PM - Forum: General Coding Help - Replies (1)

I have a Keyerror since I have added an new key to my MSG_TXT array. I can't see any format errors in MGS_TXT and when I remove this part the code st..... More

Print this item

  Dropping Rows From A Data Frame Based On A Variable
Posted by: JoeDainton123 - Aug-02-2020, 08:23 PM - Forum: Data Science - Replies (1)

Hi all

I have a data frame which i want rows to be removed.

I am using the command:-

data_frame_current.drop(index=b)
..... More

Print this item

  search interface description
Posted by: kobilevi - Aug-02-2020, 07:34 PM - Forum: Networking - No Replies

Hello I am trying to find a way that through code with Python I can search for the description of the interface in the switch. This can be a type of e..... More

Print this item

  Indentation Error With If Else Statement
Posted by: JoeDainton123 - Aug-02-2020, 07:26 PM - Forum: General Coding Help - Replies (3)

Hello all

I was hoping someone could help with the following issue.

I keep getting an indentation error when using an If else statement, my code..... More

Print this item

  Web Scraping
Posted by: alexcuba75 - Aug-02-2020, 06:06 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys,

I would like to open a new tab in my opened browser and then read the content, I have tried with Selenium but I cannot find the way to ..... More

Print this item

  IRC Message Parsing
Posted by: cyberchron - Aug-02-2020, 05:56 PM - Forum: Networking - No Replies

Hey all I am pretty much brand new to coding. I figured a fun way to learn would be to start doing coding challenges online.
For one of my challenges ..... More

Print this item

  serial still udefined
Posted by: anne - Aug-02-2020, 05:44 PM - Forum: General Coding Help - Replies (3)

See attached.
I did install pyserial in to python3.5 , restated Eclipse and it shows as installed .
What did I missed ?
.pdf   1_SERIAL.pdf (Size: 276.78 KB / Downloads: 472)

PS I am..... More

Print this item

  Help with Tkinter
Posted by: djwilson0495 - Aug-02-2020, 04:41 PM - Forum: GUI - Replies (2)

[python]
from tkinter import *

total = 0
num = 0

def click():
number = num_box1.get() # defines number variable as number entered into bo..... More

Print this item

  What does QApplication do?
Posted by: anne - Aug-02-2020, 04:41 PM - Forum: GUI - Replies (4)

OK, if this is out of python subject just ignore it .

I am beginning to understand strange "indented" philosophy of python syntax.
I even got ..... More

Print this item

  Get html body of URL
Posted by: rama27 - Aug-02-2020, 04:14 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I have a following issue. I would like to get HTML body of a webpage. I am beginning with Python, so to be clear - I need the same output as I ge..... More

Print this item

  Accessing values in list of dictionaries
Posted by: pythonnewbie138 - Aug-02-2020, 03:36 PM - Forum: General Coding Help - Replies (2)

I'm struggling with iterating over a list of dictionaries to access keys/values based on a user selection.

The first loop works as expected to prin..... More

Print this item

  how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????
Posted by: lsepolis123 - Aug-02-2020, 03:29 PM - Forum: General Coding Help - Replies (4)

how set/change env var PYTHONOPTIMIZE in Python 3 / 3.7 / 3.8 ????

I want to skip assertion... how?

a = input("enter a number: ")

assert int(..... More

Print this item

  output label
Posted by: just_me - Aug-02-2020, 03:21 PM - Forum: GUI - No Replies

Hi everyone,

I'm new to kivy and I'm trying to do something very simple that I can't get right and can't find any information anywhere. All I want ..... More

Print this item

  saving output to a video file
Posted by: Zhaleh - Aug-02-2020, 02:59 PM - Forum: Game Development - Replies (1)

Hi everybody. I've just created a simple moving object and now I need to save it as a video file. Can anybody tell me how can I save the output and wh..... More

Print this item

  Run hidden exe
Posted by: samuelbachorik - Aug-02-2020, 02:58 PM - Forum: General Coding Help - No Replies

Hello dear users, iam trying to call exe. file from python and run it hidden. I want to run it without user operation. I have this script and it is wo..... More

Print this item

  Python Paramiko mkdir command overwriting existing folder. How can i stop that?
Posted by: selverek - Aug-02-2020, 02:39 PM - Forum: General Coding Help - Replies (1)

I'm trying to create a register system based on server. Sending directories to my server with their name. But if you try to register with an existing ..... More

Print this item

  .Set - Unable to understand the statement
Posted by: ateestructural - Aug-02-2020, 01:00 PM - Forum: General Coding Help - Replies (5)

I have the following code which I have inherited it from someone else.
[python]vocab_filename = 'vocab.txt'
vocab = load_doc(vocab_filename)
vocab ..... More

Print this item

  String Comparing
Posted by: Harshil - Aug-02-2020, 12:49 PM - Forum: General Coding Help - Replies (15)

Hey! Everyone I Have A Problem:
The Problem is you are given two user input string now you have to compare them and find out unique and common letter..... More

Print this item

  how to make objects move at a precise amount of time?
Posted by: Zhaleh - Aug-02-2020, 11:50 AM - Forum: Game Development - Replies (2)

Hi everybody. I'm quite a beginner in programming. I wrote a code that produces an image moving left and right until it hits the walls and change dire..... More

Print this item

  Huge CSV Reading and Sorting for comparison
Posted by: akshaynimkar - Aug-02-2020, 11:24 AM - Forum: General Coding Help - Replies (3)

Hello,
I have a requirement where I have two sets of CSV files(unsorted).
CSV are huge (>10 million records and > 50 columns).

I need to compare ..... More

Print this item

  Get the parent label of a ImageTk.PhotoImage
Posted by: delphinis - Aug-02-2020, 10:35 AM - Forum: GUI - Replies (1)

Hi,
i have five labels with a Photo in a frame:
[python]
for entry in dir:
file = self.file_path + "\\" + entry
..... More

Print this item

  Tkinter having problems with packing labels?
Posted by: wallgraffiti - Aug-02-2020, 09:26 AM - Forum: GUI - No Replies

Code:
[python]import tkinter as tk
from urllib.request import urlopen

root=tk.Tk()

pagestuff=[]

pagestuff.append(tk.Label(root, text="This ..... More

Print this item

  Open windows media player minimised
Posted by: TamP - Aug-02-2020, 08:43 AM - Forum: General Coding Help - Replies (1)

I am trying to open windows media player, minimised, from Python
like so
os.system ("start wmplayer.exe /min C:\\Users\user\Desktop\output.mp3")
Can a..... More

Print this item

  Problems on ''no such file or directory'' in python on Visual studio 2019
Posted by: 504416430 - Aug-02-2020, 08:19 AM - Forum: General Coding Help - Replies (1)

I am sorry to disturb. I am a beginner for programming and learning the cs61a. In the first project, I want to run the [color=#..... More

Print this item

  How to convert a python code to binary?
Posted by: rsurathu - Aug-02-2020, 08:09 AM - Forum: General Coding Help - No Replies

How to convert a python code to binary on a Redhat / RHEL 7.8 ?

Aim is to make the code run on a linux machine that doesn't need to have Python ins..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [SOLVED] [BeautifulSoup] ... 1 hour ago Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 8 hours ago ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 10 hours ago temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 10 hours ago Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... Yesterday, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... Yesterday, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
  [SOLVED] Access keys and ... 11-17, 11:47 Winfried Winfried General Codin...
  PermissionError: [Errno 1... 11-17, 08:44 Tuurbo46 Tuurbo46 GUI
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
Most views
  The best Prog... 579176
  Tutorial Requ... 511788
  Web Scraping ... 442131
  Newbie with P... 386202
  New Users Int... 378996
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+ 12109
buran 8196
snippsat 7389
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
eastnoob Yesterday
SavingSquirrel199835 11-18
Astrobert 11-18
DataScientist071 11-18
aminrony1999 11-17

User Panel Messages

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