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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,543

Full Statistics

Online Users
There are currently 39 online users.
» 1 Member(s) | 34 Guest(s)
Bing, Google, AOL, AOL, Pedroski55

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
22 minutes ago
» Replies: 0
» Views: 14
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
4 hours ago
» Replies: 1
» Views: 450
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
9 hours ago
» Replies: 4
» Views: 1,987
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 455
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 909
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 941
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,210
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,823
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,863

 
  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

  'charmap' codec
Posted by: louis216 - Jun-30-2020, 03:37 AM - Forum: General Coding Help - Replies (4)

file_name = (r'C:\Users\user\Desktop\ehmatthes-pcc_2e-9e7977b\chapter_10\alice.txt')

with open(file_name) as f_obj:
contents = f_obj.read()
..... More

Print this item

  EOF while scanning triple-quoted string literal
Posted by: louis216 - Jun-30-2020, 03:31 AM - Forum: General Coding Help - Replies (1)

file_name = (r'C:\Users\user\Desktop\ehmatthes-pcc_2e-9e7977b\chapter_10\alice.txt')

with open(file_name) as f_obj:
contents = f_obj.read()
..... More

Print this item

  merging data frames
Posted by: sportcardinal - Jun-30-2020, 12:21 AM - Forum: General Coding Help - No Replies

I am relatively new to python.
If I have a dataframe where the first column is an index with DateTime values, and the second column is price, and the..... More

Print this item

  install taichi python package
Posted by: CatherineKan - Jun-29-2020, 08:48 PM - Forum: News and Discussions - Replies (4)

Hello everyone,

I am recently trying to install a python package called taichi, this is where I found it: https://github.com/taichi-dev/taichi.
..... More

Print this item

  Question re: running code in Editor (i.e. Atom) vs Python interpreter
Posted by: rok - Jun-29-2020, 07:50 PM - Forum: General Coding Help - Replies (3)

Python3

New coder

Prompt:

Write a program which prompts the user for a Celsius temperature, convert the temperature to Fahrenheit, and print ..... More

Print this item

  Partial Word Search
Posted by: Kristenl2784 - Jun-29-2020, 07:46 PM - Forum: General Coding Help - Replies (2)

Hello,

I have an excel file that doesn't have header names, and the data doesn't start till row 8. I can't add data to rows 1 -7.

I want to d..... More

Print this item

  how to get around recursive method call
Posted by: Skaperen - Jun-29-2020, 07:35 PM - Forum: General Coding Help - Replies (10)

i did this:

...
def __getattr__(self,*args):
    print(f'attribute {args[0]!r}')
    return getattr(self,*args)
...
and got..... More

Print this item

  Convert combobox user input in to date with tkinter
Posted by: Ame - Jun-29-2020, 07:25 PM - Forum: GUI - Replies (8)

Hi!
I'm having a little bit of difficulty with a couple of things with my script:

[python]
from datetime import datetime
from tkinter.ttk import..... More

Print this item

  Importing data from a text file into an SQLite database with Python
Posted by: macieju1974 - Jun-29-2020, 06:24 PM - Forum: General Coding Help - Replies (7)

Hi,

I have the following text file:
... here's a fragment

[output]2020-05-22##18:00:00###RANGE ###RANGE ###RANGE ##201828##190182##96136##2 ##..... More

Print this item

  how to make a keyword arg w/o a default value?
Posted by: Skaperen - Jun-29-2020, 06:13 PM - Forum: General Coding Help - Replies (10)

how can i define a function to have a keyword argument without a default value? think of the open() function with name= for the file name.

Print this item

  Looking for people for a Python/Data Science study group (beginner level)
Posted by: fredj32 - Jun-29-2020, 05:25 PM - Forum: News and Discussions - Replies (3)

"Hey there!
I hope this is fine to post here.

Three weeks ago I've started a Python study group (with 5 people) and it works super well. We are d..... More

