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,288
» Latest member: jackhunter
» Forum threads: 38,793
» Forum posts: 175,878

Full Statistics

Online Users
There are currently 37 online users.
» 3 Member(s) | 28 Guest(s)
Bing, Google, DuckDuckGo, Apple, lovedeep, snippsat, buran

Latest Threads
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: Ninja2112
27 minutes ago
» Replies: 2
» Views: 11
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 143
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 53
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,488
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 150
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 68
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,081
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,303
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 384
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 222

 
  pygame.Surface.fill help
Posted by: Shemira - Nov-28-2019, 05:59 PM - Forum: Game Development - Replies (3)

How do I fill the screen a certain color? I followed an example off of GitHub, but for some reason it is not doing anything. Any advice?
[python]
im..... More

Print this item

  Help with slicing a list
Posted by: FWendeburg - Nov-28-2019, 05:47 PM - Forum: General Coding Help - Replies (3)

Hi, I have this program that ciphers text. The output for "This is a test!" would be:

[output]29255962419664447851729130257545272973129471153616596..... More

Print this item

  How to parallel executing a command using subprocess?
Posted by: larkypython - Nov-28-2019, 03:46 PM - Forum: General Coding Help - No Replies

./PoreDy is the command I want to execute, and jobname and 1001 is the argument it required.
My code is as follows:

[python]
TotalThread=24
Chec..... More

Print this item

  supporting both strings and bytes in functions
Posted by: Skaperen - Nov-28-2019, 03:17 PM - Forum: News and Discussions - No Replies

in all my functions (Skaperens Function Collections) that take strings and return strings, i want to also support bytes and bytearray types, returning..... More

Print this item

  Python+Angular Developer position in Berlin
Posted by: xenia - Nov-28-2019, 02:56 PM - Forum: Jobs - Replies (1)

Feel free to contact me here or by email kseniya.fech@toughbyte.com Also, Telegram is available @xeniafech

