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,950
» Latest member: MatthewRodia
» Forum threads: 38,726
» Forum posts: 175,524

Full Statistics

Online Users
There are currently 69 online users.
» 0 Member(s) | 60 Guest(s)
Bing, AOL, Google, Applebot, Facebook Dev

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 5
» Views: 9,231
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 124
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 532
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 157
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 689
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,928
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,201
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,566
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,139
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,872

 
  Converting str to int or float
Posted by: juliabrushett - Jun-16-2018, 06:53 PM - Forum: Homework - Replies (6)

Hello,
My assignment is to take in an expression(such as 4 + 5), then calculate. I am to use the .split() function to separate parts of the statemen..... More

Print this item

  Trouble with assigning a string value in conditional statement
Posted by: juliabrushett - Jun-16-2018, 06:18 PM - Forum: Homework - Replies (1)

Hello,

I am having trouble assigning a string value (namely, "Odd" or "Even") to val in my conditional operator. I am to have a user input a numbe..... More

Print this item

  aqurium control
Posted by: trippyt - Jun-16-2018, 04:46 PM - Forum: General Coding Help - Replies (1)

ive made this script with alot of help, i wondered if there was a way to make the time settings adjustable via the lcd im using, just like you would ..... More

Print this item

  Feedback on my first Python module
Posted by: CodeRaker - Jun-16-2018, 12:07 PM - Forum: Code sharing - Replies (11)

Hi there Pyople Shy ,

I'm developing my first python module intended to assist with writing (for now) Ubuntu server administration scripts.
I'..... More

Print this item

  system programming in pythonic code
Posted by: Skaperen - Jun-16-2018, 06:30 AM - Forum: News and Discussions - Replies (3)

i want to (and have) code many system level things in python. i've done lots of that in C already. but i think python is a better choice because, am..... More

Print this item

  Homework help
Posted by: RPC - Jun-16-2018, 06:00 AM - Forum: Homework - Replies (5)

Hello everyone Heart

I have just started a new course in python, and i do not normally ask for help until i find myself against the wall **wal..... More

Print this item

  How to join two dataframe
Posted by: SriRajesh - Jun-16-2018, 05:44 AM - Forum: Data Science - Replies (1)

Hi,

I have below two dataframes, and want to join.

[python]import pandas as pd
import numpy as np

