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,958
» Latest member: SprunkiRetake
» Forum threads: 38,728
» Forum posts: 175,529

Full Statistics

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

Latest Threads
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
2 hours ago
» Replies: 1
» Views: 2,447
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
5 hours ago
» Replies: 0
» Views: 117
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 287
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 343
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 01:04 AM
» Replies: 0
» Views: 469
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,621
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,546
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 413
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 887
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 1,128

 
  Only getting last record saved...Why
Posted by: Milfredo - Sep-09-2020, 03:20 AM - Forum: General Coding Help - Replies (10)

The following code works. It writes to disk all 17 files I an trying to write to file. Problem is, only the last record in each file is being saved. I..... More

Print this item

  adb commands
Posted by: Nickd12 - Sep-09-2020, 02:51 AM - Forum: General Coding Help - Replies (11)

So I'm trying to run adb commands in python on Macbook I'm basically trying to run amazons fireTv commands. I can run the commands in my Mac terminal ..... More

Print this item

  cumulating results
Posted by: awasnipi - Sep-09-2020, 02:27 AM - Forum: General Coding Help - Replies (6)

I am a complete novice programing, and just started laerning python.
how can i cumulate points in the below program:

[python]
import time
import..... More

Print this item

  Weird refresh rate with i2c lcd
Posted by: JarredAwesome - Sep-09-2020, 02:26 AM - Forum: Game Development - Replies (9)

Hey everyone,

I am working on a program that gives me the values from different sensors.
On its own, the i2c screen seems to work fine, but when I..... More

Print this item

  Explanation of the left side of this statement please
Posted by: rascalsailor - Sep-08-2020, 06:42 PM - Forum: General Coding Help - Replies (3)

The statement below is from here
I understand that it is s..... More

Print this item

  Building command in a looping construct
Posted by: DennisT - Sep-08-2020, 05:15 PM - Forum: General Coding Help - Replies (3)

Hi,
I'm trying to build commands in a loop. However it isn't working. Here's what I have coded:

[python]
for PtrI in range(1,16):
..... More

Print this item

  Need help with api structure and logging. (uvicorn and fastapi)
Posted by: KaranTrivedi - Sep-08-2020, 02:12 PM - Forum: General Coding Help - No Replies

Hey,

Here is my project.

https://github.com/KaranTrivedi/dirlist-api

I tried a few different things. I would like to create an access log fil..... More

Print this item

  How to merge three DataFrames based on specific column
Posted by: Mekala - Sep-08-2020, 02:01 PM - Forum: General Coding Help - No Replies

Hi,
I have three Data Frames with a common column (ID) and I want to merge them into one.


df1:

[python]ID Pop RANK
A1 T1 1
A1 T1 3
B1 T1 4..... More

Print this item

  Beginner having Syntax Error problem
Posted by: RyanHo - Sep-08-2020, 12:50 PM - Forum: General Coding Help - Replies (3)

Hello guys I am new to Python and I have overcome a problem.Can anybody help?
I am trying to make a simple calculator. Big Grin Big Grin

..... More

Print this item

  error "IndentationError: expected an indented block"
Posted by: axa - Sep-08-2020, 10:10 AM - Forum: General Coding Help - Replies (4)

Hi
Can you help me to correct the following code so that I do not get IndentationError error?

my script:

[python]from scapy.all import *
DIR=o..... More

Print this item

  Check if a file exists.
Posted by: Pedroski55 - Sep-08-2020, 05:58 AM - Forum: General Coding Help - Replies (5)

I need to look for a file in this path:

Quote:pathToAnswersHW = '/home/pedro/' + termName[0] + '/' + theClass[0] + '/correctAnswersHW/'
..... More

Print this item

  Simple game help
Posted by: jarettday - Sep-07-2020, 09:43 PM - Forum: Game Development - Replies (1)

I'm trying to make a simple game in python.
[python]
import pygame
from pygame.locals import *

pygame.init()
width, height = 640, 480
screen=p..... More

Print this item

  Recursive function returns None, when True is expected
Posted by: akar - Sep-07-2020, 07:58 PM - Forum: General Coding Help - No Replies

Hi,
I'm learning Python, I guess this must be absolutely silly but it's been driving me mad for hours.

I've simplified a lot from the original pro..... More

Print this item

  Cannot get to virtual environment in Jupyter IDE
Posted by: ErnestTBass - Sep-07-2020, 06:43 PM - Forum: General Coding Help - Replies (6)

I am trying to use fbprophet in jupyter notebook in a program for making predictions.

To use it requires python=3.61 which means that I must make a..... More


Attached Files

Thumbnail(s)
                   
Print this item

  Click after 10 Mins
Posted by: biprabu - Sep-07-2020, 05:27 PM - Forum: General Coding Help - Replies (1)

Hi All,

I am using pyatuogui module for automation.
i have to hit enter key after 10 mins

pyautogui.press('down')
pyautogui.press('enter')
p..... More

Print this item

  Beginner: I need help understanding few lines of a code.
Posted by: hop_090 - Sep-07-2020, 03:13 PM - Forum: General Coding Help - Replies (1)

