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,280
» Latest member: ndx101
» Forum threads: 38,790
» Forum posts: 175,869

Full Statistics

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

Latest Threads
How to put my game loop i...
Forum: Game Development
Last Post: Santoro
1 hour ago
» Replies: 12
» Views: 5,994
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
2 hours ago
» Replies: 4
» Views: 1,442
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Yesterday, 02:10 PM
» Replies: 2
» Views: 91
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Yesterday, 06:48 AM
» Replies: 0
» Views: 32
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Yesterday, 04:46 AM
» Replies: 2
» Views: 4,283
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 299
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 146
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 211
best way to learn python
Forum: News and Discussions
Last Post: mamta25
Nov-18-2025, 04:13 PM
» Replies: 5
» Views: 3,115
[SOLVED] Access keys and ...
Forum: General Coding Help
Last Post: Winfried
Nov-17-2025, 11:47 AM
» Replies: 4
» Views: 257

 
  Installing Pytorch
Posted by: Godserena - Jul-01-2020, 07:28 AM - Forum: General Coding Help - Replies (4)

Hi
I have been trying to install pytorch using pycharm and cmd but both of them give me the same error - "Command errored out with exit status 1:"
I t..... More

Print this item

  python3 emulate tail -f on remote server... support required
Posted by: anna - Jul-01-2020, 06:42 AM - Forum: General Coding Help - No Replies

Hi All,

My source OS is Linux and destination OS Sunos. I am logging to remote server and tailing log file.

my issue

1) I am not able to read..... More

Print this item

  referencing another method in a class
Posted by: Skaperen - Jul-01-2020, 04:33 AM - Forum: General Coding Help - Replies (6)

how can i reference a method of a class from a different method in the same class?

Print this item

  My code is giving my an output of zero, no matter what value I input
Posted by: PiyushBanarjee - Jul-01-2020, 04:13 AM - Forum: General Coding Help - Replies (1)

Hi there, I will be very thankful to you if you can help me. I had written the following code to find the distance between two points on a graph throu..... More

Print this item

  List vs index:
Posted by: Frederico_Caldas - Jul-01-2020, 03:11 AM - Forum: Homework - Replies (5)

Hello all,

i'm trying to understand what should i change on my code so that i can use any words / sentence on the string:

[b]Given a string, display..... More

Print this item

  Trouble with Name not being defined - don't know why?
Posted by: simms7400 - Jul-01-2020, 12:57 AM - Forum: General Coding Help - Replies (1)

Hi Folks -

I have the following code:
[python]#!/usr/bin/python
# -*- coding: utf-8 -*-

import requests
import sys
import json
import datetime
impor..... More


Attached Files

Thumbnail(s)
   
Print this item

  regression line: bug
Posted by: jenya56 - Jul-01-2020, 12:02 AM - Forum: General Coding Help - Replies (2)

Hi All,
I have the two array bellow.
I am doing the simple regression and it gives me trouble. As soon as I add plotting line it gives me error of "..... More

Print this item

  Help with simplifying the tie function
Posted by: blacklight - Jun-30-2020, 10:06 PM - Forum: Homework - Replies (2)

Hi so for my AI class intro we had to programme a game. I made tic tac toe in python. If you look at the check_for_tie function, it looks a little bit..... More

Print this item

  Aligning values in arrays
Posted by: pav1983 - Jun-30-2020, 09:07 PM - Forum: General Coding Help - Replies (2)

Let's say I want to see if the first item in one string is the same first item as the second string in the array. Or, I want to check if the last item..... More

Print this item

  problem with ‘>’ (i.e. greater than) sign
Posted by: AOCL1234 - Jun-30-2020, 09:06 PM - Forum: Homework - Replies (2)

When I enter the following operation, there is a syntax error, apparently due to the 'greater than' sign:

[python]>>> V = set(text1)
>>> long_word..... More

Print this item

  problem with Matplotlib
Posted by: AOCL1234 - Jun-30-2020, 08:59 PM - Forum: Homework - Replies (4)

When I try to generate a plot (via Matplotlib), the output is as follows:

