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: pllrdvalery
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
4 hours ago
» Replies: 9
» Views: 495
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
Yesterday, 08:55 AM
» Replies: 1
» Views: 341
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,705
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,040
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,398
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,948
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,714
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,789
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,934
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,490

 
Lightbulb Cloud server running(Can be edited directly online)
Posted by: CNenfan - Jan-29-2021, 03:03 AM - Forum: GUI - Replies (1)

[error]TclError Traceback (most recent call last)
<ipython-input-2-59f0c474d547> in <module>()
3 import tkint..... More

Print this item

  about write file wrong (Edit directly online)
Posted by: CNenfan - Jan-29-2021, 02:21 AM - Forum: Homework - Replies (4)

https://colab.research.google.com/drive/...sp=sharing
Edit directly online
last ten lin:


File "<ipython-input-9..... More

Print this item

  Tkinter and OpenCV
Posted by: VHS - Jan-28-2021, 10:37 PM - Forum: General Coding Help - Replies (4)

Hi everyone !

I'm a beginner in python. I would like to know how to use a facial recognition program that I made in a graphical interface with Tkin..... More

Print this item

  transform result to DataFrame
Posted by: Irv1n - Jan-28-2021, 06:47 PM - Forum: Data Science - Replies (1)

Hi to all! Can anyone help me with this:
My code:
[python] ver_val = OrderedDict()
ver_val[0.1] = [0.1, -0.1]
ver_val[1] = [1, -1]
ver_val[10] = ..... More

Print this item

  Python exercises
Posted by: InputOutput007 - Jan-28-2021, 06:19 PM - Forum: News and Discussions - Replies (3)

Hi,

What kind of webpage* would you recommend me for exercises in Python?
I am not asking about the tutorials itselves, but about a solid webpage whi..... More

Print this item

  I have problem with ACO, I want to always start in the first city and end in the last
Posted by: pKKy - Jan-28-2021, 05:58 PM - Forum: General Coding Help - No Replies

I want to always start with city number: 0(I did it in pos=0) and always end with city number: 9(last city. I have problem with that).
[python]def ac..... More

Print this item

  Printing x values from an csv file
Posted by: hobbyist - Jan-28-2021, 05:03 PM - Forum: General Coding Help - Replies (7)

