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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,537

Full Statistics

Online Users
There are currently 49 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google, Internet Archive, AOL, Applebot, Mojeek, AOL

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 2
» Views: 94
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
5 hours ago
» Replies: 4
» Views: 546
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 1
» Views: 661
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 6
» Views: 4,883
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Today, 09:50 AM
» Replies: 1
» Views: 1,552
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,601
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 250
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 450
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,866
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,679

 
  If statement help
Posted by: rachelscott - Aug-14-2020, 02:10 PM - Forum: General Coding Help - Replies (2)

Hello! I am very new to Python. I am trying to create a program that takes user input for the number of exercises and types of exercises and returns a..... More

Print this item

  How to create and define in one line a 2D list of class objects in Python
Posted by: T2ioTD - Aug-14-2020, 12:25 PM - Forum: General Coding Help - Replies (1)

I am attempting to create a hex based strategy game, and I am using Pygame for the first time. Also, while I have many years of experience in coding, ..... More

Print this item

  Help with a handout issue
Posted by: phlzin - Aug-14-2020, 12:23 PM - Forum: General Coding Help - No Replies

Can anyone help me with a study question? I'm learning python and in the handout in question there is an exercise that I can't even begin to do.


..... More

Print this item

  programmation of sr1
Posted by: trazom - Aug-14-2020, 10:41 AM - Forum: General Coding Help - Replies (2)

hi,

i'm learning Python for a few days and i don't understand this command , specially the usage of "/"

here is my code

