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

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 11
» Views: 300
Python compiler
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 1
» Views: 68
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 90
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,119
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 204
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 730
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,837
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 205
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 165

 
  Trying to import JSON data into Python/Pandas DataFrame then edit then write CSV
Posted by: Rhubear - Jul-23-2018, 09:50 PM - Forum: Data Science - No Replies

Hi, new to Python. Stepping into it for a project I'm trying of processing JSON URL output from Cryptocompare.com prices website.
Wanting to edit da..... More

Print this item

  Splitting values in column in a pandas dataframe based on a condition
Posted by: hey_arnold - Jul-23-2018, 08:45 PM - Forum: Data Science - Replies (1)

Hi All,

I have been trying to split data separated by a comma in the 'name' column into two columns, however not all of the rows in this column hav..... More

Print this item

  Reformat csv data with Python
Posted by: ksdst1 - Jul-23-2018, 06:25 PM - Forum: Homework - Replies (8)

Hello. I am a newbie to python taking a data analytics intro class. I need to reconfigure the data from a UN imported csv file to resemble my other ..... More

Print this item

  Beginning of Beginner Help: Should I start with Python?
Posted by: appdevelnewb - Jul-23-2018, 05:15 PM - Forum: General Coding Help - Replies (2)

Hello~
While I'm sure I'll be asking for a plethora of other help later, at the moment I have just as simple yes or no question...will Python allow me..... More

Print this item

  python-osc communication
Posted by: fauveboy - Jul-23-2018, 04:54 PM - Forum: General Coding Help - Replies (10)

I'm trying to send some values to a csound instrument using the following code
its from an example found here: https://pypi.org/project/python-osc/..... More

Print this item

  Python Developers-Plano & Houston, TX
Posted by: kcarroll1229 - Jul-23-2018, 04:04 PM - Forum: Jobs - No Replies

I am currently in the need for several W2 contract to hire Python Developers to join our top financial services client in both Plano and Houston, TX. ..... More

Print this item

  Json decoding error
Posted by: saisankalpj - Jul-23-2018, 02:48 PM - Forum: Web Scraping & Web Development - Replies (3)

While using requests module i got a response from server which i passed into json. Loads().THe input to json.loads here is a string in html format. No..... More

Print this item

  macro plugin for VSCode
Posted by: Larz60+ - Jul-23-2018, 01:58 PM - Forum: Bar - Replies (2)

I miss having macro recording on editor.

I know emacs has a great macro editor, but even though at one time I was an emacs whiz,
I would have a lo..... More

Print this item

  Scrapy Picking What to Output Href or Img
Posted by: soothsayerpg - Jul-23-2018, 12:22 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi again guys,

Actually two things I want to ask help for (All of this are just inside the 'a' tag):

First one is:
I want to have a few ..... More

Print this item

  Ignore windows scaling in tkinter
Posted by: Gangwick - Jul-23-2018, 11:29 AM - Forum: GUI - Replies (2)

Hello :)

I am French, sorry for my low level in english :)

I want to ignore the Windows 10's scaling for my tkinter window.

We can set the sc..... More

Print this item

  mod_wsgi for the python 3.7
Posted by: pythonuser - Jul-23-2018, 09:29 AM - Forum: News and Discussions - Replies (3)

Hi there, now I try to build the web application by the python.
So I installed the apache 2.4 and the python 3.7 the latest model.
But we can get t..... More

Print this item

  Text file read issues
Posted by: Complex_Potential - Jul-23-2018, 08:06 AM - Forum: General Coding Help - Replies (16)

Hello all

New to the forums, about six months experience with simple(ish) Python scripting.

I've got a bit of an issue that isn't with code spe..... More

Print this item

  How to retrieve locality from google maps API
Posted by: Prince_Bhatia - Jul-23-2018, 07:57 AM - Forum: General Coding Help - No Replies

I am searching list of projects from csv to find the lat long of the project using google maps api. Lat long i am getting are corrects but how to get ..... More

Print this item

  Find max and min integers
Posted by: mmaz67 - Jul-23-2018, 07:48 AM - Forum: General Coding Help - Replies (2)

Hi, I am currently working on regex string matching in order to find line with 2 digits:

Example:
[10:3] abc

I am expecting the output will wr..... More

Print this item

  Cannot open file in an OpenSharedItem() iterator - The file may not exist/may be open
Posted by: S3RG388 - Jul-23-2018, 07:42 AM - Forum: General Coding Help - Replies (3)

I am trying to run the following code in Python:

for filename in os.listdir(workdir1):
msg=outlook.OpenSharedItem(workdir1 + filename)
if..... More

Print this item

  [split] set range for bluethoot in python
Posted by: 9632128199 - Jul-23-2018, 06:54 AM - Forum: General Coding Help - Replies (2)

is that any way to set the range(distance) of bluetooth in raspberry pi using python???

Print this item

  missing styntax
Posted by: bluedoor5 - Jul-23-2018, 03:35 AM - Forum: Web Scraping & Web Development - Replies (7)

This snippet of a test has some missing styntax, what are the missing codes where there is
**** ?



[python]from urllib.request import urlopen a..... More

Print this item

  Design Strategy
