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,312
» Latest member: elizabethlittle6258
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

Online Users
There are currently 29 online users.
» 3 Member(s) | 23 Guest(s)
Google, Bing, Mojeek, Axel_Erfurt, snippsat, NeoQuant

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 11
» Views: 309
Python compiler
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 1
» Views: 74
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 92
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 50
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,124
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 205
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 732
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,838
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 210
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 168

 
  Find number in a text for if statement
Posted by: BitbyBit - Jul-12-2018, 03:05 PM - Forum: General Coding Help - Replies (3)

Hi, I have been struggeling to make an if statement based on the condition that a certain number is inside a text.

Text:
{'timestamp': 15314007793..... More

Print this item

  Getting error when accessing elements in a modal window of an webpage using selenium
Posted by: sumandas89 - Jul-12-2018, 02:04 PM - Forum: Web Scraping & Web Development - Replies (3)

I am writing python code to access elements in a modal dialog box of a webpage. After clicking in a link the modal dialog box appears till this point ..... More

Print this item

  Unable to print the exact Float values when I convert LIST to Sequence of Tuples?
Posted by: preethamalluri - Jul-12-2018, 09:01 AM - Forum: General Coding Help - Replies (1)

Hi, Smile I have the following LIST in python, I am trying to convert it from this format to SEQUENCE OF TUPLES. I am able to convert it into a t..... More

Print this item

  looping in python
Posted by: jazzy - Jul-12-2018, 07:27 AM - Forum: Data Science - Replies (12)

df1 df2 df3 df4
e5,e100,c .... ku,kl,kd,c ... o1,c ... o20,c


e5>e100 and c<ku and o1>o10
s=1
e5<e1..... More

Print this item

  %matplotlib inline , invalid syntax
Posted by: yamoon - Jul-12-2018, 06:56 AM - Forum: Data Science - Replies (1)

Dear All

I'm trying to use %matplotlib inline to show the heatmap but i'm getting an error "Invalid syntax", can any body help to solve the problem..... More

Print this item

  Correlation & Prediction - Help
Posted by: Danijel - Jul-12-2018, 06:51 AM - Forum: General Coding Help - Replies (2)

Hi

I have a file of service order (work purpose)
I am trying to see if there is any correlation of why service orders fail/not complete
Maybe the..... More

Print this item

  Have django-extensions installed, can't find shell_plus
Posted by: Larz60+ - Jul-12-2018, 02:07 AM - Forum: Web Scraping & Web Development - Replies (7)

I am running python 3.7.0 on OpenSuse Leap 15

I have django-extensions installed, but following command fails:
[python]
./manage.py shell_plus --..... More

Print this item

  name of a function
Posted by: Skaperen - Jul-12-2018, 01:54 AM - Forum: News and Discussions - Replies (1)

i have a function that calls the hash() function on the object passed to it in the solitary argument. but it does so under try/except to avoid raisin..... More

Print this item

  i wish there was
Posted by: Skaperen - Jul-12-2018, 01:28 AM - Forum: News and Discussions - Replies (1)

i wish there was a way to have a function be able to do some big complex calculation to create a big data reference table that is exactly the same eac..... More

Print this item

  Easygui
Posted by: Izzy32 - Jul-11-2018, 07:36 PM - Forum: GUI - Replies (11)

Hi. I need help with easygui. I am frighteningly New at coding. I don’t know how to fix the problem of the error message I receive.

[python]

>>>..... More

Print this item

  Error while creating new Creating Models on Django
Posted by: aniyanetworks - Jul-11-2018, 07:13 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello Foks,
i am not able to run my python server, i am getting this error, please assist me.
Thank you
Manam'
[quote]C:\Project\My1stDJangoSite>p..... More

Print this item

  python environment variables
Posted by: riyengar - Jul-11-2018, 06:02 PM - Forum: General Coding Help - Replies (1)

Hello,

I am trying to load environment variables defined in a config file for use in another python script. Examples I see are like loading the fil..... More

Print this item

  UnitTesting
Posted by: saisankalpj - Jul-11-2018, 05:05 PM - Forum: General Coding Help - Replies (2)

when i am writing UnitTesting in Python,inside the test mothed i have initiated the logger ,and altogether i have three tests methods.For the first te..... More

Print this item

  Parsing and Editing a Structured Text File
Posted by: norsemanGrey - Jul-11-2018, 04:00 PM - Forum: General Coding Help - Replies (1)

Hi. First I want to say that I'm kind of new to Python, but I have been through some basics so I am not beginning from scratch :)

My company is usi..... More

Print this item

  Get Webcam Image from URL - Octoprint
Posted by: Konff - Jul-11-2018, 03:02 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello everyone
I am currently writing a script to output the current progress from my 3D printer. I use Octoprint to control the printer remotely. I..... More

Print this item

  error in upgrading python 24. to 2.7
Posted by: singhraj3110 - Jul-11-2018, 02:25 PM - Forum: General Coding Help - Replies (3)

Hello All,
I upgraded my python code from 2.4 to 2.7 and getting one error
error: ushort format requires 0 <= number <= USHRT_MAX
So, I want to kn..... More

Print this item

  Stopwatch
Posted by: Panda - Jul-11-2018, 01:19 PM - Forum: General Coding Help - Replies (1)

How do i create a stopwatch that counts up until a certain value is entered inside of an input?

Print this item

  Autocomplete list of tuples data
Posted by: dimvord - Jul-11-2018, 11:55 AM - Forum: GUI - Replies (2)

The code below works fine if the list (=test_list) is defined as test_list=['aaa','xxxxxx','a1a1a11',.....].
When the test_list gets values from an s..... More

Print this item

  regex to extract only yy or yyyy
Posted by: metalray - Jul-11-2018, 11:29 AM - Forum: General Coding Help - Replies (2)

Dear Python/Regex Experts,

I have two regex patterns that I use in Python that need a little improvement.

1. #m/d/yy month in Digits e.g. 1/2/98..... More

Print this item

  Pandas segmenting groupby average
Posted by: brocq_18 - Jul-11-2018, 10:54 AM - Forum: Data Science - No Replies

I have 3 columns in a pandas dataframe, cars bikes and price. I want to find the average price per cars and bikes. The data seems to have decimal valu..... More

Print this item

  all_protocols() empty
Posted by: daviddoherty - Jul-11-2018, 09:24 AM - Forum: General Coding Help - No Replies

Hi Folks

I have looked around the forum but not seen this issue here, so can someone have a look at this and let me know what I am doing wrong, ple..... More

Print this item

  Close Toplevel after clicking button
Posted by: jollydragon - Jul-11-2018, 07:14 AM - Forum: GUI - Replies (3)

After runing below code, got below error.
How to colse the Toplevel window after clicking the button in my Python v3.6.5?
Thanks for any help or sug..... More

Print this item

  generate trades detail from code
Posted by: bhagwat123 - Jul-11-2018, 06:33 AM - Forum: General Coding Help - No Replies

python code help

[python]initial_capital= float(1000.0)
positions = pd.DataFrame(index=signals.index).fillna(0.0)
positions['AAPL'] = 100*signals..... More

Print this item

  Any idea on how to keep score of My Tic Tac Toe game?
Posted by: Minindis02 - Jul-11-2018, 06:00 AM - Forum: General Coding Help - Replies (1)

Sup the boys,

I would like to have rounds so that like if the player or AI gets to like maybe a score of like 5 or something it prints "you have wo..... More

Print this item

  Rigid Body Simulation in 3D with constraints
Posted by: FumingElephant - Jul-11-2018, 12:55 AM - Forum: General Coding Help - Replies (1)

I'm essentially trying to simulate a cylinder with a mass attached to it via a joint that can rotate in a 2D plane perpendicular to the cylinder. Are ..... More

Print this item

  Failing to install Flask on Windows using pip
Posted by: shayon - Jul-11-2018, 12:28 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello Everyone.
i am new here and beginner in flask. I have a problem with installing flask and all package with pip. I tried "pip install flask" and..... More

Print this item

  TypeError: can't multiply sequence by non-int of type 'complex'
Posted by: FeverDream - Jul-10-2018, 10:51 PM - Forum: Homework - Replies (2)

The aim of my program is to do the near field diffraction simulation. I feel like my code should work and expected to get a 2D intensity plot, but I k..... More

Print this item

  Run function in parallel but inherite dynamic data from the previous function
Posted by: atizva - Jul-10-2018, 10:29 PM - Forum: General Coding Help - Replies (4)

I'm trying to run multiple functions simultaneously:

-or so called functions because they belong to a class:
[python]
from sh import t..... More

Print this item

  JOB: Python Developer @ Lucasfilm (SF)
Posted by: amandarecruits - Jul-10-2018, 10:14 PM - Forum: Web Scraping & Web Development - No Replies

Senior Full Stack Python Developer

Location: San Francisco, CA
Type: Full-time, salaried

Be honest: You’re probably already working in software..... More

Print this item

  Help Editing/Problem with outputs
Posted by: stanthaman42 - Jul-10-2018, 09:28 PM - Forum: General Coding Help - Replies (7)

Hello there. I am Currently working on a program that produces every number (1000-9999) and their prime permutations(single, double, triple, and quadr..... More

Print this item

  running just one process shared among uses
Posted by: Skaperen - Jul-10-2018, 05:43 PM - Forum: General Coding Help - Replies (3)

a lot of programs, particularly big GUI programs like web browsers, will use the previously started process when an attempt is made to start a 2nd con..... More

Print this item

  Is Python strongly or weakly typed?
Posted by: amandio - Jul-10-2018, 05:31 PM - Forum: General Coding Help - Replies (3)

I'm a computers network studant from João Pessoa-Paraiba-Brazil, and I'm studying programming. Python is the programming language that we are atudying..... More

Print this item

  Neural Network Enlargement
Posted by: philphed - Jul-10-2018, 04:46 PM - Forum: Data Science - Replies (3)

Hello,

I am very new to the topic of NN and to Python, so please forgive me in case my question is silly. I tried to work on it myself but couldn't..... More

Print this item

  Sqlalchemy Query into tuple
Posted by: KirkmanJ - Jul-10-2018, 02:56 PM - Forum: General Coding Help - No Replies

If i was to query a SQLALCHEMY database for a row, like so:
[python]
product_query= test_result.query.filter(test_result.test_details =='Overall').fi..... More

Print this item

  Control chart in Python
Posted by: ksasi2k3 - Jul-10-2018, 02:13 PM - Forum: Data Science - Replies (6)

Hello,

I need to develop control chart (P chart) in Python with the purpose of highlighting the violating points to end users.

Please suggest.
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 5 hours ago Lou noisefloor General Codin...
  Python compiler 5 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
Most views
  The best Prog... 579512
  Tutorial Requ... 512949
  Web Scraping ... 442375
  Newbie with P... 386401
  New Users Int... 381778
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+ 12113
buran 8196
snippsat 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
elizabethlittle6258 Today
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday

User Panel Messages

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