import matplotlib.pyplot as plt
ModuleNotFoundError: No module named..... More

Print this item

  Programming Question
Posted by: anon47820 - Jun-30-2020, 07:42 PM - Forum: Homework - Replies (1)

Hello, I was going to post this on the Homework forum but I felt as if this place would be better.
I have been asked to create this project for schoo..... More

Print this item

  Child class function of Log return "None"
Posted by: mbilalshafiq - Jun-30-2020, 06:18 PM - Forum: Homework - Replies (2)

# what is an issue in below coding , when i call child class function is return "None", Please guide us. #Thanks...

[python]import math

class Ca..... More

Print this item

  Web scrap multiple pages
Posted by: anilacem_302 - Jun-30-2020, 05:38 PM - Forum: Web Scraping & Web Development - Replies (3)

Hi All,

Hope you are doing good.

Am very new to python and am in a process of learning it.

Can someone please help me with the code for web s..... More

Print this item

  How to print out multiple drinks instead of just one based on the input?
Posted by: jayfre - Jun-30-2020, 05:35 PM - Forum: General Coding Help - Replies (4)

[python]coffee=4
tea=3
coke=2
print()
menu={'Coffee':'$4.00','Tea':'$3.00','Coca-cola':'$2.00',"Press 'd' ":"complete order"}
ccount=0
tcount=0..... More

Print this item

  Trying out a cafe menu. Programme work but stuck at printing part
Posted by: jayfre - Jun-30-2020, 04:46 PM - Forum: Code sharing - Replies (2)

