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,422
» Latest member: alexfox
» Forum threads: 38,829
» Forum posts: 176,077

Full Statistics

Online Users
There are currently 29 online users.
» 0 Member(s) | 23 Guest(s)
Bing, Google, Facebook

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: bowlofred
2 hours ago
» Replies: 5
» Views: 111
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 05:21 AM
» Replies: 3
» Views: 746
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 02:57 AM
» Replies: 8
» Views: 511
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 454
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 803
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,763
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 732
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,033
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,622
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,380

 
  Pandas question
Posted by: takaa - Dec-02-2017, 12:26 PM - Forum: Data Science - Replies (3)

Hi

I have a dataframe that looks like this:

[output]      1     2     4  5  3
1  0.25     0  0.75  0  0
2     0  0.75     0  0  0
4  0.75    ..... More

Print this item

  How do I get coordinates for addresses from the csv list?
Posted by: BigD - Dec-02-2017, 11:41 AM - Forum: General Coding Help - Replies (6)

I have a list with addresses in the csv file. I would like to get coordinates for this whole list. Unfortunately, I'm getting an error:

[code]Trace..... More

Print this item

  Pig Latin Translator
Posted by: RickyWilson - Dec-02-2017, 08:16 AM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  what do YOU use to debug Python code you write? an IDE?
Posted by: Skaperen - Dec-02-2017, 04:29 AM - Forum: Bar - Replies (14)

what do YOU use to debug Python code you write?  an IDE?  what tools and methods?  do you ever do a detailed trace to see each statement being execute..... More

Print this item

  Please advice Linux library - tray icon, popup windows, ICQ/Skype style etc
Posted by: ramendik - Dec-01-2017, 11:54 PM - Forum: GUI - Replies (5)

Hello,

I am decent at text-only Python but never did any real work on GUI. And now I need to use Python (v3, probably) to create some lightweigt noti..... More

Print this item

  python data format to c data format
Posted by: tony1812 - Dec-01-2017, 10:58 PM - Forum: General Coding Help - Replies (1)

Hello, I am writing a python code to write data to the serial port for Anduino to receive.

Pi side
[python]
pos_i=50 #degree in the range of 0-18..... More

Print this item

  [error]Traceback
Posted by: kikoko_2 - Dec-01-2017, 10:25 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  List referencing.
Posted by: MuntyScruntfundle - Dec-01-2017, 09:34 PM - Forum: General Coding Help - No Replies

Hi there.

I've borrowed a little code from a site I've long since lost, sorry, I wanted to say thanks to the OP.

However, I'm using the followin..... More

Print this item

  create multiple .cfg files
Posted by: JckHmr - Dec-01-2017, 09:31 PM - Forum: General Coding Help - No Replies

#######I am trying to create multiple .cfg files. I need a new file every time the string apCode changes. Currently, it will spit out 1 file. Also, th..... More

Print this item

  f1(), f2() lambda functions addition
Posted by: Danielk121 - Dec-01-2017, 09:23 PM - Forum: Homework - Replies (5)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Advent of Code 2017
Posted by: stranac - Dec-01-2017, 09:20 PM - Forum: News and Discussions - Replies (5)

Just wanted to remind everyone that the third edition of Advent of Code is online.

If you enjoy interesting st..... More

Print this item

  Dice and Random Variables
Posted by: isuckatcoding - Dec-01-2017, 08:30 PM - Forum: Homework - Replies (3)

Hello! I am taking a combinatorics and probability course and the final project requires us to use python. I am a complete newb and have no idea where..... More

Print this item

  newbie in python. odd ,even & Zero counter. output not crrect
Posted by: khan001 - Dec-01-2017, 06:45 PM - Forum: Homework - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  How can i store a refreshing data
Posted by: Rius2 - Dec-01-2017, 06:41 PM - Forum: General Coding Help - Replies (2)

I am scraping the number of a counter from a website, my code will check the counter every 30 sec or so, what i want to do is check if the current val..... More

Print this item

  help with While method
Posted by: brawdhampshire - Dec-01-2017, 06:32 PM - Forum: General Coding Help - Replies (5)

EXAMPLE AS FOLLOWS:

Program: print each word in a quote...
start = 0
space_index = quote.find(" ")
while space_index != -1:
# code to print w..... More

Print this item

  Unable to create vtu file from python
Posted by: tady57 - Dec-01-2017, 04:47 PM - Forum: Data Science - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  xxxxxxx to date/time
Posted by: MuntyScruntfundle - Dec-01-2017, 04:26 PM - Forum: General Coding Help - Replies (7)

Hi folks.

I'm just getting used to Python, I've been looking through the strp/strf date functions, but I can't find exactly what I need.

I have ..... More

Print this item

  Passing soapAction false to suds
