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,974
» Latest member: Williamcaurb
» Forum threads: 38,732
» Forum posts: 175,557

Full Statistics

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

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
4 hours ago
» Replies: 6
» Views: 718
Integer Factorization Too...
Forum: Code sharing
Last Post: fosuwxb
5 hours ago
» Replies: 0
» Views: 44
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
9 hours ago
» Replies: 8
» Views: 446
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Yesterday, 06:39 PM
» Replies: 7
» Views: 2,826
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 691
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,225
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,796
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,195
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,156
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,456

 
  For loops in python
Posted by: Boinbo - Apr-17-2020, 11:27 PM - Forum: General Coding Help - Replies (3)

Hey guys! So, I am a new person to these forums, and I am learning python right now. Currently, I'm learning about for loops, but I'm not super sure o..... More

Print this item

  fft calculation from csv file
Posted by: mohammedtaha - Apr-17-2020, 10:59 PM - Forum: Data Science - Replies (4)

hello i want to calculate fft of a sinusoid that i get from a csv file, i tried the fft function, but the specter that i found is not the one that i e..... More

Print this item

  create function let_to_num()
Posted by: al_Czervik - Apr-17-2020, 10:19 PM - Forum: General Coding Help - Replies (2)

In my assignment I have to convert a number to letter using a list. I've been able to do this except I'm stuck on the bonus question. When the input i..... More

Print this item

  urlopen error
Posted by: newmoon - Apr-17-2020, 09:29 PM - Forum: Networking - Replies (2)

Hi, Python Web Scrapers,

I wrote a simple code to use urlopen function, but it didn't work.
I don't know what's wrong with my code.

Python 3.8..... More

Print this item

  min() function in iterable index
Posted by: OokaydO - Apr-17-2020, 09:24 PM - Forum: General Coding Help - Replies (4)

Hi,
For a choice of 4 letters (a, b, c, d) for example, a sequence of letters is displayed, arranged as follows:
[output]aaaaaaa
abbbbba
abcccba
..... More

Print this item

  Building SSH tunnel?
Posted by: searching1 - Apr-17-2020, 08:39 PM - Forum: Networking - No Replies

Hi Everyone,

Would like to know if anyone here has a sample of code related to ssh tunnel using pexpect and default libraries only?

Curr..... More

Print this item

  Tkinter - I need to read file excel from GUI app to script file
Posted by: johnjh - Apr-17-2020, 08:04 PM - Forum: GUI - No Replies

I have an app by Tkinter Controll.py this is my code :


[python]
import os
from tkinter import *
from tkinter import..... More

Print this item

  python ast if-elif confusion
Posted by: holyghost - Apr-17-2020, 07:26 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm working with the python ast and have a question regarding difference between how different else conditions are handled. I'm finding that a..... More

Print this item

  installation problem
Posted by: mkgrtn - Apr-17-2020, 07:15 PM - Forum: General Coding Help - Replies (1)

Hello
I was wondering if I can get some help with the following:
I have been using Python 36-32 with Sublime Text 3 for about a year with no..... More

Print this item

  Tkinter - I have problem after import varaible or function from aGUI to script
Posted by: johnjh - Apr-17-2020, 05:20 PM - Forum: GUI - Replies (2)

I have GUI Tkinter code as aGUI.py :

[python]import os
from tkinter import *
from tkinter import ttk

root = Tk()..... More

Print this item

  Pandas is not getting installed.
Posted by: yellareddy - Apr-17-2020, 05:17 PM - Forum: Data Science - Replies (3)

I'm getting below error while installing pandas. please help to fix this issue.

ERROR: Command errored out with exit status 1:
command: 'c:\pro..... More

Print this item

  Pandas - Dynamic column aggregation based on another column
Posted by: theroadbacktonature - Apr-17-2020, 04:54 PM - Forum: Data Science - No Replies

An algorithm runs daily and generates a file. The file can have dynamic columns in each run.

First run : country,date,exchange_rate,sale_amt,profit..... More

Print this item

  Get values from a split column
Posted by: Pythonito - Apr-17-2020, 04:44 PM - Forum: General Coding Help - Replies (3)

I split a dataframe column..

df['new_col'] = df['col'].str.split('aa', expand=False)

Now how do I get the individual list values in 'new_col'?

Print this item

  Polyfit Error
Posted by: Tobes28 - Apr-17-2020, 03:13 PM - Forum: Data Science - Replies (3)

Hi everyone,

I am writing a bit of code whose purpose, essentially, is to take a data set (density varying with 10 different temperatures) from a C..... More

Print this item

  What is the meaning of mutable data type?
Posted by: qliu - Apr-17-2020, 02:51 PM - Forum: General Coding Help - Replies (3)

Hello everyone, I have one simple question which I can not figure out by myself. Would you please share your opinion and help me walking through this?..... More

Print this item

  Internationalization of applications ?
Posted by: JohnnyCoffee - Apr-17-2020, 02:30 PM - Forum: General Coding Help - Replies (1)

I would like to develop a web application that adapts to the language of the country in which it is used, can someone give me a how-to, do I need to d..... More

Print this item

  Regex excluding
Posted by: ClassicalSoul - Apr-17-2020, 02:13 PM - Forum: General Coding Help - Replies (2)

How could I use regex to match everything not in between hyphens? E.g. re.search(r"<>", "- i don't want this - I do want this")

Edit: This particu..... More

Print this item

  import scalalib package doesn't work
Posted by: manu_brighter - Apr-17-2020, 12:03 PM - Forum: General Coding Help - Replies (2)

Hi Guys

I would like to use the function sharedvars. I've seen many examples of people using it like that: https://python.hotexamples.com/examples/..... More

Print this item

  JSON to CSV
