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,306
» Latest member: rebeccamorris
» Forum threads: 38,800
» Forum posts: 175,900

Full Statistics

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

Latest Threads
How I Turned a Crypto Nig...
Forum: General Coding Help
Last Post: rebeccamorris
11 minutes ago
» Replies: 0
» Views: 5
Earnestinome
Forum: General Coding Help
Last Post: Dichaelmag
1 hour ago
» Replies: 0
» Views: 9
What role does IoT play i...
Forum: General Coding Help
Last Post: ShaneCorn
1 hour ago
» Replies: 0
» Views: 8
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ShaneCorn
1 hour ago
» Replies: 7
» Views: 7,775
Enhancing Python Learning...
Forum: General Coding Help
Last Post: slicemasternet
2 hours ago
» Replies: 0
» Views: 14
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
9 hours ago
» Replies: 7
» Views: 612
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 09:58 PM
» Replies: 3
» Views: 105
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 03:53 PM
» Replies: 1
» Views: 85
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Yesterday, 08:47 AM
» Replies: 3
» Views: 155
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 04:40 AM
» Replies: 6
» Views: 3,200

 
  Replace a list or string element with a random one..
Posted by: pianistseb - May-09-2019, 08:03 AM - Forum: General Coding Help - Replies (3)

Hello!

I have to do a very simple task, but I have problems with speed. I have a list called 'chromosome', and I want to replace each N into A,G,C ..... More

Print this item

  Key value pairs assistance
Posted by: UtiliseIT - May-09-2019, 07:04 AM - Forum: General Coding Help - Replies (2)

Hi,

