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 48 online users.
» 0 Member(s) | 43 Guest(s)
Bing, Google, AOL, AOL, Google Image

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

 
  Hydrogen ground state integral
Posted by: Eduard - Sep-26-2018, 05:29 PM - Forum: Data Science - Replies (2)

The integral is supposed to return one but it returns zero.
https://quantummechanics.ucsd.edu/ph130a...de233.html
The integral I'm doin..... More

Print this item

  Clearification on my next 5 lines for def a bot and training it
Posted by: jgaza - Sep-26-2018, 05:13 PM - Forum: General Coding Help - No Replies

5 bot = Chatbot('bot')
6 bot.set_trainer(ListTrainer)
7 for files in (file pathway help)
8 data = open( file pathway + files, 'r').readlines()
9 b..... More

Print this item

  beverage machine code
Posted by: ccm1776 - Sep-26-2018, 05:01 PM - Forum: Homework - Replies (8)

Hello, everyone. Im new to programming and Ireally love solving problems. I dont have all the answers, however. I am taking a python class at my local..... More

Print this item

  raw_input
Posted by: rtbr17 - Sep-26-2018, 03:58 PM - Forum: General Coding Help - Replies (3)

I am brand new to python and seem to to stuck on something that seems simple. If I run the code below it works as expected.

[python]money = -10
p..... More

Print this item

  Data import from a graph on the web
Posted by: NataliyaDem - Sep-26-2018, 03:42 PM - Forum: General Coding Help - Replies (1)

Hello,
I am economics student and have no experience in coding. I need to update one code to execute calculation.

Is it possible to import the data f..... More

Print this item

  change between web pages with python script
Posted by: vadims - Sep-26-2018, 02:47 PM - Forum: Homework - Replies (6)

Hello
I need to create script to change from one web page to second web page with python script
the content of 1st web page is Hello world and the ..... More

Print this item

  How to find previous string of a string
Posted by: Prince_Bhatia - Sep-26-2018, 02:08 PM - Forum: General Coding Help - Replies (1)

Hi,

I am struggling at problem which is how to find previous string in a string.

For example i have a string
A= "my name is prince"

Now i wa..... More

Print this item

  [split] Lottery System on my mobile website
Posted by: sibt007 - Sep-26-2018, 01:53 PM - Forum: General Coding Help - Replies (1)

i have to update the graph in my site automatically.
i mean there is graph in my web which shows comparison between two opponents base on their real ..... More

Print this item

  Fibonacci sequence
Posted by: Darbandiman123 - Sep-26-2018, 01:53 PM - Forum: General Coding Help - Replies (2)

Hey i have this code which should print out fibonaccis sequence yet encounter the following error.
[error]
Traceback (most recent call last):
Fil..... More

Print this item

  Python Flask REST API
Posted by: vndywarhol - Sep-26-2018, 01:24 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello! I'm trying to create a simple REST API application that would show the contents of some folder on the server.

[python]
import os
from fla..... More

Print this item

  Traceback error
Posted by: tjnichols - Sep-26-2018, 12:51 PM - Forum: Homework - Replies (8)

I'm trying to import a class into another Python file. The previous example I have for this is something that Larz60+ built for me but he didn't set i..... More

Print this item

  Python 3.6, MySQL 8.0.12, SQLAlchemy 1.2.10, reflection
Posted by: la_khan - Sep-26-2018, 09:48 AM - Forum: General Coding Help - No Replies