Print this item

  I am trying to send an email with python
Posted by: nick235 - Jun-29-2020, 02:04 PM - Forum: General Coding Help - Replies (9)

so i was following a tutorial on YouTube and this is what i ended up with
short and simple code to send a simple email.
[python]
import smtplib

..... More

Print this item

  updating tkinter chart from within function
Posted by: mikisDW - Jun-29-2020, 01:26 PM - Forum: GUI - Replies (1)

Hello,

I got a tkinter application with a "chart page".
My user has to click a button to point me to the location of an SPSS file, after which a c..... More

Print this item

  issue in email slicer
Posted by: spalisetty06 - Jun-29-2020, 12:52 PM - Forum: General Coding Help - Replies (2)

Hello,
I am beginner and I am practicing on how to create a program for email slicer. I have created until the domain name is extracted and for the s..... More

Print this item

  Question about classes
Posted by: radoo - Jun-29-2020, 10:41 AM - Forum: News and Discussions - Replies (2)

Hi,

I am learning Python as my first programming language and I love it - I follow a course on Coursera and two others on Edx, plus tons of YT chan..... More

Print this item

  Import a file and show file name on qcombobox
Posted by: GMCobraz - Jun-29-2020, 10:01 AM - Forum: GUI - Replies (1)

Dear all,

May I get some hints on how to show the filename in qcombobox after import?

The problem that I faced now is, it is imported successful..... More

Print this item

  Port my python program to Raspberry pi seamlessly
Posted by: Hassibayub - Jun-29-2020, 09:14 AM - Forum: General Coding Help - Replies (1)

I'm working on the IRIS recognition system and it is almost complete now.
Now the pain is to port this program from my laptop (working in conda ..... More

Print this item

  How to extract MSS (maximum size segment) from a pcap file ?
Posted by: salwa17 - Jun-29-2020, 09:06 AM - Forum: General Coding Help - No Replies

I want to extract the MSS (Maximum Size Segment)from a pcap file but I got only 0 while I have Not NULL values in this field:

[python]
def is_tcp_..... More

Print this item

  Need logic on how to scrap 100K URLs
Posted by: goodmind - Jun-29-2020, 08:21 AM - Forum: Web Scraping & Web Development - Replies (2)

Hi,
I request you to explain to me the logic of how to proceed with the requirement.

My requirement is-

I have a website say www.example.com an..... More

Print this item

  Why the result of "extended iterable unpacking" with set() is unpredictable?
Posted by: zohanlin - Jun-29-2020, 08:08 AM - Forum: General Coding Help - Replies (2)

Hello everyone,
I want to test "extended iterable unpacking" with set, but the result is unpredictable.

[python]d1, *d2, d3 = {1, 2, 3, "a", "acc"..... More

Print this item

  Loading multiple JSON files to create a csv
Posted by: 0LI5A3A - Jun-28-2020, 10:33 PM - Forum: Data Science - No Replies

Hello,

I need some advice about what I need to do to be able to load multiple files in JSON format to create one big file in CSV.

This is the ty..... More

Print this item

  Need advice on pushing data to a server API
Posted by: msoultan - Jun-28-2020, 06:33 PM - Forum: General Coding Help - No Replies

Hi,

I'm working on a project where I need to upload data from about 600 clients to a centralized server API, and I'm trying to figure out the best ..... More

Print this item

  Jinja2 HTML <a> tags not rendering properly
Posted by: ChaitanyaPy - Jun-28-2020, 05:40 PM - Forum: Web Scraping & Web Development - Replies (4)

Hello guys.
I am using Flask for the web interface
I am having trouble rendering the template properly.
This is my code:
[python]
@app.route('/an..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 22 minutes ago tester_V tester_V General Codin...
  My goal to be hired worki... 4 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 9 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577188
  Tutorial Requ... 500155
  Web Scraping ... 440893
  Newbie with P... 384905
  New Users Int... 369160
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+ 12089
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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