Posted by: PeppePegasus - Dec-01-2017, 04:22 PM - Forum: Web Scraping & Web Development - Replies (1)

I have a SOAP webservice wrote in Java and I call it with suds library:

[code]
def soapclient(request):

username='user'
password='pw..... More

Print this item

  write data each second into file with timestamp
Posted by: br0ken - Dec-01-2017, 03:06 PM - Forum: General Coding Help - Replies (8)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  problem with button events
Posted by: Lubik_ - Dec-01-2017, 02:35 PM - Forum: GUI - Replies (4)

Hi,
I have a part of code, that creates 10 buttons:

[python]
for i in range(10):
    b = tkinter.Button(root,text = i, command = lambda: click(i..... More

Print this item

  [split] Locate and open csv file
Posted by: agocomp - Dec-01-2017, 11:25 AM - Forum: Data Science - Replies (3)

Hello somebody, i am runung a code using anaconda the code is as follows:
[python]
import pandas as pd
import numpy as np
import random

from sk..... More

Print this item

  [Solved]Detecting key press in gui
Posted by: Barrowman - Dec-01-2017, 10:20 AM - Forum: GUI - Replies (5)

I am having trouble with this code:
[python]from tkinter import *

root = Tk()

def key(event):
    kp = repr(event.char)
    print ("pressed",..... More

Print this item

  Use correct language on the console
Posted by: sylas - Dec-01-2017, 06:43 AM - Forum: Bar - Replies (3)

Hi all! After a windows+x I have in the "Administrator Command Prompt": C:\Windows\system32> but he understands only "echo". It is a language even dif..... More

Print this item

  How to print number from user
Posted by: Rehan11 - Dec-01-2017, 05:59 AM - Forum: General Coding Help - Replies (5)

I am newbie here. I don't have knowledge of python program. after some reading I tried to write one program I just want to write simple program that w..... More

Print this item

  Help Newbie Please
Posted by: JJG - Dec-01-2017, 05:12 AM - Forum: General Coding Help - Replies (7)

Hi all, nice to be here, Sorry but I'm a total newbie and I'm stuck on this program. I need help with it. I would just love to have a 'clue' to make t..... More

Print this item

  Procedure Not Executing
Posted by: jge047 - Dec-01-2017, 04:51 AM - Forum: General Coding Help - Replies (1)

Question - "Write code that draws a pattern with the turtle with at least 3 different colors used. The code must have a for loop and must have a if st..... More

Print this item

  Variable Scope for Scripts
Posted by: QueenSvetlana - Dec-01-2017, 03:34 AM - Forum: General Coding Help - Replies (6)

I just came across the book ..... More

Print this item

  Watch SFTP Folder
Posted by: torz - Nov-30-2017, 11:23 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Requesting feedback on this learning script
Posted by: I_love_py - Nov-30-2017, 11:02 PM - Forum: Code sharing - Replies (2)

Hello,
I'm just beginning to teach myself python. This is one of my toy programs for learning and I would really appreciate feedback to gauge things ..... More

Print this item

  Possible to RDP onto a remote machine?
Posted by: jonesin1974 - Nov-30-2017, 10:47 PM - Forum: General Coding Help - Replies (5)

Hi,

Struggling to find any help with this online.

For a bit of background, I'm deploying server instances on AWS via a Python script.  Thing is,..... More

Print this item

  How do you compute tf-idf from a list without using the counter class
Posted by: syntaxkiller - Nov-30-2017, 10:30 PM - Forum: Homework - Replies (8)

I have a bit of code that works well in calculating term frequency using the counter class import.


[python]from collections import Counter

ter..... More

Print this item

  Error in code
Posted by: kikoko_2 - Nov-30-2017, 10:06 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Automate Config Changes [Security]
Posted by: surveymonkeycisco - Nov-30-2017, 09:43 PM - Forum: Networking - Replies (2)

I'm trying to write a script that will log into each switch via SSH, run a show run, create a txt file that says "All good, no changes", and save it o..... More

Print this item

  Need help importing stuff that python says it cant open
Posted by: Tiaan - Nov-30-2017, 09:18 PM - Forum: General Coding Help - Replies (2)

I type in the following: player = pygame.image.load("resources/image/dude.png") and it keeps on saying this : pygame.error: Couldn't open resources/im..... More

Print this item

  How do i run the code?
Posted by: kikoko_2 - Nov-30-2017, 09:05 PM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 2 hours ago Pedroski55 bowlofred General Codin...
  a function to watch files Yesterday, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Yesterday, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580739
  Tutorial Requ... 522292
  Web Scraping ... 442915
  New Users Int... 388147
  Newbie with P... 387140
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
alexfox Yesterday
zalexisshulzeo8879 Yesterday
SUMIATI Yesterday
starboy25 Yesterday
zabenjamitop8877 01-10

User Panel Messages

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