I am using a .csv file with measurements. On the first column of the .csv file there are timestamps, such as this:
01/24/2021 12:45 PM
(after 100 meas..... More

Print this item

  .maketrans() - a piece of code which needs some explanation
Posted by: InputOutput007 - Jan-28-2021, 04:31 PM - Forum: General Coding Help - Replies (5)

Hi,

I want to understand the following piece of code.
I hope you can help me with it.

[python]
import string as str

punc = str.punctuation
string =..... More

Print this item

  WSAStartup error with requests
Posted by: yllawwally - Jan-28-2021, 03:51 PM - Forum: Networking - Replies (1)

I installed the requests library yesterday. However whenever I import it, I get a WSAStartup failed: error code 10107. I am running python Python 3.8..... More

Print this item

  What are the key changes in dotenv-linter v3.0.0 release?
Posted by: elizabethlvova - Jan-28-2021, 02:35 PM - Forum: News and Discussions - No Replies

We have developed dotenv-linter — a useful tool for checking .env files. It helps to find problems in..... More

Print this item

  Open-sourcing Datanymizer: in-flight template-driven data anonymization
Posted by: elizabethlvova - Jan-28-2021, 02:23 PM - Forum: News and Discussions - No Replies

We also wanted a tool that was flexible about how the anonymization itself takes place, ideally allowing the..... More

Print this item

  Struggling on Tuples
Posted by: Mystix - Jan-28-2021, 11:42 AM - Forum: Homework - Replies (3)

Hello, I am brand new to python and I am highly willing to learn it. The problem is that I've been set homework on Tuples and I feel I've not been pre..... More

Print this item

  Unable to understand how given code takes a fixed input value, without inputting.
Posted by: jahuja73 - Jan-28-2021, 11:35 AM - Forum: General Coding Help - Replies (4)

I got code via link in a post at stackoverflow, but unable to understand how in the code there is a fixed value taken as input, while the code asks no..... More

Print this item

  *Beginner* web scraping/Beautiful Soup help
Posted by: 7ken8 - Jan-28-2021, 10:28 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello all!

I am trying to scrape a table of reviews from an album’s wikipedia page, using Beautiful Soup and requests. I have become stuck trying t..... More

Print this item

  MicroPython Reference
Posted by: ATARI_LIVE - Jan-28-2021, 09:02 AM - Forum: News and Discussions - Replies (1)

Here I found another reference:
[url]https://www.accessengineeringlibrary.com/binary/mheaeworks/b389d442050cf969/ce612553cabb85722d0427e129fc0f2deb53..... More

Print this item

  Change icons of system
Posted by: rizzla - Jan-28-2021, 07:47 AM - Forum: General Coding Help - Replies (1)

so im trying to write a python script that changes the icons of all the files in a spceific folder, how should i go about making this because i dint f..... More

Print this item

  Checkbutton writing selection to file
Posted by: blakefindlay - Jan-28-2021, 06:42 AM - Forum: GUI - Replies (1)

I have 3 checkbuttons that are used to state the condition of ski poles, ski boots, and skis. My issue is that it is only outputting 'PY_VAR7'. Just..... More

Print this item

  help !!!! really new to this
Posted by: HarveerSahota - Jan-28-2021, 03:48 AM - Forum: Homework - Replies (2)

HI, I have to take this required coding class and I am trying to follow a youtube video but i keep getting this error. I dont know what I am doing wro..... More

Print this item

  Saving to a specific directory
Posted by: blakefindlay - Jan-28-2021, 03:40 AM - Forum: GUI - Replies (2)

Just wondering what the best way is to open and save the file to a directory I have called 'out'
C:\Users\blake\PycharmProjects\newb\out

[python]r..... More

Print this item

  trying to scrape a span inside a div using beautifulsoup
Posted by: CompleteNewb - Jan-28-2021, 03:16 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello,
I have this problem trying to scrape a website using Beautifulsoup.
I'm trying to find a "span" in multiple "div", but I can't find anything ..... More

Print this item

  Tkinter Textbox only showing one character
Posted by: Xylianth - Jan-28-2021, 02:35 AM - Forum: GUI - Replies (1)

Hello,
I am writing an ID3 parser from scratch and ever since I made the change to search byte signatures matching an ID3 frame tag so it knew when t..... More

Print this item

  russian roulette
Posted by: AnunnakiKungFu - Jan-27-2021, 09:01 PM - Forum: Game Development - Replies (6)

I am trying to make a Russian roulette app and I do not know where to start. My biggest issue is figuring out how to actually run the random choice of..... More

Print this item

  Help: write 'case' with Python
Posted by: ICanIBB - Jan-27-2021, 08:36 PM - Forum: General Coding Help - Replies (2)

Hi, I remember in C we can use:
case 0: sentence 0
case 1: sentence 1
case 2: sentence 2
...
Can I write similar sentence with Python? If yes, is..... More

Print this item

  Looking for good GUI Framework for Touch Devices
Posted by: matt_the_hall - Jan-27-2021, 04:20 PM - Forum: GUI - Replies (2)

Hello,

I'd like to make a tablet-based note taking system and am wanting input on which GUI frameworks might be good options. My design goal is to ..... More

Print this item

  socket.connect question about parenthesis
Posted by: pace - Jan-27-2021, 04:18 PM - Forum: Networking - Replies (1)

Hi everyone,

I have been starting out with python over the past 8 months. I know I'm just at the start of my journey, and this is the first programm..... More

Print this item

Sad problem with Pyautogui
Posted by: rachidel07 - Jan-27-2021, 04:16 PM - Forum: General Coding Help - Replies (1)

first of all i'm a bigginner and i have a problem with Pyautogui .

i create a simple code to find the software logo on desktop then type 'I found i..... More

Print this item

  opening your scraping with a csv file in excel??
Posted by: Nobelium - Jan-27-2021, 02:31 PM - Forum: Web Scraping & Web Development - No Replies

i made this web scraper in reference to a school project. And i am trying to get all my scraped information printed out in a form/table into excel. at..... More

Print this item

Question resume file transfer
Posted by: onran - Jan-27-2021, 02:16 PM - Forum: General Coding Help - No Replies

Hi,
my script running on a red hat machine copies gigabyte-sized files from a windows-based lab device to a NetApp archive. Both source and destinati..... More

Print this item

  error in scapy attribute 'haslayer'
Posted by: evilcode1 - Jan-27-2021, 12:03 PM - Forum: General Coding Help - Replies (5)

hello all ...
im trying to write a port scanner using scapy module
my code :
[python]from scapy.all import *

target = "192.168.1.81"


pri..... More

Print this item

  3,2,1 - Why you should get this job?
Posted by: Newton - Jan-27-2021, 11:39 AM - Forum: Jobs - Replies (3)

Hello everyone,

I'm looking for a Python developer who will help me build an automated scribbler for Discord. As far as I know, that would be pione..... More

Print this item

  Edit TOML on the fly
Posted by: C3PO - Jan-27-2021, 10:03 AM - Forum: General Coding Help - Replies (3)

I would like to edit a local TOML file and save it again to be used in the same Python script. In this sense, to be able to change a given parameter i..... More

Print this item

  Having trouble using photo for background
Posted by: blakefindlay - Jan-27-2021, 05:41 AM - Forum: GUI - Replies (2)

Just wondering what I am doing wrong. I have a photo named overlander_sports.jpg in the newb folder which is the name of the project. I can't seem t..... More

Print this item

  Python/C API - PythonQTError
Posted by: pybat - Jan-27-2021, 01:52 AM - Forum: General Coding Help - No Replies

Hello All,

I have some Python/C API code embedded within a C++ DLL on Windows. Here is a snippet of the code:

PyObject *pName, *pModule, *pDict..... More

Print this item

  How to sum across variable columns in a dataframe
Posted by: rennerom - Jan-26-2021, 10:48 PM - Forum: General Coding Help - Replies (2)

Hi there,

I end up doing lots of this type of data manipulation in excel as I haven't found a solid python solution yet.

Lets say this is my pandas..... More

Print this item

  Group List Elements according to the Input with the order of binary combination
Posted by: quest_ - Jan-26-2021, 08:36 PM - Forum: General Coding Help - Replies (19)

Hello,
I have this code scripts:
[python]
for variables in itertools.product([0, 1], repeat=(number*2)): # set of variables for a,ap,b,bp,c,cp like 0..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 4 hours ago Anunderling deanhystad General Codin...
  A coding beginner needs h... Yesterday, 08:55 Littlefish paul18fr 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...
  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
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576648
  Tutorial Requ... 498735
  Web Scraping ... 440488
  Newbie with P... 384414
  New Users Int... 367836
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 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
pllrdvalery Yesterday
Littlefish Yesterday
Noya_Yonatan 09-21
Saipython555 09-21
Anunderling 09-21

User Panel Messages

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