[python]
num=int(input('Enter the looping number: '))
for i in range(num):
for j in range(i):
print(i, end=' ')
print(" ")
[/pyt..... More

Print this item

  print either int or float - How?
Posted by: Denial - Sep-07-2020, 02:51 PM - Forum: General Coding Help - Replies (1)

Hello

I want to print number as whole if there is no decimal point and if there is decimal point, then print with decimal point.

For example,
..... More

Print this item

  how to encode and decode same value
Posted by: absolut - Sep-07-2020, 01:50 PM - Forum: General Coding Help - Replies (2)

Hi.
I obtain these data:
ADhlamtsOXdreXE2eAA0VFpWTGJBWDdSZW83d3AwYnJnNlVnSEpRcTlvR0wwMTlldUhSelJ6bXRtTTRnbmUxU
I'm tring to decode and then encode ..... More

Print this item

  setupUi To QuiLoad convert
Posted by: Harshil - Sep-07-2020, 01:39 PM - Forum: GUI - No Replies

Hey! Friends I Have Made A Code A That Looks Nice But Problem Is I Want to Make It setupUi To QuiLoad()
Note: I AM Using PYSIDE2
[python]impo..... More

Print this item

  [split] Помощь по приватным ключам/Private key help
Posted by: sairam17519 - Sep-07-2020, 12:55 PM - Forum: General Coding Help - No Replies

When I run the above program I am getting following error. Please help me.
[error]
Traceback (most recent call last):
File "C:\Users\SAIRAM\Deskt..... More

Print this item

  Can anyone help me there? I have this due tomorrow and I'm stuck with no one to talk
Posted by: rarefaction - Sep-07-2020, 12:42 PM - Forum: Homework - Replies (1)

[python]
import random
import dice
import array

print(
'''
Petals Around the Rose
----------------------

The name of the game is 'Petals A..... More

Print this item

  Three scripts to one
Posted by: sa7bnb - Sep-07-2020, 11:03 AM - Forum: General Coding Help - No Replies

[font=Arial, Helvetica, sans-serif]Hello,
Would need help combining three python scripts into one.

The function I am looking for is the following,..... More

Print this item

  Python Requests
Posted by: Aussie - Sep-07-2020, 10:46 AM - Forum: General Coding Help - Replies (2)

Hi,
I have started looking at requests in Python.
It must be possible to add both an ssl and authentication right?
If correct, how.

Also, you ca..... More

Print this item

  My first code
Posted by: Dule74 - Sep-07-2020, 09:21 AM - Forum: Code sharing - Replies (3)

I recently started trying to learn Python and yesterday I wrote this.
[python]
name = input("What is your name? ")
print(name + " is such a beautif..... More

Print this item

  Printing string at specific position on terminal - not showing
Posted by: __Mathieu__ - Sep-07-2020, 09:16 AM - Forum: General Coding Help - Replies (1)

Hello,

I am studying Python and currently working on matrix.
I want to print an empty matrix and pointing the position of each matrix element by a..... More

Print this item

  Uploading files to NAS from Raspberry PI using python
Posted by: zazas321 - Sep-07-2020, 09:00 AM - Forum: General Coding Help - No Replies

Hello. We have NAS drive connected to our network.IT administrator allocated me 4GB of space for testing and I have been given ID,password, and the IP..... More

Print this item

  Activate Winodw/ Set focus
Posted by: biprabu - Sep-07-2020, 04:05 AM - Forum: General Coding Help - No Replies

Hi ALL,


Please help me to activate the window so that i will move the mouse to particular are and click

my Code
[python]
Import subprocess
..... More

Print this item

  Pass by object reference when does it behave like pass by value or reference?
Posted by: mczarnek - Sep-06-2020, 07:49 PM - Forum: General Coding Help - Replies (2)

I've read a lot and sort of get it, though it hasn't clicked yet.. could you explain pass by object reference like this:
In what situations does Pyt..... More

Print this item

  Help accessing elements of list of dictionaries
Posted by: Milfredo - Sep-06-2020, 07:41 PM - Forum: General Coding Help - Replies (6)

I have filled a list with dictionaries in the following code. I have watched at least 5 videos looking for the answer. How can I access elements of in..... More

Print this item

  Merging Excel Files
Posted by: JezMim - Sep-06-2020, 07:14 PM - Forum: General Coding Help - Replies (1)

We are new to Python script and need to merge 50+ excel files into one workbook. Have searched for suitable code and have edited to suit our data & f..... More

Print this item

  My while loop won't loop
Posted by: JHem - Sep-06-2020, 05:53 PM - Forum: Homework - Replies (6)

Hello! I'm new to python and I'm trying to solve a homework exercise that covers while-loops but the problem is that my while loop won't loop... **hu..... More

Print this item

  Importing Program Wide
Posted by: JarredAwesome - Sep-06-2020, 05:41 PM - Forum: General Coding Help - Replies (4)

Hey everyone,


I’m new to python for, but I have done a lot of php programming.

One feature I liked in php was include. I know Python has impor..... More

Print this item

  New User online Guide
Posted by: NAP1947 - Sep-06-2020, 03:41 PM - Forum: General Coding Help - Replies (1)

I am very new and just downloaded Python on Windows 10 and would like to follow the Beginners guide included in the site.
Can this be downloaded as a..... More

Print this item

  Changing Download Path for ChromeOptions
Posted by: Zelatrix - Sep-06-2020, 03:13 PM - Forum: Web Scraping & Web Development - No Replies

I am attempting to write a Python script which logs into a site using Selenium, and thendownloads the images from a set of links passed into the scrip..... More

Print this item

  Open for Python project(s)
Posted by: Python_User - Sep-06-2020, 03:02 PM - Forum: General Coding Help - Replies (8)

Dear all,

Hopefully this is the right place to discuss this topic.

I started learning Python at the end of July and feel nowadays step by step m..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using Python to SSH and R... 2 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... 5 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Yesterday, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
Most views
  The best Prog... 576939
  Tutorial Requ... 499573
  Web Scraping ... 440709
  Newbie with P... 384685
  New Users Int... 368683
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday
Perry Yesterday

User Panel Messages

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