Posted by: baluchen - Apr-17-2020, 11:06 AM - Forum: General Coding Help - Replies (3)

Dear all,

I just started learning Python and got the requirement to format json data into csv. I tried with Pandas and it seems it doesn't work wit..... More

Print this item

  Tic Tac Toe
Posted by: pyzyx3qwerty - Apr-17-2020, 10:44 AM - Forum: Code sharing - Replies (1)

So, I was working on this for a few days, and i was finally able to make a simple tic tac toe game. It's pretty fun and I personally enjoyed making it..... More

Print this item

  Always lowercase entry in tkinter
Posted by: ReturnName - Apr-17-2020, 10:37 AM - Forum: GUI - Replies (8)

Hi, I'd like to have my entry always in lowercase and with only letters allowed. This is the code I've come up with:

[python]def lowercase_letter_e..... More

Print this item

  Copying from windows Clipboard
Posted by: VincentAdey - Apr-17-2020, 08:50 AM - Forum: Data Science - Replies (3)

hello everybody,
I am new to python and currently working on data anylisis wiith pandas. This morning I copied a companies information from the web a..... More

Print this item

  Senior Python Developer, 6h/day, remote
Posted by: agatagasiorowska - Apr-17-2020, 08:09 AM - Forum: Jobs - Replies (1)

Senior Python Developer, 6h/day, remote
Salary in PLN (B2B): 155-195 PLN / h (so 18600-23400 PLN assuming 120h/Month (20 days * 6h workday)
or
Salary..... More

Print this item

  How do you take terminal inputs w/o halting running code?
Posted by: Bhoot - Apr-17-2020, 07:04 AM - Forum: General Coding Help - Replies (3)

Hi,

I have an application which runs indefinitely (a while True loop until a keyboard interrupt stops the program). Now I want to be able to give s..... More

Print this item

  Wireless sensor network TDMA
Posted by: cyborg_8274 - Apr-17-2020, 06:22 AM - Forum: General Coding Help - Replies (1)

Any idea on how I could simulate TDMA (time division multiple access) on a list of nodes that send messages to a single node at given time duration.
..... More

Print this item

  [PyTorch] no CUDA-capable device is detected
Posted by: constantin01 - Apr-17-2020, 05:50 AM - Forum: Data Science - No Replies

I use PyTorch for machine learning. I am doing all this in Google Colab.

[python]
(best_val_loss,
best_sentence_level_model) = train_eval_loop(s..... More

Print this item

  pygame why init() & not __init__()?
Posted by: ryfoa6 - Apr-17-2020, 04:24 AM - Forum: Game Development - Replies (1)

Why does Pygame use init() to initialize all imported modules instead of __init__()?
What's the difference between init() and __init__()?

Print this item

  output while using return instead of print
Posted by: muza - Apr-17-2020, 03:09 AM - Forum: General Coding Help - Replies (2)

when i create a function with return value, it outputs with single quotes example:
[python]def show(string = "my output"):
return string
show()..... More

Print this item

  pygame error in my clicker game
Posted by: CrazyMakes - Apr-17-2020, 01:58 AM - Forum: Game Development - Replies (2)

[python]
# i am trying to follow pep 8 here

# importing stuff

import pygame
import time

# initializing pygame

pygame.init()

# definin..... More

Print this item

  Parsing Oasis Open Document format.
Posted by: Achilles - Apr-17-2020, 01:40 AM - Forum: Web Scraping & Web Development - Replies (2)

I want to write Parser of Oasis document v1.2 for only tags and their explanation. I am parsing tags correctly but I can't parse links belongs to each..... More

Print this item

  Updating a variable within a class
Posted by: MC2020 - Apr-17-2020, 01:20 AM - Forum: GUI - Replies (2)

Hello, I'm really struggling with this concept.

When I initialize my code, on the 'DisplayDict' Page, mydict is set to 'dict1'. When I go to the 'A..... More

Print this item

  How do I install the dom.minidom module?
Posted by: Johno - Apr-16-2020, 10:28 PM - Forum: General Coding Help - Replies (3)

I am using SUSE Linux. I ran this:
sudo pip install py-xml

I am trying to debug a Python program. I ru..... More

Print this item

  How to iterate dict_values data type
Posted by: nisusavi - Apr-16-2020, 10:21 PM - Forum: General Coding Help - Replies (2)

Hi All,
Noob to python here. I am trying to iterate and capture/store the respective ask values for 740.0 and 750.0 in the the example below. So far ..... More

Print this item

  Help needed to troubleshoot.
Posted by: mefev12229 - Apr-16-2020, 09:26 PM - Forum: General Coding Help - Replies (3)

Hello I not very good with python i still learn. I use Python 3 on trinket (website) because our school we only have chromebooks. I have had this issu..... More

Print this item

  I code a program to solve puzzle but i can't make it more dynamic.
Posted by: Shahmadhur13 - Apr-16-2020, 08:52 PM - Forum: General Coding Help - Replies (5)

[python]
# find the first number that is divided by 1 to 9 with 0 remainder
for i in range (10000):
x = i % 3
y = i % 4
z = i % 7
a = i % 5..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 4 hours ago llarkin6 noisefloor General Codin...
  Integer Factorization Too... 5 hours ago fosuwxb fosuwxb Code sharing
  Comparing 2 100GB Drives/... 9 hours ago tester_V snippsat General Codin...
  Select Python comment (#)... Yesterday, 18:39 SpongeB0B tester_V General Codin...
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [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...
Most views
  The best Prog... 577306
  Tutorial Requ... 500539
  Web Scraping ... 440978
  Newbie with P... 385011
  New Users Int... 369467
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+ 12090
buran 8176
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Williamcaurb Today
sophielane Today
Oscar0057 Today
Cromulent Today
PhamMaria Today

User Panel Messages

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