`py
[python]coffee=4
tea=3
coke=2
print()
menu={'Coffee':'$4.00','Tea':'$3.00','Coca-cola':'$2.00',"Press 'd' ":"complete order"}
ccount=0
tc..... More

Print this item

  Simple automated SoapAPI Call with single variable replacement from csv
Posted by: asaxty - Jun-30-2020, 04:22 PM - Forum: General Coding Help - Replies (1)

Good Afternoon Gents/Ladies

I am not a natural coder but have been attempting to solve an automation issue with Python, the code I have hacked toge..... More

Print this item

  pop recursive to other variables
Posted by: nieman050313 - Jun-30-2020, 03:50 PM - Forum: General Coding Help - Replies (3)

Disclaimer: I am not a python guru, other languages quasi-guru.

This isn't making sense to me, either I'm not fully understanding the pop method or..... More

Print this item

  Pandas DataFrame Concatenate problems
Posted by: Kristenl2784 - Jun-30-2020, 03:42 PM - Forum: Data Science - Replies (1)

[python]import pandas as pd

df = pd.read_excel('C:\\work\\\\Report1.xlsx', sheet_name = 'data1', nrows=6)


df2 = pd.read_excel('C:\\work\\Repor..... More

Print this item

  iundefined is really defined
Posted by: Skaperen - Jun-30-2020, 03:07 PM - Forum: General Coding Help - Replies (5)

in the latest testing iteration of this code, at line 83 i am trying to return a reference to a function named close which is defined in line 63. yet..... More

Print this item

  How to retrieve value from td which under table/tbody/tr by python
Posted by: DDNEW - Jun-30-2020, 02:42 PM - Forum: Homework - Replies (1)

[output]
<table id="table-orders" cellpadding="0" cellspacing="0" border="0" class="mypage_table">
<colgroup>
<col width="13%">
..... More

Print this item

  Convert calendarweek into date
Posted by: and2handles - Jun-30-2020, 02:03 PM - Forum: General Coding Help - Replies (1)

Hello there,

I am trying to convert a calendar week into the first and last day of that week.

So for example I am searching for the start and en..... More

Print this item

  Need Outlook send email code using python
Posted by: srikanthpython - Jun-30-2020, 01:49 PM - Forum: General Coding Help - Replies (3)

Hi All,

Is there any working code for sending email in python using Outlook 365?
I tried different codes which I found in google but nothing is wo..... More

Print this item

  How to call self into other functions
Posted by: Drax_TheViper - Jun-30-2020, 12:58 PM - Forum: Homework - Replies (1)

This is the code I have, I'm not sure how i can execute add() by inputing the value of c through the call function.
Thanks!


class Drax:


..... More

Print this item

  How to emit a signal from another Class Method?
Posted by: SKDN - Jun-30-2020, 12:48 PM - Forum: General Coding Help - Replies (1)

Hi,

I got the emit signal working when it is in the Worker class - def run(self) method. Everything runs fine, the while loop is able to cycle and ..... More

Print this item

  How to save Python Requests data sent to server?
Posted by: RedLeonard - Jun-30-2020, 10:58 AM - Forum: General Coding Help - Replies (5)

Hi, Smile

Firstly, I am using Python 3.4, Flask and Python Anywhere server.

So, I am using Requests to send data to the server. This seems to ..... More

Print this item

  Xbox Controller
Posted by: arki - Jun-30-2020, 10:32 AM - Forum: General Coding Help - No Replies

Hey, how i can simulate xbox pad key press.

I mean this code:
keyboard.press('a')
keyboard.release('a')

But i want 'a' change to 'X' on xbox ..... More

Print this item

  question on list in Python
Posted by: spalisetty06 - Jun-30-2020, 08:58 AM - Forum: Homework - Replies (1)

Hello,
Can you please explain to me in simple lines, the difference between "a = list("apple)" and "a = ["apple"]"?
Actually I was trying to append ..... More

Print this item

  learning Python + SQL
Posted by: ABVSVL - Jun-30-2020, 08:40 AM - Forum: General Coding Help - Replies (6)

Started learning Python + SQL.
Experience 0 = ((
There is a TXT file local. How can I make requests in it? How to import TXT into SQL?

Print this item

  Excel tables and move rows
Posted by: jdos - Jun-30-2020, 08:21 AM - Forum: General Coding Help - Replies (6)

Hey guys again,

so lets say we have an excel workbook with 12 worksheets. Each worksheet has two tables in it as you can see in the image below
[img..... More

Print this item

  No module named 'Tkinter'
Posted by: All_ex_Under - Jun-30-2020, 07:57 AM - Forum: General Coding Help - Replies (13)

I'm a beginner, and from my first steps, I have a strange problem. No matter what I have done (google it, set a virtual environment, reinstalling the ..... More

Print this item

  code doesnt return anything
Posted by: ofrihemo - Jun-30-2020, 07:27 AM - Forum: General Coding Help - Replies (3)

[hey, im trying to get an odd number that the number that follows it will be divisible by 243 wrote the followring but i dont get any result, please h..... More

Print this item

  Python Interpreter
Posted by: ankitdixit - Jun-30-2020, 06:30 AM - Forum: General Coding Help - Replies (4)

Hello All, I am new in python programming and I am learning to run a python script in various platforms like Linux and window10. Can anyone I have sta..... More

Print this item

  General pointer to start
Posted by: data4speed - Jun-30-2020, 06:09 AM - Forum: General Coding Help - Replies (3)

Let's say I have a large rectangular picture & each pixel s either 1 or 0 (white/black). How to write a function which takes 2 parameters:
1. Data s..... More

Print this item

  how to generate html report for each folder using pytest
Posted by: ktrsarath - Jun-30-2020, 05:14 AM - Forum: General Coding Help - No Replies

Hi,

I am using pytest html for generating reports

Now my framework consists of 8 folders namely
1. Test 2. Test_1 3. Test_2.....8. Test_8

Ea..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How to put my game loop i... 1 hour ago temlotresid6 Santoro Game Developm...
  My goal to be hired worki... 2 hours ago GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... Yesterday, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... Yesterday, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  Help with running PvZ Fus... Yesterday, 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
  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
Most views
  The best Prog... 579185
  Tutorial Requ... 511905
  Web Scraping ... 442140
  Newbie with P... 386222
  New Users Int... 379124
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
ndx101 Today
Santoro Today
OtiliaBecker Today
NAGASOWMYAGUNDU Yesterday
shipa1autotransport Yesterday

User Panel Messages

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