[python]df=pd.DataFrame({'c1':[1,2,3],'c2'..... More

Print this item

  Starter programing using Pyton for Madagascar software.
Posted by: Rosendo - Jun-16-2018, 05:25 AM - Forum: General Coding Help - Replies (1)

lines = {'S':251,'R':782}

color = {'S':4, 'R':2}

for case in 'SR':

# X-Y geometry

Flow(case+'.asc','Line_001.%cPS' % case, '''awk 'NR > 20..... More

Print this item

  [PAID, DJANGO] Push Site To Live
Posted by: atron21 - Jun-16-2018, 05:05 AM - Forum: Jobs - Replies (2)

Hey, I just purchased a domain name using GoDaddy and I need someone to help me push my Django site to production/go live so it can be accessed using ..... More

Print this item

  Developing
Posted by: Demini - Jun-16-2018, 02:25 AM - Forum: News and Discussions - Replies (2)

Is there someone to talk to about developing a application?

Print this item

  program wanted: diff that ignores numbers
Posted by: Skaperen - Jun-16-2018, 02:05 AM - Forum: Bar - No Replies

i often need to see diffs of "log files" which are full of differences that are just differences of numbers that i usually don't care about. i have d..... More

Print this item

  ValueError in function
Posted by: Tipillo - Jun-16-2018, 01:11 AM - Forum: Homework - Replies (2)

Hi, I would like to know how I can improve my function so that I do not trigger the ValueError exception when I do the following(its an implementation..... More

Print this item

  why am I getting "local variable 'x' referenced before assignment"?
Posted by: wlsa - Jun-16-2018, 12:25 AM - Forum: Homework - Replies (6)

Given an array of ints (as a list), print the sum of all the elements.
My code:
[python]
L=[1, 1, 1, 2]
x=0
def sum3(nums):
for i in nums:
..... More

Print this item

  Using MIDI from Python on Windows 7
Posted by: PythonAndMIDIUser - Jun-15-2018, 09:48 PM - Forum: General Coding Help - Replies (3)

Greetings:

I'm looking for a module (a library) that would allow me to use MIDI from Python under Windows 7.
(Specifically I'm trying to access my..... More

Print this item

  beginner programming LED light
Posted by: rbowler - Jun-15-2018, 07:55 PM - Forum: General Coding Help - Replies (2)

Hello.

I am an older student returning to school and a research trainee at a science lab. I am conducting an experiment where I have to program a s..... More

Print this item

  "Help me" questions
Posted by: volcano63 - Jun-15-2018, 07:11 PM - Forum: Board - Replies (11)

I have a question to the forum moderation team. I am just puzzled by all those question with generic titles. Don't you have some mechanism to enforce ..... More

Print this item

  Weather info using user api and city id
Posted by: Vimala - Jun-15-2018, 06:59 PM - Forum: Data Science - Replies (9)

hello I hav ewritten below code to fetch weather info of given location but my program doesn't enter to main part.

[python]from pandas import json..... More

Print this item

  Craps game
Posted by: katiannc - Jun-15-2018, 06:23 PM - Forum: Homework - Replies (1)

Hello I have tried to finish this python skeleton my professor gave and am having trouble doing so here is what I have so far
[python]
from random ..... More

Print this item

  Feedback on a test adventure?
Posted by: Panda - Jun-15-2018, 04:26 PM - Forum: Code sharing - Replies (2)

This is a text-adventure style game based on The Stanley Parable. It's not done yet, but i was hoping to get some feedback before i finish.
[python]# ..... More

Print this item

  How to use .get() for Entry?
Posted by: Nwb - Jun-15-2018, 04:13 PM - Forum: GUI - Replies (4)

I tried a lot of stuff but I kept failing so I gave up.

Here is what I am having a problem with:
[python]
def SubmitCurrency(event):
CurrencyTak..... More

Print this item

  HOw define the colors for two columns?
Posted by: Jack_Sparrow - Jun-15-2018, 02:17 PM - Forum: Data Science - Replies (3)

Hi there,
I am trying to define some colors for two dimensions.


this is my code, where I defined the colors.
[python]
#what is the vote..... More

Print this item

  How to loop through Rows
Posted by: SriRajesh - Jun-15-2018, 01:20 PM - Forum: General Coding Help - No Replies

[python]Hi,

[python]I have belwo DataFrame:

Input1:
first_name pre_score mid_score post_score
UAT_F3 4 25 5
UAT_F5 24 ..... More

Print this item

  SyntaxError: Missing parentheses in call to 'print'
Posted by: sofret - Jun-15-2018, 12:54 PM - Forum: General Coding Help - Replies (3)

Am new to python, a new concept which i love.... i started 3days back.... and am using a text book to teach myself.... i got to a section of the textb..... More

Print this item

  If - a media player exists?
Posted by: Nwb - Jun-15-2018, 12:18 PM - Forum: General Coding Help - Replies (2)

Guys do you have any idea any idea on how to write a condition to check whether a media player exists (I'm only curious for the most part)? When I say..... More

Print this item

  Conditional If Statement: If value contains string then set another column equal to s
Posted by: Jack_Sparrow - Jun-15-2018, 11:42 AM - Forum: Data Science - Replies (2)

I have a column 'original_title', where I have different film titles i.a. all films of Star Wars (+ the name of the episode) and Star Trek (+ the name..... More

Print this item

  Gaining Knowledge by Offering voluntary work
Posted by: aabdi406 - Jun-15-2018, 09:05 AM - Forum: Jobs - Replies (1)

Hi All,

I would like to offer myself for some voluntary work to an experienced programmer who wants to delegate some work (little jobs) so I can ga..... More

Print this item

  importing gym
Posted by: Scott - Jun-15-2018, 08:50 AM - Forum: General Coding Help - Replies (3)

Hi everyone,

I did the pip install gym successfully in the anaconda prompt and now I am trying to run the following code in spyder and am getting a..... More

Print this item

  AttributeError: 'App' object has no attribute 'set_text'
Posted by: Sahil1313 - Jun-15-2018, 08:18 AM - Forum: GUI - Replies (6)

I am creating a python tkinter gui application.When i run my code the gui works fine but the buttons are not working properly.Please see the code belo..... More

Print this item

  Why doesn't this print function work?
Posted by: wlsa - Jun-15-2018, 07:31 AM - Forum: Homework - Replies (3)

The problem:
Given a string, return a new string where the first and last chars have been exchanged.


[python]
str='abfdas'

def front_back(s..... More

Print this item

  return Neural(params)
Posted by: pythonbeginner - Jun-15-2018, 07:09 AM - Forum: Homework - Replies (1)

Hello,

When I run this code:
from neural import Neural
I get this Error:
ImportError: cannot import name 'Neural'

If I change the code:
from..... More

Print this item

  Problem with GUI
Posted by: KostisPanagiotou - Jun-15-2018, 06:16 AM - Forum: GUI - No Replies

[python]import sqlite3
from Tkinter import *
import tkMessageBox
global selected_tuple
import time



class DB:
def __init__(self):
..... More

Print this item

  Trying to write a simple (but not so simple for me) trading algo
Posted by: lightbot - Jun-15-2018, 05:43 AM - Forum: General Coding Help - Replies (1)

Hello guys, I am new to this forum. Sorry if I am posting this at the wrong section. I am very new to Python, and previously have been using R and Mat..... More

Print this item

  basic def / if question
Posted by: tryingtolearnpython - Jun-15-2018, 05:13 AM - Forum: General Coding Help - Replies (2)

Hi everyone,

I'm very new to Python so my questions may be very basic for most of you.

I am not sure I understand the below function. The part I am ..... More

Print this item

  Is there an equivalent of Notepad in linux
Posted by: sylas - Jun-15-2018, 04:42 AM - Forum: General Coding Help - Replies (5)

Hi all ! I leave my home carring my little 32 bits PC.With this PC I used Pycharm for working on new files. But Pycharm is very heavy, and therefore I..... More

Print this item

  import
Posted by: Skaperen - Jun-15-2018, 04:25 AM - Forum: News and Discussions - Replies (6)

how different is import from just reading some other file's lines of code at that point, besides the namespacing (which nilamo will i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576758
  Tutorial Requ... 499056
  Web Scraping ... 440556
  Newbie with P... 384521
  New Users Int... 368344
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 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
MatthewRodia Today
andydt Today
victorcrown Yesterday
Markbel386 Yesterday
trntgl Yesterday

User Panel Messages

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