I’m trying to extend on the assistance I have received here but with a slightly different scenario. This time I am using a select statement (no..... More

Print this item

  saving (in text or binary) an object under a defined class
Posted by: cai0824 - May-09-2019, 06:58 AM - Forum: General Coding Help - Replies (3)

Hi, I don't know if my topic makes any sense but what I'm trying to say is, I'm made a class
[python]class Users:
def __init__(self, fname, lnam..... More

Print this item

  Can I make a session on os.system
Posted by: Serferi - May-09-2019, 06:36 AM - Forum: General Coding Help - Replies (1)

There is my code, he work with python 2.7 on linux
[python]
print "OUI"
os.system("python ../updater.3.pyc")
o..... More

Print this item

  Deciding how to branch out into coding
Posted by: ameeran143 - May-09-2019, 01:05 AM - Forum: News and Discussions - Replies (1)

Hello Everyone,

I recently took up learning python following a youtube tutorial (CodewithMosh) and I'm about halfway through. I was wondering if it..... More

Print this item

  a function to layout a string
Posted by: Skaperen - May-08-2019, 11:16 PM - Forum: General Coding Help - Replies (5)

before i write this function, i'm curious if such a thing already exists in Python. the function would be given a series of arguments or a list with ..... More

Print this item

  Typical beginner needing some help
Posted by: foxter00 - May-08-2019, 10:44 PM - Forum: General Coding Help - Replies (1)

Hey there. So I'm fairly a beginner when it comes to python and I'm trying to reverse engineer this script to learn something
more advanced but I ca..... More

Print this item

  Using Excel Values As Variables for Equation
Posted by: dezmund - May-08-2019, 10:16 PM - Forum: General Coding Help - Replies (1)

I have a series of received signal strengths in an excel sheet, i would like to use these values as inputs into a pathloss equation to calculate the p..... More

Print this item

  Better Coding request
Posted by: aankrose - May-08-2019, 08:47 PM - Forum: General Coding Help - Replies (5)

start = 5
for i in range(start):
    if i == 0:
        print('##')
    else:
        print('#',i*'o','#',sep='')
[output..... More

Print this item

  Help for newbie with if/else statement that has or statement
Posted by: Shevach - May-08-2019, 08:46 PM - Forum: Homework - Replies (2)

Hello there,
I'm trying make a simple code (to practice for loops and if/elif statements) to give a person 3 choices of what kind of book he is looki..... More

Print this item

  Python 3.6.5 syntax error in IDLE
Posted by: loren41 - May-08-2019, 08:42 PM - Forum: General Coding Help - Replies (7)

Trying to use IDLE in Python 3.6.5 but receiving sytax error at the top line.

[python]Python 3.6.5 (default, Jan 16 2019, 21:12:16)
[GCC 7.3.0] o..... More

Print this item

  Need Help
Posted by: aankrose - May-08-2019, 07:51 PM - Forum: General Coding Help - Replies (4)

[python]
The number of rows must be between 11 and 20 and the The result will appear in the console output as indicated in the figure. If the user e..... More

Print this item

  Error while fetching data from PostgreSQL tuple indices must be integers or slices, n
Posted by: Sandy777 - May-08-2019, 07:37 PM - Forum: General Coding Help - Replies (6)

Hi All,
I have a requirement to port a table from MySQL database server to postgreSQL Database server.

I'm using a Magento website and its backend..... More

Print this item

  Not getting entry values on button click & treeview not updating ?
Posted by: swanysto - May-08-2019, 07:35 PM - Forum: GUI - Replies (4)

So I am very new to programming, I have set a goal of creating a simple file for tracking material prices that I use often. I have been rummaging thro..... More

Print this item

  How to eliminate magic squares formed by the same numbers, but permuted
Posted by: frame - May-08-2019, 06:29 PM - Forum: General Coding Help - Replies (7)

The magic squares that are formed with the first 9 numbers are:
[[6, 1, 8], [7, 5, 3], [2, 9, 4]]
[[2, 7, 6], [9, 5, 1], [4, 3, 8]] etc etc (8 magic..... More

Print this item

  Math Trainer site(s)
Posted by: MvGulik - May-08-2019, 05:54 PM - Forum: Bar - Replies (3)

As general on/off Khan Academy(KA) user, to maintain and where possible to improve my arithmetic and Math skills, I always felt KA was missing some ba..... More

Print this item

  How to switch table area coordinates in Python Camelot and Tabula-Py
Posted by: john5 - May-08-2019, 04:31 PM - Forum: General Coding Help - No Replies

Dear All,

I have obtained the coordinates of a table bounding box using Camelot, but I need to use tabula-py to extract the table data, as camelot is..... More

Print this item

  PING PONG GAME
Posted by: akea - May-08-2019, 04:30 PM - Forum: General Coding Help - No Replies

Hello.i wrote a ping pong game by using turtle with multithreading. The code shows no error in the editor but mutltyhreading isnot working probably an..... More

Print this item

  Help to create a script
Posted by: Codeh - May-08-2019, 03:06 PM - Forum: News and Discussions - Replies (2)

Hi, I'd like to create a script that from a .txt list analyzes all the IP addresses if they are online, and then it must create a file and insert them..... More

Print this item

  Problem Passing Arguement to do loop
Posted by: stephenmolnar - May-08-2019, 02:50 PM - Forum: General Coding Help - Replies (10)

I am running Debian Stretch on my main platform. I have a Computational Chemistry problem in which I have to run a number of python scripts. How do I ..... More

Print this item

  DFS with weighted edges
Posted by: livbat - May-08-2019, 01:41 PM - Forum: Homework - Replies (2)

I'm making a project (the code I'm showing here is related to a part but not the same, more like practice exercise) where I have weighted edges and ne..... More

Print this item

  read json string as dict
Posted by: goron - May-08-2019, 12:32 PM - Forum: General Coding Help - Replies (3)

Hi,

I am trying to decode the string as dict.

[python]
>>> json_string
'{"ip": "13.1.6.0","data": {"tls": {"status": "io-timeout","protocol": ..... More

Print this item

  Batch file not running python script in task scheduler
Posted by: davork - May-08-2019, 12:29 PM - Forum: General Coding Help - Replies (3)

I have a scrapping python script and a batch file that when run from CMD works perfectly however when I try to run it from Task Scheduler nothing happ..... More

Print this item

  Pandas melt only on one variable (leaving other in long format)
Posted by: amyd - May-08-2019, 12:10 PM - Forum: Data Science - No Replies

Hi,

I have the following data:

[python]import pandas as pd
import numpy as np

data = [
['Dog', 5, 0.25,5.5,0.23],
['Cat', 3, 0.1..... More

Print this item

  Fitting xticks on x-axis
Posted by: schniefen - May-08-2019, 12:04 PM - Forum: Homework - Replies (1)

I'm working on a plot of energy consumption versus month over a period of years.

[python]
import matplotlib.pyplot as pat
kwh=[88736,92100,95420..... More


Attached Files

Thumbnail(s)
   
Print this item

  Accessing files in various directories and folders
Posted by: ccuny - May-08-2019, 12:02 PM - Forum: General Coding Help - Replies (2)

Hello all,

First time on this forum and new to Python (which I am studying in my old age specifically for data analysis and machine learning).

I..... More

Print this item

  Software Integration Engineer Infotainment (m/f/x)
Posted by: JobAmbi - May-08-2019, 09:57 AM - Forum: Jobs - No Replies

„The brands BMW, MINI, Rolls-Royce and BMW Motorrad have made BMW Group the world's leading
premium manufacturer of cars and motorcycles as well as p..... More

Print this item

  Software Test Engineer - Test Automation (m/w/x)
Posted by: JobAmbi - May-08-2019, 09:47 AM - Forum: Jobs - No Replies

„The brands BMW, MINI, Rolls-Royce and BMW Motorrad have made BMW Group the world's leading
premium manufacturer of cars and motorcycles as well as pr..... More

Print this item

  split and test tweet data
Posted by: Jmekubo - May-08-2019, 09:01 AM - Forum: General Coding Help - Replies (1)

Hi guys i have a twitter dataset i want to train and test with NB and SVM. After cleaning and vectorizing, i am stuck on the following:
1. splitting ..... More

Print this item

  Error in Database connectivity with python3.7
Posted by: srm - May-08-2019, 08:57 AM - Forum: General Coding Help - Replies (8)

I am using mysql with python 3.7.2 to get connected my database.
on my windows 2008r2 ,I have installed first sql server 2012 and later also mysql.
I..... More

Print this item

  fast lookup for array
Posted by: markB - May-08-2019, 07:55 AM - Forum: General Coding Help - Replies (3)

Hi all,

I have a large array (+1M values) where for each value I want to lookup something in a table.
What would be an efficient way to do this?

for..... More

Print this item

  post getting moved to news and discussions without any notification or explanation?
Posted by: johsmi96 - May-08-2019, 07:00 AM - Forum: Board - Replies (2)

I posted a question about how to find a library in the general coding help forum and it was apparently moved to "news and discussions". Originally I ..... More

Print this item

  Palindromes in Python
Posted by: karansingh - May-08-2019, 06:56 AM - Forum: General Coding Help - Replies (2)

How can I Implement palindromes in Python?

Print this item

  Distributed size limited queue implementation?
Posted by: johsmi96 - May-08-2019, 06:41 AM - Forum: News and Discussions - Replies (1)

I am looking for some implementation of a queue that would work much like the multiprocessing.Queue but between different machines. It should have the..... More

Print this item

  Dashboards with html tables
Posted by: fstefanov - May-08-2019, 02:31 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello folks,

We are going to deprecate our Confluence instance soon.
I was using a Python script to append HTML table,
with static links to S3 ar..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  How I Turned a Crypto Nig... 11 minutes ago rebeccamorris rebeccamorris General Codin...
  Earnestinome 1 hour ago Dichaelmag Dichaelmag General Codin...
  What role does IoT play i... 1 hour ago ShaneCorn ShaneCorn General Codin...
  Can I develop a live vide... 1 hour ago mtrkhan ShaneCorn Web Scraping ...
  Enhancing Python Learning... 2 hours ago slicemasternet slicemasternet General Codin...
  Help with Serial.write in... 9 hours ago racingsubby racingsubby General Codin...
  silent deployment Python ... Yesterday, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP Yesterday, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... Yesterday, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python Yesterday, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
Most views
  The best Prog... 579385
  Tutorial Requ... 512441
  Web Scraping ... 442300
  Newbie with P... 386352
  New Users Int... 380371
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+ 12111
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
rebeccamorris Today
cruisesfares Today
Dichaelmag Today
ShaneCorn Today
SNR Today

User Panel Messages

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