[font=Courier New, Courier, monos..... More

Print this item

  Looking for help with a social network on Python
Posted by: GloriaLarsson - Nov-28-2019, 12:26 PM - Forum: Jobs - Replies (3)

Hello everyone!
Hope to find somebody here who'll help me to make my idea true Smile
As far as I know, some giants(Instagram, Uber) used Python..... More

Print this item

  Real Python Course
Posted by: Davy_Jones_XIV - Nov-28-2019, 10:51 AM - Forum: News and Discussions - Replies (4)

Hello,

Just checking has any one taken the real python course and vids? If so, what are your thoughts about the course and vids?

Thanks,
DJXIV

Print this item

  Make Label Text background (default color) transparent using tkinter in python
Posted by: barry76 - Nov-28-2019, 08:55 AM - Forum: GUI - Replies (1)

In reference to the earlier question, I am able to put a background image in the frame but now the major issue is that Label text is displaying with d..... More


Attached Files

Thumbnail(s)
   
Print this item

  hatop issue
Posted by: deepakkr3110 - Nov-28-2019, 05:43 AM - Forum: General Coding Help - Replies (22)

i have a code for hatop in python
[python]#!/usr/bin/python

import socket
import csv
import sys

sys.stdout = open('output.txt','wt')

RECV..... More

Print this item

  opts vs kwargs
Posted by: Skaperen - Nov-28-2019, 05:14 AM - Forum: General Coding Help - Replies (4)

i've seen both used. which name is more preferred in the python community, "opts" or "kwargs"?
[python]
def show_args(*args,**kwargs):
..... More

Print this item

  what module is NoneType in?
Posted by: Skaperen - Nov-28-2019, 04:54 AM - Forum: General Coding Help - Replies (11)

what module is NoneType in? i didn't find it in the library, language, tutorial, or using documentation ..... More

Print this item

  How to make a contour plot in python(matplotli)
Posted by: Ardi - Nov-28-2019, 04:45 AM - Forum: General Coding Help - No Replies

Can some one help me. I want to make a contour plot let's say an example of my data below. I have height data and temperatur data in csv file for 4 da..... More

Print this item

  smtlib send email without logging in
Posted by: codeathoffenmer - Nov-28-2019, 04:05 AM - Forum: General Coding Help - Replies (1)

[python]

import smtplib

from email.mime.text import MIMEText

with open(textfile) as fp:

msg = MIMEText(fp.read())

msg['Subject'] = ..... More

Print this item

  ping with output
Posted by: jacklee26 - Nov-28-2019, 02:19 AM - Forum: General Coding Help - Replies (1)

i have one question related to output file when ping.
if i type in 8.8.8.8 ip address it will export the ping status to the file, but if i used unre..... More

Print this item

  SQL Pivot EAV
Posted by: Quentin - Nov-28-2019, 12:47 AM - Forum: General Coding Help - Replies (2)

I am very new to Python but I have a programming background.
I can read data from SQL query in EAV format (I am stuck with the data).

HOLEID, PROJ..... More

Print this item

  3D animation of sprinkler
Posted by: Marlisevt - Nov-27-2019, 11:56 PM - Forum: Homework - No Replies

Hi,
I am trying to animate/simulate a sprinkler. I tried it in 2D, and got the output I wanted (moving points, iterative creation of points/droplets..... More

Print this item

  Find first letter from a list
Posted by: DariusCG - Nov-27-2019, 10:41 PM - Forum: Homework - Replies (3)

Hello. I have function that finds first letter in all words from list. And I want to count all lower cases. I don't understand why quantity updates on..... More

Print this item

  Import from .py trouble
Posted by: michael1789 - Nov-27-2019, 09:39 PM - Forum: General Coding Help - Replies (4)

I'm trying to split my code into separate modules: sprites.py, setting.py, etc. I'm clearly missing something.

[python]
from settings import *
pr..... More

Print this item

  "SynatxError" Invalid Syntax Help
Posted by: Michael1 - Nov-27-2019, 09:25 PM - Forum: General Coding Help - Replies (2)

Hello, as I am writing my program, i wrote the code

x = 10
if x < 100

from here python automatically gives me the following message

SyntaxEr..... More

Print this item

Question Difference between Python's os.system and Perl's system command
Posted by: Agile741 - Nov-27-2019, 09:00 PM - Forum: General Coding Help - Replies (13)

On Windows 10, I am converting a perl script to python, but I have a problem.

The command in the perl script file is:

[quote]
system ("a dot e..... More

Print this item

  Something is Wrong with my code
Posted by: susmith552 - Nov-27-2019, 08:37 PM - Forum: Homework - Replies (4)

Hello Everyone,

I am new to Python(New to Coding too). I have a task to code a function(dayOfYear) where I need to calculate corresponding day of t..... More

Print this item

  another way to make Python easier
Posted by: Skaperen - Nov-27-2019, 08:18 PM - Forum: News and Discussions - Replies (1)

Python already accepts an extra comma after the last item of a source sequence of expressions, such as forming a list:[python]mylist = [
'foo',
'bar..... More

Print this item

  Python C API - Issue with string as arugments
Posted by: JRHeisey - Nov-27-2019, 08:15 PM - Forum: General Coding Help - Replies (2)

Greetings,

Using Python 3.4.3

  • I am creating a PyUnicode string from a C string.
  • I am passing this string as a argument to a Python ..... More

Print this item

  subprocess.call - Help !
Posted by: sniper6 - Nov-27-2019, 07:42 PM - Forum: General Coding Help - No Replies

hi,

How can I use multiple subprocess.call commands in one window (cmd)
Example:
1- cd\
2- ping 8.8.8.8
3- exit

thanks (:

Print this item

  Problem with function output
Posted by: slyfox - Nov-27-2019, 06:31 PM - Forum: Homework - Replies (1)

Hi everyone,

I'm working on a homework assignment to write a script to output the next major oil change and maintenance needed for a car. I've trie..... More

Print this item

  Regular expression: match pattern at the end only
Posted by: Pavel_47 - Nov-27-2019, 05:58 PM - Forum: General Coding Help - Replies (3)

Hello,

Here are two strings:

Control Engineering – MATLAB Exercises (Advanced Textbooks in Control and Signal Processing)
Control Engine..... More

Print this item

  python and py report different versions
Posted by: lordvold - Nov-27-2019, 05:26 PM - Forum: General Coding Help - Replies (3)

I've installed Python 3.7.5 on a Windows 10 machine. No other version of Python was ever installed on that machine that I know of (and no-one e..... More

Print this item

  2 sets of radiobuttons
Posted by: Chuck_Norwich - Nov-27-2019, 05:10 PM - Forum: GUI - Replies (4)

Hi,

have looked ont web, but I can't seem to find a definite answer.

Have a pair of radio buttons:

rad_lt = Radiobutton(root,text='Lighting c..... More

Print this item

  All Apress & Springer IT eBooks only 7€
Posted by: buran - Nov-27-2019, 04:44 PM - Forum: News and Discussions - No Replies

https://www.apress.com/gp/shop/cybermonday-sale

CYBER WEEK SALE

All Apress & Springer IT eBooks only 7€

through Dec 3, 2019 with code CYBERW..... More

Print this item

  How to stop Xmodem after bin file transfer was finished
Posted by: shaya2103 - Nov-27-2019, 04:33 PM - Forum: General Coding Help - No Replies

hello freinds,


I am sending a BIN file successfully to my energy meter through serial port using the code in the bottom. My problem is that Xmode..... More

Print this item

  facing issue in python
Posted by: rajrishi990 - Nov-27-2019, 04:24 PM - Forum: General Coding Help - Replies (6)

i have below json file. When i amtrying to pull sid and type from applicationRoles, i am able to pull only first entry i.e.sid=123 and type=BC but i n..... More

Print this item

  PyArray_SimpleNew gives "ValueError: array is too big; for 3-cubed array
Posted by: OTAGOHARBOUR - Nov-27-2019, 04:03 PM - Forum: General Coding Help - Replies (1)

I am using Anaconda Spyder 3.3.6 (Python 3.7) on CentOS 7. I started out with the following code in the surfaceModules module.

[code]
static PyObj..... More

Print this item

  How to terminate the caller fuction through callee?
Posted by: 100k - Nov-27-2019, 02:46 PM - Forum: General Coding Help - Replies (2)

Here is my code:

[python]

def callee():
# implement a code to stop the execution of caller()


def caller():
callback1 = callee
do_somth..... More

Print this item

  On the spot counter
Posted by: Astrikor - Nov-27-2019, 01:53 PM - Forum: General Coding Help - Replies (13)

I would like to display a count in the Console such that each increment is replaced in the same place (at start of line) by the next.
Having looked at..... More

Print this item

  2 approaches to start webscrapping - question
Posted by: zarize - Nov-27-2019, 01:49 PM - Forum: General Coding Help - Replies (2)

Hi,

I found out that 2 approaches to web scrapping is returning totally different output:

What i mean is that when i use code below:
[python]he..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PyQt5 - Get a parameter f... 27 minutes ago Ninja2112 Ninja2112 GUI
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
Most views
  The best Prog... 579285
  Tutorial Requ... 512141
  Web Scraping ... 442196
  Newbie with P... 386306
  New Users Int... 379735
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 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
jackhunter Today
EmilyCarter Today
xdimbah Today
IsmaelSlalk Today
Stephenchers Today

User Panel Messages

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