Posted by: microphone_head - Jul-23-2018, 12:57 AM - Forum: Game Development - Replies (9)

I'm working on refining my strategy for writing a game. I would like to know what you lot think about it. Hoping you'll point out the flaws, and let..... More

Print this item

  reading and logging binary data on serial port
Posted by: katesfb - Jul-23-2018, 12:18 AM - Forum: General Coding Help - Replies (2)

Hi,
I have a project to log raw binary GPS data (from a ublox GPS reciever) to a file for later post processing. The receiver puts out raw GPS data ..... More

Print this item

  Listing the factors of a number
Posted by: TitaniumGene - Jul-22-2018, 11:38 PM - Forum: Code sharing - Replies (2)

I wrote this code after taking a few basic Python courses. I welcome feedback on how to improve it.

[python]print("This program will list the facto..... More

Print this item

  why the Vatican does not allow Python
Posted by: Skaperen - Jul-22-2018, 11:20 PM - Forum: Bar - No Replies

the Pope heard Python programmers talking negatively about nuns.

Print this item

  Concept of batch files
Posted by: Truman - Jul-22-2018, 10:58 PM - Forum: General Coding Help - Replies (2)

I wrote a simple password management program and have a problem to utilize it since I don't quite understand what batch file is and how to use it.
co..... More

Print this item

  Module help
Posted by: wak_stephanie - Jul-22-2018, 10:57 PM - Forum: Homework - Replies (12)

You have a thermostat that allows you to set the room to any temperature between 40 and 89 degrees.

The thermostat can be adjusted by turning a cir..... More

Print this item

  simple calculator
Posted by: shakeelthomas - Jul-22-2018, 10:24 PM - Forum: Homework - Replies (11)

When i enter both numbers it doesn't output calculation, it just skips to 'invalid'. Is there some sort of syntax error because I looked up other simi..... More

Print this item

  Control click to minimized window
Posted by: abdulrahmanok - Jul-22-2018, 10:14 PM - Forum: General Coding Help - Replies (4)

[size=medium]Hi Brothers,
I'm Struggling with send mouse click to minimized (Calc.exe) to specific area
in autoit I was just need to get handle win..... More

Print this item

  sometimes it fails with no messages
Posted by: Skaperen - Jul-22-2018, 10:11 PM - Forum: General Coding Help - Replies (2)

this script i have in file /usr/local/bin/cpp (the parent is in my PATH) which has two errors in i..... More

Print this item

  Error: Slicing a single date from Pandas
Posted by: cheerful - Jul-22-2018, 08:09 PM - Forum: Data Science - No Replies

Dear Experts,

I am using Python 3.6 and Pandas. My data looks like this:

SPY
2014-10-31 0.024425
2014-11-28 0.026894
2014-12..... More

Print this item

  Context Manager (with)
Posted by: wyattbiker - Jul-22-2018, 08:08 PM - Forum: General Coding Help - Replies (3)

So a Context Manager with statement class must have __enter__() and __exit__() .

For example file objects with will automatically clo..... More

Print this item

  iris dataset
Posted by: ahmed_moh - Jul-22-2018, 07:23 PM - Forum: Homework - No Replies

Hi
This code for iris data-set and This code was programmed by K Nearest_Neighbor


[python]
from scipy.spatial import dista..... More

Print this item

  the best way to handle the class "value"
Posted by: Levitanus - Jul-22-2018, 05:17 PM - Forum: General Coding Help - Replies (1)

Hi, I'm sorry for my noobies beforehand.

I'm trying to make an API to code generation, so some "variable objects" has to have behavior close to nor..... More

Print this item

  Reference counting mystery
Posted by: beezergeezer - Jul-22-2018, 05:07 PM - Forum: General Coding Help - Replies (4)

Consider this code:

[python]import gc

for i in range(10):
gc.collect()
if True:
all_objects = gc.get_objects()
print..... More

Print this item

  python format conversion
Posted by: bluefrog - Jul-22-2018, 02:52 PM - Forum: Homework - Replies (2)

Hi

I'm just wondering why I cannot print the following:
[python]#!/usr/bin/python3
some_integer = 10
some_string = "Hello World"
print("{some_i..... More

Print this item

  function not working
Posted by: tryingtolearnpython - Jul-22-2018, 11:53 AM - Forum: General Coding Help - Replies (2)

[python]def most_murderous(year):
# Assign most to a table of the most murderous states this year in ascending order.
data_for_year = murder..... More

Print this item

  Function to skip meta data in a .csv file using Python
Posted by: ajgardev - Jul-22-2018, 11:30 AM - Forum: General Coding Help - Replies (1)

I have a functioning code to skip the meta data in a .csv file using Python. However, I cannot understand what this part of the code is doing:

[pyt..... More

Print this item

  Joining two tables together
Posted by: tryingtolearnpython - Jul-22-2018, 11:29 AM - Forum: General Coding Help - No Replies

Hi everyone,

I did the following:

# The next lines are provided for you. They create a table
# containing only the Alaska information and one ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou noisefloor General Codin...
  Python compiler 3 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... 579507
  Tutorial Requ... 512929
  Web Scraping ... 442375
  Newbie with P... 386400
  New Users Int... 381774
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
StepanVoronin Today
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday

User Panel Messages

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