Recently, I installed SQLAlchemy 1.2.10 to start learning SQLAlchemy, using Python 3.6.6 and MySQL 8.0.12. Just as SQL Server has a built in DB (North..... More

Print this item

  regex help to get the local ip address
Posted by: evilcode1 - Sep-26-2018, 09:35 AM - Forum: General Coding Help - Replies (4)

hey all... need a help in regex ..

im trying to get the local ip address form a windows system by running this code : ( i dont want to use python s..... More

Print this item

  List comparison in Python
Posted by: Nirmal - Sep-26-2018, 09:33 AM - Forum: General Coding Help - Replies (4)

HI

I have two list . i want to compare with each other with the list index[1][2][3] of each list with other list .If its a match then ignore , i..... More

Print this item

  Senior Research and Development Engineer, Paris, France
Posted by: ELDA - Sep-26-2018, 07:56 AM - Forum: Jobs - Replies (2)

The European Language resources Distribution Agency (ELDA), a company specialized in Human Language Technologies within an international context, acti..... More

Print this item

  append elements into the empty dataframe
Posted by: jazzy - Sep-26-2018, 07:26 AM - Forum: General Coding Help - No Replies

[python]
def backtest(inCapital):
rCapital = inCapital
qty1 = 0
hp = 0

cap=0
preAdjClose = 0
tempAdjClose = 0
..... More

Print this item

  mysqlclient
Posted by: gregbarsd - Sep-26-2018, 05:55 AM - Forum: General Coding Help - No Replies

Any ideas???
Going along fantastically until creating mysqlclient then the following:


(py1) c:\Users\greg\projects\djangoproject>python --versio..... More

Print this item

  Need help with understanding for/while loops!
Posted by: WombatHat42 - Sep-26-2018, 05:03 AM - Forum: General Coding Help - Replies (2)

Hi! I am new to python and up until now have found it rather simple. However for whatever reason, I cnnot figure out for.while loops. In particular la..... More

Print this item

  Cursors and loops
Posted by: Clark - Sep-26-2018, 03:41 AM - Forum: General Coding Help - Replies (1)

Hello all

Very new Python user here, so be gentle.

If there is a better way to do what I am trying to do (self evident from the code), please l..... More

Print this item

  Problem with a while loop
Posted by: Nassib - Sep-25-2018, 11:08 PM - Forum: General Coding Help - Replies (2)

Hey, i am having a problem with a while loop and i am a beginner in python. How could i do a while loop so that python understands it this way : While..... More

Print this item

  Converting PyGame 2 axis joystick float to 360 angle
Posted by: archieab - Sep-25-2018, 06:18 PM - Forum: Game Development - Replies (1)

I would like to convert my joystick's two axis float (horizontal and vertical) to a 360 angle that can be used to set a players direction in my..... More

Print this item

  Bar Plot with Python ,matplotlib and sqlite3 tables
Posted by: gauravbhardwajee - Sep-25-2018, 06:17 PM - Forum: Data Science - No Replies

I am very new to Python and tying to create a Bar Graph using Python ,matplotlib and sqlite3 tables. So i am reading two csv files with the help of pa..... More

Print this item

  reading raw data until condition is met, then stopping
Posted by: unknowntothem - Sep-25-2018, 03:38 PM - Forum: General Coding Help - Replies (7)

Hello All,

Long time reader, first time writer Tongue I've got a bit of a noob question I guess, have a python program reading raw data from a..... More

Print this item

  Checkboxes in different frames misbehave
Posted by: octoeder - Sep-25-2018, 03:32 PM - Forum: GUI - Replies (3)

[python]
import tkinter as tk

root = tk.Tk()
Frame1 = tk.Frame(root)
Frame2 = tk.Frame(root)

Frame1.pack()
Frame2.pack()

tk.Checkbutton(..... More

Print this item

  a question
Posted by: hammza - Sep-25-2018, 01:21 PM - Forum: Game Development - Replies (4)

is it possible to make smouth games just with python and tkinter like this games in the link

https://codeincomplete.com/games/

Print this item

  Curl with source ip- pycurl
Posted by: drvirus - Sep-25-2018, 11:43 AM - Forum: Networking - No Replies

Hello Folks
i have a sever with about 1000 ip addresses
and i want to check the external ip address using different source ip for each curl comman..... More

Print this item

  create list from repeated pattern in python
Posted by: Code4fun - Sep-25-2018, 09:10 AM - Forum: General Coding Help - Replies (2)

Hello,
I would like to create a list in Python3, which look like this

[python]L = [(0,(0,1,2,3,4)), (1, (5,6,7,8,9)),(2,(10,11,12,13,14))......) [..... More

Print this item

  Is there a more efficient way to code this project?
Posted by: gkiranseo - Sep-25-2018, 08:54 AM - Forum: General Coding Help - Replies (1)

I'm learning Python programming from the Mindmajix training and I just completed classes about lists,..... More

Print this item

  subprocess - get exit status of command run on different machine using rsh
Posted by: prashanth_CM - Sep-25-2018, 07:29 AM - Forum: General Coding Help - No Replies

I am trying to run some commands on some machine which i am connecting through rsh command(cant use ssh here).
Through subprocess.check_call function..... More

Print this item

  Array
Posted by: Prasanna - Sep-25-2018, 05:42 AM - Forum: General Coding Help - Replies (1)

hi Friends,

can you guys give difference between list and array in python?

and give some functions which are used in array and list ?

Print this item

  Calculation error
Posted by: RustyShacklevert - Sep-25-2018, 03:40 AM - Forum: General Coding Help - Replies (4)

I'm new to programming and i'm trying to make a simple calculator that calculates how many days, minutes and seconds someone has been alive. Everytime..... More

Print this item

  Not getting a return value
Posted by: abdullahali - Sep-25-2018, 01:03 AM - Forum: Homework - Replies (1)

def fuel_efficiency(fuel_used, distance):
fuel_used = int(input("enter the fuel used: ")) distance = int(input("enter distance travelled: "))..... More

Print this item

  Simulating events using Hawkes
Posted by: akshit2291 - Sep-25-2018, 12:37 AM - Forum: General Coding Help - Replies (1)

I have recently learned about Hawkes process and was trying to use Tick library.
I need help in simulating the Hawkes process.

I just have 1000 ev..... More

Print this item

  SoupStrainer: example
Posted by: Truman - Sep-24-2018, 10:21 PM - Forum: Web Scraping & Web Development - Replies (10)

[python]html_doc = """
<html><head><title>The Dormouse's story</title></head>
<body>
<p class="title"><b>The Dormouse's story</b></p>

<p class="..... More

Print this item

  Help with nested dictionary
Posted by: Anidil - Sep-24-2018, 10:02 PM - Forum: General Coding Help - Replies (1)

myStr = '''Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

[output]Bonding Mode: IEEE 802.3ad Dynamic link aggregation
Transmit Hash Poli..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 2 hours ago llarkin6 deanhystad General Codin...
  [Tkinter] how to export a... 3 hours ago RonR noisefloor GUI
  Is the interpreter that c... 7 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 7 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 10 hours ago 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... 577002
  Tutorial Requ... 499741
  Web Scraping ... 440755
  Newbie with P... 384741
  New Users Int... 368823
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