p = sr1(IP(dst="www...... More

Print this item

  Assign 1 player to the computer
Posted by: ironic100 - Aug-14-2020, 10:22 AM - Forum: General Coding Help - Replies (2)

Hi all,

Nice to be here :) I'm brand new to python so please be nice!

I have this 'last one loses' game to do. I cannot, for the life of ..... More

Print this item

  dilemma with list comprehension
Posted by: spalisetty06 - Aug-14-2020, 09:07 AM - Forum: General Coding Help - Replies (1)

the output of list comprehension is always list That was my perception.
Now I encountered something like below and I am confused. It is not yielding ..... More

Print this item

  How to calculate tax with a variable input and if else
Posted by: afefDXCTN - Aug-14-2020, 06:27 AM - Forum: Homework - Replies (12)

The following is a lab taken from the course on python, which is what I am having difficulty with:

[b]Estimated time 10-15 minutes Level of ..... More

Print this item

  Can argparse support undocumented options?
Posted by: pjfarley3 - Aug-14-2020, 04:03 AM - Forum: General Coding Help - Replies (3)

Suppose I want to have options that I do not normally want to tell the user about in the help message, but which are parsed and processed by argparse ..... More

Print this item

  Assignment to make a multiple choice game
Posted by: blacklight - Aug-14-2020, 02:17 AM - Forum: Homework - Replies (1)

Hi, so for school I had to make a multiple choice game. I was wondering if this program that ive created would be get a good mark. It is graded on the..... More

Print this item

  matplotlib for better waveform display
Posted by: jefflawr - Aug-14-2020, 01:39 AM - Forum: General Coding Help - No Replies

Hi,
I'm trying to use matplotlib for audio waveforms to duplicate some of the features of Audacity. The two things I like are:
1. a moving line over..... More

Print this item

  How can i create a server for already existing client using Python?
Posted by: Chapanson - Aug-13-2020, 09:43 PM - Forum: Networking - Replies (21)

I am really researching for 2 days now but i can't find any clear thing about that . Can Someone explain which modules i have to learn and which progr..... More

Print this item

  Can I include text using artist?
Posted by: tetrisbot - Aug-13-2020, 08:13 PM - Forum: General Coding Help - No Replies

I am trying to update a plot as fast as possible. The quickest way I found so far is in..... More

Print this item

  How to split and combine embedded lines using less code
Posted by: pjfarley3 - Aug-13-2020, 07:37 PM - Forum: General Coding Help - Replies (6)

Below is a test program to illustrate what I want to achieve. It is done using several for loops with intermediate variables.

Is there a way to co..... More

Print this item

  Easy HTML Parser: Validating trs by attributes several tags deep?
Posted by: runswithascript - Aug-13-2020, 06:16 PM - Forum: Web Scraping & Web Development - Replies (7)

I have used Easy HTML Parser in a JSON to select the table I require the rows from with:

[python]"row": "find_once('table', ('class', 'forum_hdr_bo..... More

Print this item

  extract zip from .msg files and saving according to date stamp of email
Posted by: natjo - Aug-13-2020, 06:11 PM - Forum: General Coding Help - Replies (3)

Hello,

I've been running into some issues with trying to run some code via Visual Studio. I'm new to python and visual studio, and I found an extr..... More

Print this item

  Most Compatible Text Editor to Handle Large Files?
Posted by: Robotguy - Aug-13-2020, 05:49 PM - Forum: Data Science - Replies (2)

Hey Everyone,

I often deal with large text files; at minimum a few GBs, with >60 million rows (cols = 4).

I was wondering what is the most suita..... More

Print this item

  Error while checking for key in Dictionary
Posted by: onenessboy - Aug-13-2020, 05:20 PM - Forum: General Coding Help - Replies (5)

Hi,

I am trying below code to get values from dict
My sample dictionary look like this


[python]{'value': [{'id': '/subscriptions/xxxxxxxxx/..... More

Print this item

  while loop question
Posted by: spalisetty06 - Aug-13-2020, 03:37 PM - Forum: General Coding Help - Replies (2)

How is that it is looping even without decrement operator? possibly a stupid question, but it is a question for me.
[python]
l = [10, 20, 30, 40]
w..... More

Print this item

  concatenate a request to the endpoint of OSM-API?!
Posted by: apollo - Aug-13-2020, 02:45 PM - Forum: Web Scraping & Web Development - No Replies

dear Community,


can i run this in a multiple form - such as a concatenated request - that gives back all the results for south america!?

i e..... More

Print this item

  convert array of numbers to byte array
Posted by: adetheheat - Aug-13-2020, 01:38 PM - Forum: General Coding Help - Replies (3)

I have an array of numbers - some are 8 bits, some are 16 bit little endian. eg
1,120,340, 54238, 65132,
How do I convert them to one byte array ? ..... More

Print this item

  Multimode imports fine as script but not after compiling into exe
Posted by: chesschaser - Aug-13-2020, 01:28 PM - Forum: General Coding Help - No Replies

Hi guys!

I have a program I have been working on for a few months now and it runs fine in Pycharm as a script. However, after I use auto_py_to_exe ..... More

Print this item

  remove elements method not working
Posted by: spalisetty06 - Aug-13-2020, 12:40 PM - Forum: General Coding Help - Replies (4)

Hello,
I am trying to use remove() to remove elements from the list but it is not happening. Kindly help.

[python]
l = [10, 10, 10, 10, 20, 20, 3..... More

Print this item

  Wi-Fi Direct Python
Posted by: teodorisss - Aug-13-2020, 12:03 PM - Forum: Networking - Replies (2)

Hello to everyone.

Is there a way/module in python for the communication among two devices through Wi-Fi.

I want the case at which there is not ..... More

Print this item

  Convert xml to dict and group data and sum totals
Posted by: kashcode - Aug-13-2020, 10:44 AM - Forum: General Coding Help - Replies (5)

Hello,

I have xml file with data.
What I need to do. Group data by siteid and..... More

Print this item

  csv troubles
Posted by: DPaul - Aug-13-2020, 10:15 AM - Forum: General Coding Help - Replies (4)

Hi,

I downloaded a csv database with names and dates etc..
I can read it partially, line per line, split on ',' and get the values i want;
Except th..... More

Print this item

  Maximas in grayscale image
Posted by: yliats - Aug-13-2020, 09:01 AM - Forum: General Coding Help - Replies (2)

I have a grayscale image (2d matrix), and I want to extract N (defined integer) maximas (marked in red).

I don't want them to be clustered all toge..... More

Print this item

  How to create an app manager
Posted by: _ShevaKadu - Aug-13-2020, 07:49 AM - Forum: General Coding Help - Replies (8)

Hello! Please help me!
I'm trying to create an application manager with Tkinter and I want the desktop['application#'] variables to open..... More

Print this item

  Which is best python package to create interactive page?
Posted by: Py_veeran - Aug-13-2020, 06:57 AM - Forum: News and Discussions - Replies (2)

I have experience in python but not in web based projects. I am really confused to select which one . My requirements are,

I have created few utili..... More

Print this item

  Runs perfect in Python but fails to print last statement when converted to .exe. Help
Posted by: sunil422 - Aug-13-2020, 06:08 AM - Forum: General Coding Help - Replies (3)

This code runs perfect in Python but fails to print last statement(printing calculation) when converted to .exe using pyinstaller. Please Help!

# D..... More

Print this item

  Get database used data space from pyodbc
Posted by: susja - Aug-13-2020, 04:24 AM - Forum: General Coding Help - Replies (1)

I need to get 'used data space' of database. I decided to use sp_spaceused. I am using python 3 and pyodbc My code:
[python]
query = '''
CR..... More

Print this item

  trying to input a variable using random.choice
Posted by: python63 - Aug-13-2020, 12:14 AM - Forum: General Coding Help - Replies (9)

I've been messing with mad libs, doing them different ways, shortening code, etc, and i switched from getting user input to letting the program pick t..... More

Print this item

  Not able to use boto library with compressed content in python3
Posted by: avinash2020 - Aug-12-2020, 10:52 PM - Forum: General Coding Help - Replies (1)

I am trying to use the boto library with python3 to upload the data to GCS buckets. My data is latin-1 encoded, but it fails with following exception ..... More

Print this item

  How to stay motivated?
Posted by: Jan_97 - Aug-12-2020, 10:19 PM - Forum: Bar - Replies (7)

So basically the question is in the title. How to stay motivated? Not asking only in terms of programming, asking this for basically anything in life...... More

Print this item

  Need help merging/embedding
Posted by: duckredbeard - Aug-12-2020, 09:39 PM - Forum: General Coding Help - Replies (10)

I cleaned up two scripts that I am trying to merge. You can see that there are common elements to this. The first script I got working was the "keg1.p..... More

Print this item

  How to print just sizes content with splits?
Posted by: fergar470 - Aug-12-2020, 07:30 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi! I´m trying to get just 36.5 | 37..5 ..... sizes and not h2 content. However I´m getting it because I´m doing something wrong. I tested a lot of wa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 5 hours ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 5 hours ago RonR noisefloor GUI
  Is the interpreter that c... 9 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 9 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Today, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE 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...
Most views
  The best Prog... 577016
  Tutorial Requ... 499775
  Web Scraping ... 440766
  Newbie with P... 384754
  New Users Int... 368846
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 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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